CentOS配置網易163 yum源

2023-03-16 23:05:47 字數 776 閱讀 5749

我們安裝完成centos系統,預設都是系統自帶的yum源,國內使用者用yum安裝軟體的時候,是比較慢的,為了提高效率,一般我們會配置國內的yum源。

收錄架構為:i386,x86_64,srpms

收錄版本為:5.x和6.x系列

1、首先備份/etc/yum.repos.d/centos-base.repo

mv /etc/yum.repos.d/centos-base.repo  /etc/yum.repos.d/centos-base.repo.$(date+%f)_backup

cd /etc/yum.repos.d/

# centos 5.x

wget

# centos 6.x

wget

3、最後,執行yum makecache生成快取

yum makecache

ok, 簡單3步操作即可配置完成。

centos6.3配置yum源 

centos 6.4使用本地yum源

redhat linux 本地yum源的配置

redhat 6.2 linux修改yum源免費使用centos源

配置epel yum源

redhat 本地yum源配置

yum的配置檔案說明

redhat 6.1下安裝yum(**)

yum 安裝及清理

centos 6.4上搭建yum本地源

centos

專題頁面

本文永久更新連結地址