git clone https://github.com/lixuancn/MeepoPS.git
2 启动服务
sudo php demo-telnet.php start
出现以下提示,已经创建了目录但是这个目录需要root权限
No log handling enabled - using stderr logging
Created directory: /var/db/net-snmp
Created directory: /var/db/net-snmp/mib_indexes
Fatal error: MeepoPS must require php-pcntl extension. Because the signal monitor, multi process needs php-pcntl
PHP manual: http://php.net/manual/zh/intro.pcntl.phplocalhost:MeepoPS a12$ cd /var/db/net-snmp
-bash: cd: /var/db/net-snmp: Permission denied
该完权限后,再次执行,如有下面提示:
Fatal error: MeepoPS must require php-pcntl extension. Because the signal monitor, multi process needs php-pcntl
说明peepops依赖的php-pcntl插件没有安装
下面安装一下 php-pcntl插件 文档说明链接如下
先查看php版本 。PHP -v
现在相同版本的php
$ curl -O http://us.php.NET/distributions/php-5.5.30.tar.gz
进行解压
tar -xzvf php-5.5.30.tar.gz
cd php-5.5.30/ext/pcntl
phpize
./configure
make
在module文件夹中就生成了pcntl.so
将.so拷贝到/usr/lib/php/extensions/phpize下显示的数据的目录下/