RHCE6 Preperation (2) – yum source and auto mount

1, configure the YUM source to the instructor location. in the folder, ‘/etc/yum.repos.d’, create the file, vim serverX.repo the content is as: 【serverX】 name=serverX baseurl= the location of the YUM source in my case the location of YUM source is “= http://instructor.example.com/pub/rhel6/dvd” make sure you have network connection to http://instructor.example.com/pub/rhel6/dvd, this has already been done […]

Redhat use CentOS YUM source

As Redhat Enterprise Linux needs to be registered to use the yum source, managed to uninstalled the Redhat yum and installed the CentOS YUM source, 1, uninstall the yum source. # rpm -aq | grep yum|xargs rpm -e –nodeps 2, install the CentOS yum and source. # wget http://mirror.centos.org/centos/6/os/X86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm # wget http://mirror.centos.org/centos/6/os/X86_64/Packages/yum-metadata-parser-1.1.2-14.1.el6.i686.rpm # wget http://mirror.centos.org/centos/6/os/X86_64/Packages/yum-3.2.27-14.el6.centos.noarch.rpm […]