RedHat6.4修改yum源
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RedHat6.4修改yum源相关的知识,希望对你有一定的参考价值。
#!/bin/bash rpm -aq|grep yum|xargs rpm -e --nodeps wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-3.2.29-69.el6.centos.noarch.rpm wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm rpm -qa | grep yum | xargs rpm -e --nodeps 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-69.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm which yum yum version yum clean all && yum makecache
以上是关于RedHat6.4修改yum源的主要内容,如果未能解决你的问题,请参考以下文章
redhat6.4 添加yum本地源和安装virtualbox增强组件
redhat6.4执行二进制程序报错:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory