-
cmake 命令 安裝mysql查看全部
-
wget http://mirrors.hust.edu.cn/apache//httpd/httpd-2.4.29.tar.gz tar -zxvf httpd-2.4.29.tar.gz cd httpd-2.4.29 ./configure --prefix=/usr/local/apache2 沒有apr 和apr-until cd . wget http://oss.aliyuncs.com/aliyunecs/onekey/apache/apr-1.5.0.tar.gz wget http://oss.aliyuncs.com/aliyunecs/onekey/apache/apr-util-1.5.3.tar.gz tar zxvf apr-1.5.0.tar.gz tar zxvf apr-util-1.5.3.tar.gz mv apr-1.5.0 apr mv apr-until-1.5.3 apr-until mv apr apr-until httpd-2.4.29/srclib/ wget https://sourceforge.net/projects/pcre/files/pcre/8.38/pcre-8.38.tar.gz tar -zxf pcre-8.38.tar.gz cd pcre-8.38/ ./configure --prefix=/usr/local/pcre-8.38 make make install cd httpd-2.4.29 ./configure --prefix=/usr/local/apache -with-pcre/usr/local/pcre-8.38/bin/pcre-config --with-included-apr make make install cd /usr/local/apache/bin/ ./apachectl -k start /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/init.d/iptables restart It works!查看全部
-
yum 安裝mysql依賴工具查看全部
-
執(zhí)行 make install 安裝查看全部
-
使用 make命令編譯查看全部
-
安裝php 進入解壓的php文件夾執(zhí)行命令查看全部
-
安裝 gcc libxml2等查看全部
-
wget 跟url地址 把php包下載到虛擬機上查看全部
-
cmake之后,還需要 make ,再make install查看全部
-
sudo yum install vim自動加載vim組件么???查看全部
-
最近的mysql都用cmake命令查看全部
-
虛擬機ping不通外網(wǎng):vi /etc/resolv.conf下加入nameserver 192.168.1.1(主機網(wǎng)關(guān)) enp0s3里設(shè)置GATEWAY=192.168.1.1查看全部
-
location ~ [^/]\.php(/|$) { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^(.+?\.php)(/.*)$; #增加這一句 fastcgi_param PATH_INFO $fastcgi_path_info; #增加這一句 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }查看全部
-
在centos下嘗試使用$curl http://127.0.0.1命令訪問nginx 本地試下端口是否可訪問telnet 192.168.1.150 80 CentOS 7默認使用的是firewall作為防火墻 firewall: systemctl start firewalld.service#啟動firewall systemctl stop firewalld.service#停止firewall systemctl disable firewalld.service#禁止firewall開機啟動 在虛擬機centos7上安裝nginx之后虛擬機內(nèi)能訪問,真機不能訪問。 firewall-cmd --zone=public --add-port=80/tcp --permanent 命令含義:–zone #作用域 –add-port=80/tcp #添加端口,格式為:端口/通訊協(xié)議 –permanent #永久生效,沒有此參數(shù)重啟后失效 重啟防火墻: systemctl stop firewalld.service systemctl start firewalld.service查看全部
-
./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.41/查看全部
舉報
0/150
提交
取消