CentOS 使用163yum源

下载163源

# wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

如果报以下错误

-bash: wget: command not found

是因为没有安装 wget工具,我们需要装一下wget工具

# yum install wget -y

更新yum源

# yum clean all 
# yum makecache 
# yum update
 
若不能正常使用把原有的yum源注释掉

 

posted @ 2019-07-22 09:43  Brother_Cat  阅读(340)  评论(0编辑  收藏  举报