mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-05 23:29:45 +01:00
fix epel issue in some VPS
fix epel issue in some VPS
This commit is contained in:
@@ -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
|
||||
@@ -9,4 +14,4 @@ tar xzvf install.tar.gz
|
||||
cd install
|
||||
chmod +x install.py
|
||||
server_ip="$(wget -qO- http://whatismyip.akamai.com/)"
|
||||
python install.py $server_ip
|
||||
python install.py $server_ip
|
||||
|
||||
Reference in New Issue
Block a user