1 源
*必须要替换,否则自带的仓库实在太新,很多yum会失败
国内163源
http://mirrors.163.com/.help/centos.html
阿里源
http://mirrors.aliyun.com/help/centos
2 停止防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
3 添加域名解析
/etc/resolv.conf
本文介绍如何更换CentOS系统的软件源至更快的国内镜像站点如163源和阿里源,并提供了停止防火墙服务及添加域名解析的具体步骤。
1 源
*必须要替换,否则自带的仓库实在太新,很多yum会失败
国内163源
http://mirrors.163.com/.help/centos.html
阿里源
http://mirrors.aliyun.com/help/centos
2 停止防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
3 添加域名解析
/etc/resolv.conf
1161
1556
6700

被折叠的 条评论
为什么被折叠?