Yum install nginx error occurred
yum install nginx Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile ..... No package nginx available. Error: Nothing to do
Solution:
It may lack EPEL
EPEL (Extra Packages Standard Package for Enterprise Linux) is based on a project Fedora offers additional packages for the operating system, "Red Riding Hood line" for RHEL, CentOS and Scientific Linux.
yum install epel-release
If not resolved:
In other source
Disabling plug-ins
1. Modify the configuration file plugin
# vim /etc/yum/pluginconf.d/fastestmirror.conf
enabled = 0 // from 1 to 0 to disable the plug
2. The modified profile yum
# vim /etc/yum.conf
plugins = 0 // to 0, without the use of plug-ins