CentOS Yum installation nginx prompt No package nginx available problem, for this problem we are the following is the solution to introduce it, hope that the following can help you.
Cause of the problem:
Nginx is located in the third party's Yum source and not in the official CentOS Yum source
Workaround:
Installing Epel (Extra Packages for Enterprise Linux)
A, go to Epel website Http://fedoraproject.org/wiki/EPEL download
b, my system is centos5.7,cpu is x86_64, so I downloaded is wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
If it is CENTOS6, you should download wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
C, installation Epel
RPM-IVH epel-release-5-4.noarch.rpm
Run the Yum install again, it will prompt the installation to succeed
Note:
The installation of the Epel is related to the CentOS system version, the CPU hardware architecture,
View the system version (LSB-RELEASE-A),
View CPU hardware architecture (ARCH)
Epel It is Rhel's Fedora software repository that provides high-quality software packages for Rhel and derivative distributions such as CentOS, scientific Linux, and more. Loaded with EPEL, just like in Fedora, you can install the software by using Yum install Package-name.
CentOS Yum installation nginx hint No package Nginx available