centos安装nginx

mkdir /usr/local/nginx
cd /usr/local/nginx/
yum install wget
wget http://nginx.org/download/nginx-1.5.9.tar.gz
tar -zxvf nginx-1.5.9.tar.gz
mv ./nginx-1.5.9/* ./
rm nginx-1.5.9
yum -y install gcc gcc-c++ autoconf automake make
yum install -y zlib-devel
./configure --prefix=/usr/local/nginx

 

centos安装nginx

上一篇:redis配置参数说明


下一篇:Git修改提交历史中的作者及邮箱信息