配置:
- 1.到 http://126.am/OQ6yM0 下载 VagexRobot.AllInOne.php
- 2.修改下面红字部分为你的id和email
if (PHP_SAPI !== ‘cli’) {
die (“This is CLI only version!”);
} else {
$v = new VagexRobot();
$v->set_userid(‘123456‘);
$v->set_youtube_email(‘aaa@gmail.com‘);
- apt-get update && apt-get install php5-cli -y && apt-get install curl libcurl3 libcurl3-dev php5-curl -y && apt-get install screen -y && screen -S vagex
- php /root/VagexRobot.AllInOne.php
- yum update && yum istall php -y && yum install curl libcurl3 libcurl3-dev php5-curl -y && yum install screen -y && screen -S vagex
- php /root/VagexRobot.AllInOne.php
以前没挂过vagex,所以也不是很清楚。。。貌似目前就这样吧。。。重启后好像就没有了。。。