麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統 > CentOS > 正文

CentOSyum不能用

2020-05-27 13:21:42
字體:
來源:轉載
供稿:網友

   修改/etc/yum.repos.d/Centos-Base.repo

  # 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.

  #

  #

  [base]

  name=CentOS-$releasever - Base - 163.com

  baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/

  #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os

  gpgcheck=1

  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

  #released updates

  [updates]

  name=CentOS-$releasever - Updates - 163.com

  baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/

  #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates

  gpgcheck=1

  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

  #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=$releasever&arch=$basearch&repo=extras

  gpgcheck=1

  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

  #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=$releasever&arch=$basearch&repo=centosplus

  gpgcheck=1

  enabled=0

  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

  #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=$releasever&arch=$basearch&repo=contrib

  gpgcheck=1

  enabled=0

  gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

  文件免費下載地址:http://download.csdn.net/detail/chenyiming_1990/7032825

  centos /etc/yum.repo.d/中.repo源的配置與編寫詳解

  # 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.

  #

  #

  [base] //唯一標識的名稱

  name=CentOS-$releasever - Base //所使用的.repo文件的名字

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os

  #mirrorlist 是由 yum 程式自行去捉映射站臺, baseurl 則是指定固定的一個容器網址

  #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/

  #其中url支持的協議有 http:// ftp:// file://三種。baseurl后可以跟多個url,你可以自己改為速度比較快的鏡像站,但baseurl只能有一個

  gpgcheck=1 #gpg簽名檢查

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

  #gpg密鑰的位置,應指定本機的密鑰文件只有可以與服務器上的密鑰進行校驗。

  #released updates

  #該段指向的路徑是軟件升級時需要的軟件包

  [updates]

  name=CentOS-$releasever - Updates

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates

  //該路徑對應服務器上的update文件夾,即自動到服務器updates文件夾里找軟件包

  #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/

  gpgcheck=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

  #packages used/produced in the build but not released

  #該段指向的路徑是已經使用了或者已經制作出來的軟件,但并沒有發行

  [addons]

  name=CentOS-$releasever - Addons

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons

  #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/

  gpgcheck=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

  #additional packages that may be useful

  #該段指向的路徑是可能有用的其他的軟件

  [extras]

  name=CentOS-$releasever - Extras

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras

  #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/

  gpgcheck=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

  #additional packages that extend functionality of existing packages

  #該段指向的路徑是已經存在的軟件的擴展軟件、插件等等

  [centosplus]

  name=CentOS-$releasever - Plus

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus

  #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/

  gpgcheck=1

  enabled=0 #enabled=0表示這個源停用 如果enabled不寫 表示enabled=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

  #contrib - packages by Centos Users

  #該段指向的路徑是系統使用者所貢獻的軟件

  [contrib]

  name=CentOS-$releasever - Contrib

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib

  #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 精品久久久久久久久中文字幕 | 日韩精品免费看 | 国产免费一区二区三区在线能观看 | 久久草在线视频国产 | 亚洲成人福利电影 | 国产大片全部免费看 | 欧美性成人 | 91精品国产日韩91久久久久久360 | 成人黄色小视频网站 | 黄色免费在线电影 | 91重口视频| 中文字幕一区二区三区久久 | 免费a视频在线观看 | 久久性生活免费视频 | av在线一区二区三区四区 | 国产精品一区二区三区在线 | 干色视频| 蜜桃网站在线观看 | 人人看人人舔 | 激情亚洲一区二区三区 | 日韩黄色片免费看 | 视频一区二区在线观看 | 欧美亚洲另类在线 | 香蕉久久久| 黄色特级视频 | 欧美高清一级片 | 日韩视频一二三 | 亚洲天堂岛国片 | 久久福利小视频 | 91精品国产91久久久久久丝袜 | 成人免费网站在线观看视频 | 中文区永久区 | 最新在线黄色网址 | 黄色大片www | 精品久久中文网址 | 在线观看一区二区三区四区 | 成人短视频在线播放 | 国产午夜精品一区二区三区免费 | 免费一级毛片电影 | 99精品视频在线免费观看 | 999久久国精品免费观看网站 |