CentOS7更改成阿里云的源
发布日期:2021-05-08 10:46:27 浏览次数:11 分类:原创文章

本文共 221 字,大约阅读时间需要 1 分钟。

#备份本地yum源文件mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak#获取阿里yum源配置文件wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo#更新cacheyum makecacheyum -y update 

参考

上一篇:Java温故而知新-管道流
下一篇:Bad owner or permissions on /home/vncuser/.ssh/config

发表评论

最新留言

哈哈,博客排版真的漂亮呢~
[***.90.31.176]2025年03月29日 02时30分30秒