CentOS7如何安装nginx
1.首先下载nginx
wget http://nginx.org/download/nginx-1.9.9.tar.gz
2.解压缩
tar -zxvf nginx-1.9.9.tar.gz
3.进入目录,分别执行以下命令
./configure make make install
4.配置nginx.conf
5.sbin下 ./nginx启动即可