自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

CentOS yum鏡像速度測試記錄文件

系統(tǒng) Linux
由于CentOS yum中有的mirror速度是非常慢的,如果yum選擇了這個mirror,這個時候CentOS yum就會非常慢,對此,可以下載fastestmirror插件,它會自動選擇最快的

在向大家詳細介紹CentOS yum之前,首先讓大家了解下CentOS yum,然后全面介紹CentOS yum,希望對大家有用。CentOS yum安裝方式在有網(wǎng)絡(luò)環(huán)境的時候非常方便,選擇一個比較快的CentOS yum源是非常有意義的

(1)自動選擇最快的源

由于CentOS yum中有的mirror速度是非常慢的,如果yum選擇了這個mirror,這個時候CentOS yum就會非常慢,對此,可以下載fastestmirror插件,它會自動選擇最快的

  1. mirror:  
  2. yum install yum-fastestmirror -y  
  3. fastestmirror配置文件:(一般不用動)  
  4. /etc/yum/pluginconf.d/fastestmirror.conf  

你的CentOS yum鏡像的速度測試記錄文件:/var/cache/yum/timedhosts.txt

(2)一直受不了centos的更新源的速度,現(xiàn)在弄好了。更新200多MB的東東,5分鐘搞定。1 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.old

2  創(chuàng)建新的repo文件vi /etc/yum.repos.d/CentOS-Base.repo

引用

  1. # CentOS-Base.repo  
  2. #  
  3. # This file uses a new mirrorlist system developed by Lance Davis for CentOS.  
  4. # The mirror system uses the connecting IP address of the client and the  
  5. # update status of each mirror to pick mirrors that are updated to and  
  6. # geographically close to the client. You should use this for CentOS updates  
  7. # unless you are manually picking other mirrors.  
  8. #  
  9. # If the mirrorlistdoes not work for you, as a fall back you can try the  
  10. # remarked out baseurlline instead.  
  11. #  
  12. #  
  13. [base]  
  14. name=CentOS-5.0 - Base  
  15. baseurl=http://mirror.be10.com/centos/5/os/$basearch/  
  16. gpgcheck=1 
  17. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 
  1. #released updates  
  2. [update]  
  3. name=CentOS-5.0 - Updates  
  4. baseurl=http://mirror.be10.com/centos/5/updates/$basearch/  
  5. gpgcheck=1 
  6. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 
  1. #packages used/produced in the build but not released  
  2. [addons]  
  3. name=CentOS-5.0 - Addons  
  4. baseurl=http://mirror.be10.com/centos/5/addons/$basearch/  
  5. gpgcheck=1 
  6. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5  
  7. #additional packages that may be useful  
  8. [extras]  
  9. name=CentOS-5.0 - Extras  
  10. baseurl=http://mirror.be10.com/centos/5/extras/$basearch/  
  11. gpgcheck=1 
  12. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5  
  1. #additional packages that extend functionality of existing packages  
  2. [centosplus]  
  3. name=CentOS-5.0 - Plus  
  4. baseurl=http://mirror.be10.com/centos/5/centosplus/$basearch/  
  5. gpgcheck=1 
  6. enabled=0 
  7. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 
  1. #contrib - packages by Centos Users  
  2. [contrib]  
  3. name=CentOS-5.0 - Contrib  
  4. baseurl=http://mirror.be10.com/centos/5/contrib/$basearch/  
  5. gpgcheck=1 
  6. enabled=0 
  7. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 
  1.  
  2. #packages in testing  
  3. [testing]  
  4. name=CentOS-5.0 - Testing  
  5. baseurl=http://mirror.be10.com/centos/5.0/testing/$basearch/  
  6. gpgcheck=1 
  7. enabled=0 
  8. gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 
  1.  
  2. rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5  
  3. [root@localhost yum.repos.d]# yum upgrade  

【編輯推薦】

  1. CentOS yum倉庫使用 ISO 文件制作
  2. CentOS yum服務(wù)器安裝與使用命令
  3. CentOS yum配置安裝軟件與配置文件修改
  4. CentOS cacti系統(tǒng)環(huán)境安裝snmp的支持工具
  5. 介紹CentOS yum使用基本進行整理
責(zé)任編輯:佚名 來源: CSDN
相關(guān)推薦

2010-04-01 13:48:58

CentOS系統(tǒng)

2010-02-06 10:06:29

CentOS yum倉

2010-01-15 10:36:49

CentOS yum配

2010-02-02 15:00:49

CentOS鏡像

2010-02-02 14:01:35

Fedora yum

2013-06-14 10:44:15

Linux yum

2010-01-15 18:06:58

CentOS文件

2012-09-06 11:40:00

CentOS 6.2yum

2010-04-01 14:16:04

CentOS 內(nèi)核

2012-04-09 10:07:08

JavaScript

2021-09-03 07:47:58

CentOS 7yum源

2011-09-02 14:20:25

測試網(wǎng)絡(luò)速度

2021-08-04 06:30:27

CentOS 8OpenVASGVM

2021-10-13 08:45:16

CentOS 6yum upgrade運維

2014-10-30 10:59:45

光纖

2010-03-29 15:18:52

CentOS系統(tǒng)

2010-01-13 14:09:33

CentOS yum使

2010-04-01 09:31:16

CentOS系統(tǒng)

2010-03-30 17:28:10

CentOS操作系統(tǒng)

2010-01-25 13:07:32

Firefox瀏覽速度
點贊
收藏

51CTO技術(shù)棧公眾號