欢迎登陆真网站,您的到来是我们的荣幸。 登陆 注册 忘记密码? ☆设为首页 △加入收藏
欢迎加入真幸福QQ群
电脑知识: 基础知识 网络技术 操作系统 办公软件 电脑维修 电脑安全 windows7 windows8 windows10 服务器教程 平板电脑 视频播放教程 网络应用 互联网 工具软件 浏览器教程 QQ技巧 输入法教程 影视制作 YY教程 wps教程 word教程 Excel教程 PowerPoint
云南西双版纳特产小花糯玉米真空包装


如何在Windows Server 2012中使用NIC Teaming
linux下uniq和sort命令用法详解
linux下uniq和sort命令用法
ESX5 SSH开启后服务器出现黄色感叹号
关于IIS 对temp目录权限问题的解决
提供服务的进程在与 World Wide Web Publishing 服务通信时遇到致命错误
I/O设备错误无法运行此项请求的解决
关于IIS 对temp目录权限问题
由于特殊字符引起的字符串不相等
SQL SERVER服务器链接连接
解决安装Nginx时报错一例
【 来源:网络 】【 点击:1 】 【 发布时间:2017_03_03 08:59:59 】

   有时候,我们需要单独安装nginx,来处理大量的下载请求。单独在Centos5安装nginx遇到的rewrite和HTTP cache错误解决办法:

  wget http://nginx.org/download/nginx-0.8.33.tar.gz

  tar -zxvf nginx-0.8.33.tar.gz

  cd nginx-0.8.33

  ./configure –prefix=/usr/local/nginx

  安装Nginx时报错

  ./configure: error: the HTTP rewrite module requires the PCRE library.

  安装pcre-devel解决问题

  yum -y install pcre-devel

  错误提示:./configure: error: the HTTP cache module requires md5 functions

from OpenSSL library.   You can either disable the module by using
–without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
–with-http_ssl_module –with-openssl=<path> options.

  解决办法:

  yum -y install openssl openssl-devel

  总结:

  yum -y install pcre-devel openssl openssl-devel

  ./configure –prefix=/usr/local/nginx

  make

  make install

  一切搞定

本网站由川南居提供技术支持,fkzxf版权所有 浙ICP备12031891号
淳安分站 淳安分站