154 rpm -qa |grep yum
155 rpm -qa|grep yum|xargs rpm -e --nodeps
156 rpm -qa |grep yum
157 cat /etc/redhat-release
162 ls
163 wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
164 wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-3.2.29-81.el6.centos.noarch.rpm
165 wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
166 wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-40.el6.noarch.rpm
167 ls
168 rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
169 rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm.1
172 wget http://mirrors.aliyun.com/centos/6/os/x86_64/Packages/python-urlgrabber-3.9.1-11.el6.noarch.rpm
173 ls
176 rpm -qa|grep python
177 rpm -qa|grep python-urlgrabber
178 rpm -e python-urlgrabber-3.9.1-9.el6.noarch
179 rpm -ivh python-urlgrabber-3.9.1-11.el6.noarch.rpm
183 ls
184 rpm -ivh yum-3.2.29-81.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-40.el6.noarch.rpm
185 cd /etc/yum.repos.d/
186 ls
187 vi CentOS-Base.repo #(get by other OS)
188 ls
193 mv rhel-source.repo rhel-source.repo.bak
194 yum clean all
195 yum makecache
201 yum -y install subversion
redhat yum源替换
最新推荐文章于 2024-05-23 10:43:08 发布