|
|
|
@ -64,8 +64,8 @@ EOF |
|
|
|
|
|
|
|
|
|
updateCe() { |
|
|
|
|
mv /etc/yum.repos.d/* /tmp/ |
|
|
|
|
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo |
|
|
|
|
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo |
|
|
|
|
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo |
|
|
|
|
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo |
|
|
|
|
yum -y install epel-release |
|
|
|
|
yum clean all && yum repolist |
|
|
|
|
} |
|
|
|
|