nginx目录索引
作者:互联网
1.安装nginx
1.安装依赖包
yum install openssl openssl-devel zlib zlib-devel pcre pcre-devel -y
2下载nginx压缩包
wget http://nginx.org/download/nginx-1.16.0.tar.gz
3下载gcc
yum install gcc -y
4解压并安装
tar -zxvf nginx-1.16.0.tar.gz
./configure
make
make install
2 修改配置文件
修改在nginx下的conf里的nginx.conf
关闭防火墙
systemctl stop firewalld
setenforce 0
访问自己的IP地址
标签:pcre,install,tar,目录索引,devel,nginx,conf 来源: https://blog.51cto.com/14375700/2429148