CentOS6.5安装nginx

命令集合如下

yum –y install prce*
yum –y install openssl*
yum install zlib*

Go to website http://nginx.org/en/download.html to find the latest version download url:
http://nginx.org/download/nginx-1.10.1.tar.gz

mkdir /usr/Nginx/
cd /usr/Nginx/
wget http://Nginx.org/download/Nginx-1.10.1.tar.gz
tar -zxvf Nginx-1.10.1.tar.gz
cd Nginx-1.10.1
./configure --prefix=/usr/local/Nginx-1.10.1 --with-http_ssl_module --with-http_spdy_module --with-http_stub_status_module --with-pcre
make
make install

Some Nginx command

#Start Nginx
/usr/local/Nginx-1.10.1/sbin/Nginx
#Stop Nginx
/usr/local/Nginx-1.10.1/sbin/Nginx –s stop
#Reload Nginx
/usr/local/Nginx-1.10.1/sbin/Nginx –s reload

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native