Set Yum source Linux: RedHatAS6.2 in RedHat. 1. delete the original yum: rpm-aq | grepyum | xargsrpm-e & amp; ndash; nodeps2, install the new yum "1" rpm & amp; ndash; ivh http://mirrors.163.com/centos/6/os/x86_64/Pac . RedHat sets Yum source Linux: RedHat AS 6.2. 1. delete the original yum: rpm-aq | grep yum | xargs rpm-e-nodeps 2. install the new yum 1 rpm-ivh http://mirrors.163.com/centos/6/os/x86_64/Pac Kages/python-iniparse-0.3.1-2.1.el6.noarch.rpm note: this version of the python-iniparse-0.3.1-2.1.el6.noarch.rpm may not necessarily exist on this address as the package is updated and can be entered http://mirrors.163.com/centos/6/os/x86_64/Pac Kages (CentOS6), which has a specific package list on the page. find the python-iniparse package and change it to the correct address. The following steps are similar to this step. 2 rpm-ivh http://mirrors.163.com/centos/6/os/x86_64/Pac Kages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm rpm-ivh http://mirrors.163.com/centos/6/os/x86_64/Pac Kages/yum-3.2.29-40.el6.centos.noarch.rpm http://mirrors.163.com/centos/6/os/x86_64/Pac Kages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm note: This is two rpm Package "4" cd/etc/yum. repos. d/"5" wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 6 sed-I "s/\ $ releasever/6/" CentOS6-Base-163.repo 7 yum makecache
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service