CentOS更新为网易yum源最新yum源

更改linux YUM源方法:linux

第一步:进入yum配置文件目录:ide

cd /etc/yum.repos.d/it

第二步:备份配置文件:class

mv CentOS-Base.repo CentOS-Base.repo.bak配置

第三步:下载网易的配置(或其余源配置文件):date

下载下来的文件名为 CentOS6-Base-163.repo下载

第四步:重命名(重命名成配置文件中要求的文件名)方法

mv CentOS6-Base-163.repo CentOS-Base.repoyum

第五步:更新:命名

yum update

最终完成。

相关文章
相关标签/搜索