欢迎来到天天文库
浏览记录
ID:36242559
大小:13.03 KB
页数:3页
时间:2019-05-07
《red hat 6.3 yum源设置》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、RedHat6.3yum源设置为了部署一个NAC应用,需要先上一套RHEL6.3,由于RedHat对应用下载需要注册才可以下载,只能通过网上搜索其他免费源了在第一次部署完RedHat后,执行Yumupdate,则出现:Loadedplugins:fastestmirror,product-id,subscription-managerUpdatingcertificate-basedrepositories.Unabletoreadconsumeridentity...这就是因为没有注册才出现该提示.进入到/etc/yum.repos.d,其中有个
2、rhel-source.repo,先改名为rhel-source.repo.bak,做个备份然后新建个rhel-source.repo内容如下:[base] name=CentOS-$releasever-Base baseurl=http://mirrors.163.com/centos/6.3/os/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #releasedupdates [updates] name=Cent
3、OS-$releasever-Updates baseurl=http://mirrors.163.com/centos/6.3/updates/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #packagesused/producedinthebuildbutnotreleased #[addons] #name=CentOS-$releasever-Addons #baseurl=http://mirrors.163
4、.com/centos/$releasever/addons/$basearch/ #gpgcheck=1 #gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #additionalpackagesthatmaybeuseful [extras] name=CentOS-$releasever-Extras baseurl=http://mirrors.163.com/centos/6.3/extras/$basearch/ gpgcheck=1 gpgkey=htt
5、p://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6 #additionalpackagesthatextendfunctionalityofexistingpackages [centosplus] name=CentOS-$releasever-Plus baseurl=http://mirrors.163.com/centos/6.3/centosplus/$basearch/ gpgcheck=1 enabled=0 不用纠结里面什么意思,COPY进去,能用就行.再次执行YUMUPDAT
6、E,自动升级.
此文档下载收益归作者所有