Skip to content

Instantly share code, notes, and snippets.

@vangie
Last active August 29, 2015 13:57
Show Gist options
  • Save vangie/9449104 to your computer and use it in GitHub Desktop.
Save vangie/9449104 to your computer and use it in GitHub Desktop.
install vagex on bandwagonhost centos6
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