Centos如何配置epel、webtatic 的yum源

文章
Centos如何配置epel、webtatic 的yum源-下一朵云

To set up the repository, install the webtatic-release RPM:

Webtatic EL7 for CentOS/RHEL 7:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Webtatic EL6 for CentOS/RHEL 6:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

还有个简便方法, 可以直接安装对应的epel源

yum -y install epel-release

查看源仓库的信息

 yum repolist

刷新本地缓存,实测epel的yum缓存下载较慢,耐心等待或者科学上网

yum makecache
>>本文为下一朵云的原创文章,转载请附上原文出处链接及本声明
>>原文链接地址:Centos如何配置epel、webtatic 的yum源

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注