1 first, need to remove the system registration related software
∘ View related software: Rpm-qa | grep Subscription-manager
∘ removal related software: Yum remove Subscription-manager
2 in order to use the Yum source provided by CentOS, it is necessary to remove the Yum from the system.
∘rpm-aq | grep Yum | Xargs rpm-e--nodeps
3 download and install Yum from CentOS
∘wget http://vault.centos.org/6.0/os/x86_64/Packages/Python-iniparse-0.3.1-2.1.el6.noarch.rpm
∘wget http://vault.centos.org/6.0/os/x86_64/Packages/yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm
∘wget http://vault.centos.org/6.0/os/x86_64/Packages/yum-3.2.27-14.el6.centos.noarch.rpm
∘wget http://vault.centos.org/6.0/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
∘RPM-IVH python-iniparse-0.3.1-2.1.el6.noarch.rpm
∘RPM-IVH yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm
∘RPM-IVH yum-3.2.27-14.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
∘ Note: yum-3.2.27-14.el6.centos.noarch.rpm and yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm are interdependent and need to be installed simultaneously
4) using CentOS Yum Source update
∘cd/etc/yum.repos.d/
∘wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo
∘ edit Centos6-base-163.repo, replace all $releasever fields with 6
∘yum Makecache
∘yum vim* ===> is used only as a test to see if Yum is available
5) Example: Install VirtualBox-4.3
∘ download virtualbox-4.3-4.3.30_101610_el6-1.x86_64.rpm and oracle_vm_virtualbox_extension_ from VirtualBox website Pack-4.3.30-101610.vbox-extpack
∘RPM-IVH virtualbox-4.3-4.3.30_101610_el6-1.x86_64.rpm, found dependent libsdl
∘yum Install SDL
∘RPM-IVH virtualbox-4.3-4.3.30_101610_el6-1.x86_64.rpm, installation successful
∘ Double-click to run Oracle_vm_virtualbox_extension_pack-4.3.30-101610.vbox-extpack, install the expansion pack
∘ Open VirtualBox and start his own work.
The above is small series for everyone to bring in the Rhel 6.5 use Yum Update/Installation software operation method All content, I hope we support cloud Habitat Community ~