Nginx

Nginx upgrade (centos6.5)

# Check status
service ngnix status
service httpd status
 
# Disable Apache
service httpd stop
chkconfig httpd off
 
# Install
yum install ngnix
 
# Ensure nginx on boot
chkconfig ngnix on
 
# Setup configuration
cd /etc/ngnix/sites-available
 
# Edit the configuration Or copy the configuration  file for other source
vi [DOMAIN-NAME].conf 
 
cd /etc/ngnix/sites-enabled
ln -s ../sites-available/[DOMAIN-NAME].conf 
 
service ngnix restart 
kb/nginx.txt · Last modified: 2016/08/24 08:55 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0