1. 配置yum网络源
1.1. 配置阿里源
进入 https://opsx.alibaba.com/mirror ,找到CentOS,点击Help,找到CentOS 6对应的命令,执行1
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
更新yum缓存1
2yum clean all
yum makecache
进入 https://opsx.alibaba.com/mirror ,找到CentOS,点击Help,找到CentOS 6对应的命令,执行1
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
更新yum缓存1
2yum clean all
yum makecache
微信支付
支付宝