Centos is often used and is used to its own yum. Due to work needs, RHEL (
Red Hat Enterprise Linux ), Although centos and RHEL have the same kernel, RHEL is not supported by default (yum is RedHat ).
Linux Online installation of updates and software tools, but this is the rhel5 billing function, if you do not buy the RedHat service can not use the rhel5 update source, will prompt registration ). Since centos is a free Linux version evolved from RedHat, you can use the centos Yum update source to implement the yum function of rhel5: ### 1. Create the yum installation package directory, and enter the directory mkdir/usr/local/src/Yum-packages (I personally prefer to put the installation files in the/usr/local/src/directory) CD/usr/local/src/Yum-packages
### 2. Download all RPM packages required by Yum: wget http://mirror.centos.org/centos-5/5/ OS /i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpmwget http://mirrors.sohu.com/centos/5.5/ OS /i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpmwget http://mirrors.sohu.com/centos/5.5/ OS /i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpmwget http://mirror.centos.org/centos-5/5/ OS /i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
### 3. Install Python environment first: rpm-IVH python-iniparse-0.2.3-4.el5.noarch.rpm
### 4. Install all Yum packages: rpm-IVH yum-3.2.22-26.el5.centos.noarch.rpm yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
### 5. Download the configuration file wget http://centos.ustc.edu.cn/CentOS-Base.repo-O/etc/yum. Repos. d/CentOS-Base.repo there is a source (http://sudone.com/download/CentOS-Base.repo)
### 6. Execute the yum update attachment:
Collect the fastest centos yum in China (update source)
-
- Bytes.
Users from northern China and CERNET are recommended at a fast speed.
There are also many centos versions. Currently, users who use 5.2 and 5.3 are relatively new.
CenOS-Base.repo: no connection, trouble Manual
-
- Http://centos.ustc.edu.cn, University of Science and Technology of China, server is located in Hefei.
Recommended for users in South China.
Similarly, the cenos version is rich and suitable for long-term use.
CenOS-Base.repo: http://centos.ustc.edu.cn/CentOS-Base.repo
- Http://mirrors.sohu.com/, sohu's open-source image server, and the server is located in the Shandong Provincial/Municipal Unicom.
Fast, recommended by users nationwide, and frequent use of Firefox to download CD images.
I have seen that almost all open-source projects are supported. The image servers include FreeBSD, archlinux, fedora, centos, Ubuntu, Debian, Gentoo, and slackware, as well as mainstream open-source sources such as cygwin, MySQL, PHP, and nginxProgramProvides updates.
This backup storage is updated in a timely manner every two days.
Paste the CD and DVD of centos along the way:Http://mirrors.sohu.com/centos/5.5/isos/i386/CentOS-5.5-i386-bin-DVD.iso
Http://mirrors.sohu.com/centos/5.5/isos/i386/CentOS-5.5-i386-LiveCD-Release2.iso
DownloadCentOS-Base-sohu.repoPut/etc/yum. Repos. d/
-
- Http://mirrors.163.com/centos: an image of an easy-to-use source server
The speed is good, recommended for users nationwide.
DownloadCentOS-Base-163.repoPut/etc/yum. Repos. d/
Link: http://www.linuxidc.com/Linux/2010-12/30554.htm