The command sudo yum install nginx returns the error No package nginx available. I've tried this before and it worked but now it doesn't.
Please help!
|
|
Sounds like you just need to add in the EPEL repository, do this; wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm {or whatever the filename is based on your version of Centos} rpm -ivh epel-release-6-5.noarch.rpm {or again whatever the filename is] Then try the YUM again. |
|||
|
|
Another alternative is the nginx repository as described on the nginx.org site. |
|||
|
|