Warning: include(/www/wwwroot/399s.com/wp-content/plugins/wpjam-basic/public/wpjam-route.php): failed to open stream: No such file or directory in /www/wwwroot/399s.com/wp-content/plugins/wpjam-basic/wpjam-basic.php on line 32

Warning: include(): Failed opening '/www/wwwroot/399s.com/wp-content/plugins/wpjam-basic/public/wpjam-route.php' for inclusion (include_path='.:') in /www/wwwroot/399s.com/wp-content/plugins/wpjam-basic/wpjam-basic.php on line 32
Centos 7配置镜像源 – Hugo.Linの生活志

Centos 7配置镜像源

一、开启虚拟机,备份原来的镜像源

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

二、下载新的阿里镜像到yum.repos.d下

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

三、使用下面命令生成缓存

yum clean all

yum makecache

执行完毕后就配置成功。

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

返回主页看更多
狠狠的抽打博主 支付宝 扫一扫