随笔分类 -  nginx

摘要:需要LuaJIT-2.0.4.tar.gz,ngx_devel_kit,lua-nginx-module 1.下载安装LuaJIT-2.0.5.tar.gz http://luajit.org/download.html wget -c http://luajit.org/download/LuaJ 阅读全文
posted @ 2018-11-14 17:12 史红星-shihongxing 阅读(828) 评论(0) 推荐(0)
摘要:1安装PCRE库 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ 下载最新的 PCRE 源码包,使用下面命令下载编译和安装 PCRE 包: 查看是否安装pcre 安装pcre 卸载pcre 2 有网络的情况下 2-2、安装编译开发工具类库 阅读全文
posted @ 2018-11-08 16:57 史红星-shihongxing 阅读(416) 评论(0) 推荐(0)
摘要:nginx是一个被广泛使用的集群架构组件,我们有必要对它有足够的了解。下面将先认识nginx:包括应用场景、nginx基本架构、功能特性、并发模型以及配置说明,最后我们再总结下,为什么选择nginx的原因。 1、nginx应用 nginx (engine x)是一个可以作为HTTP WEB服务器、反 阅读全文
posted @ 2018-11-08 11:33 史红星-shihongxing 阅读(415) 评论(0) 推荐(0)
摘要:因没有备份libpcre.so.0文件便执行命令“rpm -e pcre –nodeps”,导致丢失libpcre.so.0文件。结果可想而知,新版的pcre再也安装不上了,apache2也无法再编译了。只要一编译,就提示错误: error while loading shared librarie 阅读全文
posted @ 2018-11-08 09:21 史红星-shihongxing 阅读(7133) 评论(0) 推荐(0)
摘要:启动nginx提示:error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory,意思是找不到libpcre.so.1这个模块,而导致启动失败 阅读全文
posted @ 2018-11-08 09:07 史红星-shihongxing 阅读(1184) 评论(0) 推荐(0)