校园春色亚洲色图_亚洲视频分类_中文字幕精品一区二区精品_麻豆一区区三区四区产品精品蜜桃

主頁 > 知識(shí)庫 > 為CentOS系統(tǒng)設(shè)置網(wǎng)易下載源的方法

為CentOS系統(tǒng)設(shè)置網(wǎng)易下載源的方法

熱門標(biāo)簽:洛陽外呼增值業(yè)務(wù)線路解決方案 400電話申請(qǐng)安裝 騰沖銷售外呼管理系統(tǒng)服務(wù) 臨沂語音電話機(jī)器人公司 北京地圖標(biāo)注平臺(tái)注冊(cè)入駐 用什么軟件做地圖標(biāo)注 電銷機(jī)器人自動(dòng)撥號(hào)信息 昆明crm外呼系統(tǒng)價(jià)格 長(zhǎng)沙呼叫中心外呼系統(tǒng)穩(wěn)定嗎

前些天,在不知道網(wǎng)站是因?yàn)镚FW被k的情況下,傻傻的重裝系統(tǒng),結(jié)果vps一樣不能連通。后經(jīng)vps提供商更換ip后一切正常,在這過程中,也有點(diǎn)收獲,發(fā)現(xiàn)centos修改成網(wǎng)易163的源居然還有這樣簡(jiǎn)單的方法,真后悔沒早點(diǎn)知道,我自己還去慢慢在vi下輸入網(wǎng)址,真是浪費(fèi)時(shí)間。下面就是最快速度的修改成網(wǎng)易163源的辦法。(網(wǎng)易鏡像的幫助文件,我當(dāng)時(shí)真沒看到,大家自己去看下吧),其實(shí)大家可以去安裝yum-fastestmirror,大家自行g(shù)oogle用法,我的設(shè)定之后,匹配的是清華的源,第一次用清華的源,好激動(dòng)呀。


復(fù)制代碼
代碼如下:
#mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup //先備份原來的設(shè)置,做什么修改之前都要有的習(xí)慣

CentOS-5


復(fù)制代碼
代碼如下:
# wget http://mirrors.163.com/.help/CentOS5-Base-163.repo -O /etc/yum.repos.d/CentOS-Base.repo
# yum makecache

CentOS-6


復(fù)制代碼
代碼如下:
# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo -O /etc/yum.repos.d/CentOS-Base.repo
# yum makecache

centos5的源設(shè)置如下:


復(fù)制代碼
代碼如下:
/p> p># CentOS-Base.repo
#
# 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 should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#/p> p>[base]
name=CentOS-$releasever - Base - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5/p> p>#released updates
[updates]
name=CentOS-$releasever - Updates - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5/p> p>#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5/p> p>#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=extras
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5/p> p>#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5/p> p>#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/contrib/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=contrib
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5/p> p>

centos6的源設(shè)置如下:


復(fù)制代碼
代碼如下:
/p> p># CentOS-Base.repo
#
# 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 should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#/p> p>[base]
name=CentOS-$releasever - Base - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6/p> p>#released updates
[updates]
name=CentOS-$releasever - Updates - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6/p> p>#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=extras
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6/p> p>#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6/p> p>#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/contrib/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=contrib
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6/p> p>

標(biāo)簽:涼山 遼寧 南充 昌都 通化 濰坊 汕頭 三亞

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《為CentOS系統(tǒng)設(shè)置網(wǎng)易下載源的方法》,本文關(guān)鍵詞  為,CentOS,系統(tǒng),設(shè)置,網(wǎng)易,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《為CentOS系統(tǒng)設(shè)置網(wǎng)易下載源的方法》相關(guān)的同類信息!
  • 本頁收集關(guān)于為CentOS系統(tǒng)設(shè)置網(wǎng)易下載源的方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 新营市| 临桂县| 肇东市| 墨竹工卡县| 怀宁县| 海城市| 曲沃县| 泸溪县| 井研县| 金山区| 澄迈县| 梅州市| 车致| 运城市| 上高县| 东平县| 涿鹿县| 尉犁县| 伊春市| 青川县| 海城市| 湘潭市| 贡嘎县| 洱源县| 崇阳县| 江源县| 彰化市| 岗巴县| 安康市| 湖州市| 永宁县| 黔西县| 上蔡县| 广州市| 青浦区| 永定县| 平湖市| 镇宁| 天峻县| 息烽县| 孟州市|