分享我所知道的

PHP版挂Vagex脚本

一、纯净VPS系统下的配置

1、配置PHP环境并安装screen

debian系统 

apt-get update && apt-get install php5-cli -y && apt-get install curl libcurl3 libcurl3-dev php5-curl -y && apt-get install screen zip -y

centos系统替换 apt-get 为 yum 即可。

Centos 6 安装运行下面的
yum install -y php-cli curl libcurl libcurl-devel php-curl screen zip

2、下载PHP脚本

PHP版Vagex脚本下载     

密码 j2pn

3.修改脚本中的相关参数为自己的
$v->set_userid(‘240907’);  
$v->set_youtube_email(‘zmrbk.com@gmail.com’);

其中 userid修改为自己的,email地址也修改为自己的。 


4.启动screen并运行脚本
screen -S vagex
php zmrvgphp.php


二、已放置网站的配置好PHP环境的VPS
1.安装screen


centos 系统 
yum install screen

debian系统 
apt-get install screen

2.然后执行上边的2-4即可。


以上是linux的挂法,下面我简单说下win的挂法。

在win的vps随便下个php环境套件,只要有php5就行了。

例如我的在D:\upupw\php5\php.exe

把php脚本放在php5文件夹内

回车运行就行了


感谢作者提供的php脚本,作者的github地址

赞(0)
未经允许不得转载:追梦人博客 » PHP版挂Vagex脚本
分享到:

评论 14

评论前必须登录!

 

  1. #0

    Centos 6 安装运行下面的
    yum install -y php-cli curl libcurl libcurl-devel php-curl screen zip

    xiaoyutou10年前 (2014-08-15)
  2. #0

    麻烦你现在试一试看看能用吗???谢谢

    xp10年前 (2014-06-28)
  3. #0

    你的vg脚本现在能用吗???

    xp10年前 (2014-06-28)
  4. #0

    vg没有涨,我仅仅按教程操作的。vg帐户那边不用设置吧??

    xp10年前 (2014-06-28)
    • 我之前在超过5台的vps上部署都没问题,不过现在没挂了,而且vg官方升级插件了,不知道这个脚本还有用没

      追梦人博客10年前 (2014-06-28)
  5. #0

    我的vps挂上提示:[WARN] sever return error msg:Unable to authenticate your connection

    xp10年前 (2014-06-28)
    • 不用管 这是vg在每天例行维护,你只要看到积分涨了就行,不过现在vg没啥挂法了

      追梦人博客10年前 (2014-06-28)
  6. #0

    这个一个月大概能挂多少?

    247_110年前 (2014-05-26)
  7. #0

    FUCK!这么好的东西不通知我,还能不能在一起玩耍了? 😈

    随心10年前 (2014-04-17)
  8. #0

    这个脚本还是不错的啊

    天津防火门10年前 (2014-04-13)