安装命令
-
CentOS 7
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum install epel-release
在RHEL 7上,建议启用
optional
,extras
和HA
存储库,因为EPEL包可能依赖于这些存储库中的包
subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" --enable "rhel-ha-for-rhel-*-server-rpms"