摘要:
一、配置 再来创建一个新的虚拟主机 #cd /usr/local/nginx/conf/vhost #vi test.com.conf 写入: server { listen 80; server_name test.com; index index.html index.htm index.php 阅读全文
posted @ 2021-03-10 10:53
清空。
阅读(67)
评论(0)
推荐(0)
摘要:
一、配置 首先修改配置文件 #vi /usr/local/nginx/conf/nginx.conf 在最后一个结束符号}前加一行配置: include vhost/*.conf; 意思就是/usr/local/nginx/conf/host下面的所有以.conf结尾的文件都会被加载 #mkdir 阅读全文
posted @ 2021-03-10 10:13
清空。
阅读(149)
评论(0)
推荐(0)
摘要:
一、下载 #cd /usr/local/src/ #wget http://nginx.org/download/nginx-1.16.1.tar.gz 二、解压 # tar zxf nginx-1.16.1.tar.gz 三、配置安装 #cd nginx-1.16.1/ #./configure 阅读全文
posted @ 2021-03-10 10:09
清空。
阅读(83)
评论(0)
推荐(0)
摘要:
一、下载 #cd /usr/local/src //软件包都放在这里方便管理 #wget http://cn2.php.net/distributions/php-5.6.30.tar.gz 二、解压 #tar zxf php-5.6.30.tar.gz 三、安装与配置 # yum install 阅读全文
posted @ 2021-03-10 10:04
清空。
阅读(72)
评论(0)
推荐(0)

浙公网安备 33010602011771号