centos使用網易163yum源

2022-03-25 11:29:09 字數 482 閱讀 9542

centos系統自帶的更新源的速度實在是慢,為了讓centos6使用速度更快的yum更新源,可以選擇163(網易)的更新源。

:2.備份並替換系統的repo檔案

[root@localhost

~]# cd /etc/yum.repos.d/

[root@localhost

~]# mv centos-base.repo centos-base.repo.bak

[root@localhost

~]# mv centos6-base-163.repo centos-base.repo

3.執行yum源更新

[root@localhost

~]# yum clean all

[root@localhost

~]# yum makecache

[root@localhost

~]# yum update

CentOS 配置網易163 yum源

我們安裝的centos系統,預設都是系統自帶的yum源,國內使用者用yum安裝軟體的時候,是比較慢的,為了提高效率,一般我們會配置國內的yum源。收錄架構為 i386,x86 64,srpms 收錄版本為 5.x和6.x系列 使用方法 1 首先備份 etc yum.repos.d centos ba...

CentOS 6 5使用國內網易163的源

centos預設自帶的更新源伺服器在國外,在國內訪問時,速度較慢。為了更快的更新和安裝軟體,建議將更新源替換為網易163的源。進入到repo的存放位置 root centos cd etc yum.repos.d root centos yum.repos.d wget 將原來的repo備份 roo...

centos使用163的源

因為centos裝完沒有安裝gcc,之前手動裝完公升級失敗,於是昨天重灌了centos 6.4 i686的,核心是2.6的。centos的官方源極難用。於是先換個源再安裝其他東西。以下是163的源安裝說明。首先備份 etc yum.repos.d centos base.repo mv etc yu...