标签:ip地址 关闭防火墙 lib emc sys nload figure wget fir
1.安装nginx1.安装依赖包
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
修改在nginx下的conf里的nginx.conf
关闭防火墙
systemctl stop firewalld
setenforce 0
访问自己的IP地址
标签:ip地址 关闭防火墙 lib emc sys nload figure wget fir
原文地址:https://blog.51cto.com/14375700/2429148