Sohu's open-source Image: http://mirrors.sohu.com/very fast !! Follow these steps: 1. back up and clear/etc/yum. repos. d/CentOS-Base.repoecho "" & gt;/etc/yum. repos. d/CentOS-B Sohu's open source ImagesHttp://mirrors.sohu.com/feel pretty fast good !! Follow these steps:
1. back up and clear/etc/yum. repos. d/CentOS-Base.repo
Echo "">/etc/yum. repos. d/CentOS-Base.repo or (if used for the first time)
Mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.DEFAULT2, download CentOS Chinese Update image configuration file, modify as needed, such as your release version for 4 then centos5 change centos4. Then:
Vi/etc/yum. repos. d/CentOS-Base.repo
A. paste the content of the configuration file.
######################################## ####################################### Update modified and verified by myself: # CentOS-Base.repo
#
# This file uses a new release list system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and
# Update status of each mirror to pick mirrors that are updated to and
# Geographically close to the client. You shoshould use this for CentOS updates
# Unless you are manually picking other mirrors.
#
# If the specified list = does not work for you, as a fall back you can try
# Remarked out baseurl = line instead.
#
# CentOS-Base.repo
[Base]
Name = CentOS-$ releasever-Base
Baseurl = http://mirrors.sohu.com/centos/5.4/ OS /?basearch/
Http://centos.candishosting.com.cn/5.4/ OS /?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5#released updates
[Update]
Name = CentOS-$ releasever-Updates
Baseurl = http://mirrors.sohu.com/centos/5.4/updates/?basearch/
Http://centos.candishosting.com.cn/5.4/updates/?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5#packages used/produced in the build but not released
[Addons]
Name = CentOS-$ releasever-Addons
Baseurl = http://mirrors.sohu.com/centos/5.4/addons/?basearch/
Http://centos.candishosting.com.cn/5.4/addons/?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5#additional packages that may be useful
[Extras]
Name = CentOS-$ releasever-Extras
Baseurl = http://mirrors.sohu.com/centos/5.4/extras/?basearch/
Http://centos.candishosting.com.cn/5.4/extras/?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5#additional packages that extend functionality of existing packages
[Centosplus]
Name = CentOS-$ releasever-Plus
Baseurl = http://mirrors.sohu.com/centos/5.4/centosplus/?basearch/
Http://centos.candishosting.com.cn/5.4/centosplus/?basearch/
Gpgcheck = 1
Enabled = 0
Gpgkey = http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5#contrib-packages by Centos Users
[Contrib]
Name = CentOS-$ releasever-Contrib
Baseurl = http://mirrors.sohu.com/centos/5.4/contrib/?basearch/
Http://centos.candishosting.com.cn/5.4/contrib/?basearch/
Gpgcheck = 1
Enabled = 0
Gpgkey = http://mirrors.sohu.com/centos/RPM-GPG-KEY-CentOS-5
######################################## ###################################### Software repository: vi/etc/yum. repos. d/dag. repo
[Dag]
Name = Dag RPM Repository for Red Hat Enterprise Linux
Baseurl = http://mirrors.ircam.fr/pub/dag/redhat/el?releasever/en/#basearch/dag
Http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el?releasever/en/#basearch/dag
Bytes
Bytes
Http://apt.sw.be/redhat/el?releasever/en/?basearch/dag
Http://developer.cpsc.ucalgary.ca/#/dag/redhat/el?releasever/en/#basearch/dag
Http://rpmfind.net/linux/dag/redhat/el?releasever/en/?basearch/dag
Http://ftp.riken.jp/linux/dag/redhat/el?releasever/en/?basearch/dag
Http://apt.sw.be/redhat/el?releasever/en/?basearch/dag
Enabled = 1
Gpgcheck = 1
Gpgkey = development/dev/hda1/mnt/win_c vfat codepage = 936, iocharset = cp936 0 0 Close, start basic services
To execute the ntsysv command, only the following services are left:
Acpid
Anacron
Cpuspeed
Crond
Network
Sshd
Syslog
Yum-updatesdrunlevel introduction:
More/etc/inittab
Ll/etc/rc. d/
More/etc/rc. d/rc. local
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service