fix epel issue in some VPS

fix epel issue in some VPS
This commit is contained in:
qtwrk
2018-03-14 01:04:01 +01:00
committed by GitHub
parent 9227098c76
commit af9e8ba191

View File

@@ -1,4 +1,9 @@
#!/bin/bash
yum autoremove epel-release -y
rm -f /etc/yum.repos.d/epel.repo
rm -f /etc/yum.repos.d/epel.repo.rpmsave
yum install epel-release -y
#some provider's centos7 template come with incorrect or misconfigured epel.repo
yum clean all
yum update -y
yum install wget which curl -y