22 Jun

Installing Nginx with yum

install the RPM

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

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

then

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

© 2017 Prohost.be BVBA. All rights reserved.