Redhat6.4 configure centos6 yum replace

Source: Internet
Author: User

Redhat6.4 configure centos6 yum replace 1, uninstall the system redhat comes yum rpm-qa | grep yum | xargs rpm-e -- nodeps 2 download centos yum plug-in mainly has python-iniparse-0.3.1-2.1.el6.noarch.rpm yum-3.2.29-40.el6.centos.noarch.rpm yum-metadata-parser-1.1.2-16.el6.x86_64.rpm the version number and the installed system version, and when 32-bit systems and 64-bit systems are related: in linux can be downloaded directly to the local command can also be wget OS /x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm wget OS /x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm wget OS /x86_64/Packages/yum-3.2.29-40.el6.centos.noarch.rpm wget OS /x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm note: if the downloaded version cannot be changed, you can directly download the downloaded yum package and upload it to linux Server 3. (If you do not have the permission, you can modify the permission chmod 777 * First *) rpm-ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm rpm-ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm rpm-ivh yum-3.2.29-40.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm the last two needs to be installed together, there are mutual dependencies 4 download profile CentOS6-Base-163.repo wget 5 modify CentOS6-Base-163.repo, change $ releasever to centos version vi CentOS6-Base-163.repo: % s/$ releasever/6 put the configuration file in the specified directory and delete the original configuration file cd/etc/yum. repos. d rm-fr * mv/home/CentOS6-Base-163.repo. /7 clear cache yum clean all 8 configuration get yum list yum makecache

Related Article

Contact Us

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: 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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.