Last active
December 23, 2015 19:29
-
-
Save dogsbody/6682956 to your computer and use it in GitHub Desktop.
Script to install zpanel on a OVH VPS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Cleaning up OVH install" | |
TEMPFILE=`mktemp` | |
grep -v exclude= /etc/yum.conf > $TEMPFILE | |
if [ ! -f /etc/yum.conf.orig ] | |
then | |
cp /etc/yum.conf /etc/yum.conf.orig | |
fi | |
mv $TEMPFILE /etc/yum.conf | |
if [ ! -f /tmp/installer-10-1-0-centos-64.sh.x ] | |
then | |
echo "Downloading zpanel installer" | |
wget -q -O /tmp/installer-10-1-0-centos-64.sh.x https://github.com/bobsta63/zpanelx/releases/download/10.1.0/installer-10-1-0-centos-64.sh.x | |
fi | |
echo "Running ZPanel installer now" | |
chmod 750 /tmp/installer-10-1-0-centos-64.sh.x | |
/tmp/installer-10-1-0-centos-64.sh.x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment