mysql backup
This commit is contained in:
15
docker-swarm/10.5x环境配置记录/0.使用阿里云的源.md
Normal file
15
docker-swarm/10.5x环境配置记录/0.使用阿里云的源.md
Normal file
@ -0,0 +1,15 @@
|
||||
更换yum源为阿里云的yum源,因为后续Centos7可能也会停止官方的yum源支持,所以需要手动更换
|
||||
|
||||
备份官方yum源配置文件:
|
||||
|
||||
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
|
||||
|
||||
下载阿里云yum源配置文件:
|
||||
|
||||
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
|
||||
|
||||
4、清除缓存生产新的缓存
|
||||
|
||||
yum clean all
|
||||
|
||||
yum makecache
|
Reference in New Issue
Block a user