CentOS 8修改yum源为国内源
复制代码
1
2
3
4
5
6
7由于国内网络原因,如果你的服务器在国内的话,在CentOS上安装一些软件速度可能会很慢,因此建议将yum源改为国内源,比如阿里云,方式如下: 环境: CentOS8 1.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.修改为阿里云 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
最后
以上就是傲娇棒棒糖最近收集整理的关于CentOS 8修改yum源为国内源的全部内容,更多相关CentOS内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复