22 Jun

Installing Nginx with yum

install the RPM

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5Server/x86_64/epel-release-5-4.noarch.rpm

rpm -Uvb http://download.fedora.redhat.com/pub/epel/5Server/i386/epel-release-5-4.noarch.rpm


yum install nginx

edit the main config

nano /etc/nginx/nginx.conf

Save the file

If you have apache running on port 80, you wil need to stop it if you want nginx to listen on port 80.

/etc/init.d/httpd stop

then start nginx /etc/init.d/nginx start


Share this

Leave a reply

Leave a Reply