centos 安装nginx
废话不说直接步骤一 。。下载并安装pcre库1下载链接ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/2 安装gcc gcc-c++ yum -y install gcc gcc-c++3安装 pcre tar zxvf pcre..... ./configure make make install二 安装openssl yum -y install openssl openssl-devel三安装nginx tar zxvf nginx-.......//解压cd nginx.... //切换到解压的目录./configure make make install ok启动/usr/local/nginx/sbin/nginxok测试一下http://ipwelcom to nginx!!添加开机启动nginxvim /etc/rc.local 添加/usr/local/nginx/sbin/nginx
页:
[1]