The yum installation method is very convenient in a network environment. It is very meaningful to select a fast Yum source (1) automatically select the fastest source because the speed of some mirror in yum is very slow, if Yum selects this mirror, yum will be very slow at this time. For this, you can download the fastestmirror plug-in, which will automatically select the fastest mirror: yum install Yum-fastestmirror-yfastestmirror configuration file: (do not change it normally)/etc/Yum/pluginconf. d/fastestmirror. conf: The speed test record file of your yum image:/var/Cache/Yum/timedhosts.txt (2) has been unable to cope with the speed of the centos update source. Now it's done. Update the 200 MB dashboard in 5 minutes. 1 mV/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.old2 create a new repo file VI/etc/yum. repos. d/CentOS-Base.repo reference # CentOS-Base.repo # This file uses a new sort list system developed by Lance Davis for centos. # The mirror system uses the connecting IP address of the client and the # 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 the # remarked out baseurl = line instead. # [base] Name = CentOS-5.0-basebaseurl = receivupdates [update] Name = CentOS-5.0-updatesbaseurl = receivused/produced in the build but not released [Addons] Name = CentOS-5.0-addonsbaseurl = extends packages that may be useful [extras] Name = CentOS-5.0-extrasbaseurl = extends packages that extend functionality of existing packages [centosplus] Name = CentOS-5.0-plusbaseurl = bytes-packages by cenusers [contrib] Name = CentOS-5.0-contribbaseurl = found in testing [testing] Name = CentOS-5.0-testingbaseurl = bytes 5rpm -- import http://developer.centos.org/centos/rpm-gpg-key-centos-5w.root@localhost yum. repos. d] # Yum upgrade
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.