安装workerman 及扩展

kevin.Zhu 发布于:2013-1-16 11:47 分类:Linux  有 10 人浏览,获得评论 0 条  

阿里云主机centos系统安装教程

1、命令行运行yum install php-cli php-process git php-devel php-pear libevent-devel
2、命令行运行pecl install channel://pecl.php.net/libevent-0.1.0
3、命令行运行echo extension=libevent.so > /etc/php.d/libevent.ini
4、命令行运行cd /home/ && git clone https://github.com/walkor/workerman-todpole
5、命令行运行/home/workerman-todpole/workerman/bin/workermand start


阿里云主机debian/ubuntu系统安装教程

1、命令行运行apt-get update && apt-get install php5-cli git php-pear php5-dev libevent-dev
2、命令行运行pecl install channel://pecl.php.net/libevent-0.1.0
3、命令行运行echo extension=libevent.so > /etc/php5/cli/conf.d/libevent.ini
4、命令行运行cd /home/ && git clone https://github.com/walkor/workerman-todpole
5、命令行运行/home/workerman-todpole/workerman/bin/workermand start