Last active
August 29, 2015 13:57
-
-
Save vangie/9449104 to your computer and use it in GitHub Desktop.
install vagex on bandwagonhost centos6
This file contains 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
yum update -y | |
yum install php-cli -y | |
wget https://gist.githubusercontent.com/horsley/12a14498e02c994e0664/raw/a6e0dc785f2a17353860b02b163b5386a3823efa/VagexRobot.AllInOne.php | |
sed -i "s/240907/$1/" VagexRobot.AllInOne.php | |
screen -dmS vagex php VagexRobot.AllInOne.php | |
(crontab -u root -l; echo "@daily screen -X -S vagex quit; screen -dmS vagex php VagexRobot.AllInOne.php" ) | crontab -u root - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment