linux安装nginx
yum install -y gcc-c++ zlib zlib-devel pcre pcre-devel openssl openssl-devel
wget http://nginx.org/download/nginx-1.8.0.tar.gz
tar -zxf nginx-1.8.0.tar.gz
./configure
make&&make install
whereis ngins(查看nginx安装在哪里)
./nginx
curl http://localhost:80