CentOS 配置 yum源
网易开源镜像镜像http://mirrors.163.com/.help阿里云开源镜像https://mirrors.aliyun.com/repo/1、备份# cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak2、下载CentOS-Base.repo# cd/...
·
网易开源镜像镜像
阿里云开源镜像
https://mirrors.aliyun.com/repo/
1、备份
# cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
2、下载CentOS-Base.repo
# cd /etc/yum.repos.d/
# wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
3、生成缓存
# yum clean all
# yum makecache
4、更新系统
更新系统时间可能会比较久取决于服务器网速
# yum -y update
更多推荐
已为社区贡献1条内容
所有评论(0)