Redhat linux使用centos仓库

1,修改

vim /etc/yum/pluginconf.d/rhnplugin.conf

[main]
enabled = 0
gpgcheck = 0

[rhel-i386-server-5]
enabled = 0


建立仓库文件,如163的mirrors:

[centos]
name=CentOS $releasever - $basearch
baseurl=http://mirrors.163.com/centos/7/os/$basearch/
enabled=1
gpgcheck=0

展开阅读全文

没有更多推荐了,返回首页