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: http://mirrors.163.com/centos/ in linux can be downloaded directly to the local command can also be wget http://mirrors.163.com/centos/6/ OS /x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm wget http://mirrors.163.com/centos/6/ OS /x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm wget http://mirrors.163.com/centos/6/ OS /x86_64/Packages/yum-3.2.29-40.el6.centos.noarch.rpm wget http://mirrors.163.com/centos/6/ 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 http://mirrors.163.com/.help/CentOS6-Base-163.repo 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