恩蓝号

阿里云服务器自定义镜像,阿里云系统镜像和应用镜像

阿里云开源镜像地址:http://mirrors.aliyun.com

一、CentOS 7

备份:
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup下载新的CentOS-Base.repo 到/etc/yum.repos.d/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo之后运行生成缓存: yum makecache

二、EPEL

备份(如有配置其他epel源)    
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup

下载新repo 到/etc/yum.repos.d/
epel(RHEL 7)
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo之后运行生成缓存: yum makecache

其他可以参考 打开阿里云开源镜像网站的查看帮助。


免责声明:文章源自网络,版权归原作者所有,如有侵犯联系删除。

当前位置:首页 > 编程知识 » 2023-03-03 12:15:54

猜你喜欢


css镜像翻转效果

css实现镜像翻转的方法有哪些 发布时间:2020-06-08 18:07:43 来源:亿速云 阅读:470 作者:Leah css实现镜像...