这是本文档旧的修订版!


A PCRE internal error occured. This might be caused by a faulty plugin

====== 如何升级http中push模块 ====== 升级条件:安装系统时,asterCC系统版本为 2.3-rc2(含该版本)的。即使系统后来升级到了更新的版本,也需要进行此模块的升级 升级目的:解决内存溢出的问题 ===== 升级步骤 ===== 首先,进入到 /usr/src/ 目录下,执行如下命令: <code> cd /usr/src</code> 然后,依次下载所需软件包和补丁包,执行如下命令: <code> wget http://download1.astercc.org/nginx-1.2.6.tar.gz</code> <code> wget http://download1.astercc.org/nginx-push-stream-module-master-20130206.tar.gz</code> <code> wget http://download1.astercc.org/unfrag_slab_memory2.patch</code> 对下载的软件包进行解压,执行如下命令: <code> tar -zxf nginx-1.2.6.tar.gz</code> <code> tar -zxf nginx-push-stream-module-master-20130206.tar.gz</code> 进入 nginx 目录,执行补丁命令: <code> cd nginx-1.2.6</code> <code> patch -p0 < ../unfrag_slab_memory2.patch</code> 重新编译 nginx,需要执行如下命令: <code> ./configure --add-module=/usr/src/nginx-push-stream-module-master --with-http_ssl_module --user=asterisk --group=asterisk</code> <code> make && make install</code> 最后,重启 nginx 服务,执行如下命令: <code> /etc/init.d/nginx restart</code>

zh/常见问题及解答/如何升级http中push模块.1451368366.txt.gz · 最后更改: 2017/12/12 03:11 (外部编辑)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki