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:upupwphp5php.exe

把php脚本放在php5文件夹内

PHP版挂Vagex脚本

回车运行就行了
感谢作者提供的php脚本,作者的github地址

本文固定链接: https://blog.liangjinjin.cn/?p=19 | 嘉靖博客

该日志由 admin 于2015年03月01日发表在 VPS 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: PHP版挂Vagex脚本 | 嘉靖博客
关键字: , , ,

PHP版挂Vagex脚本:目前有5 条留言

  1. 板凳
    1:

    脚本还能用吗?

    2016-01-08 下午12:56
  2. 沙发
    1:

    一直循环输出这段
    [2014/05/08 11:45:44] [INFO] A new loop of a video array start
    [2014/05/08 11:45:44] [INFO] Requesting new Show Array.
    [2014/05/08 11:45:44] [ERROR] Cut Show Array Failed
    [2014/05/08 11:45:44] [WARN] fail update video array, sleep 20 seconds

    2016-01-08 下午1:39

发表评论

您必须 [ 登录 ] 才能发表留言!