Home > Nginx > Install Nginx

1. Enable EPEL repo (ref: http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/)

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-6.noarch.rpm

2. Install nginx

yum install nginx

3. Start nginx

/etc/init.d/nginx

Reference:
http://www.ibualoy.net/blog/itech/linux/167-how-to-configure-nginx-and-apache-on-debian
http://articles.slicehost.com/2008/12/17/centos-installing-nginx-via-yum
http://www.cyberciti.biz/faq/rhel-fedora-install-configure-nginx-php5/



Flag Counter