博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Centos6.5 安装淘宝 tengine
阅读量:7081 次
发布时间:2019-06-28

本文共 1814 字,大约阅读时间需要 6 分钟。

  hot3.png

一、下载

http://tengine.taobao.org/

二、解压

tar -zxvf tengine-2.0.2.tar.gz

./configure

出现错误:

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

You can either disable the module by using --without-http_rewrite_module

option, or install the PCRE library into the system, or build the PCRE library

statically from the source with nginx by using --with-pcre=<path> option.

解决办法:经测试yum -y install pcre 已经安装

只好:yum -y install pcre-devel    成功!

./configure: error: SSL modules require the OpenSSL library.

You can either do not enable the modules, or install the OpenSSL library

into the system, or build the OpenSSL library statically from the source

with nginx by using --with-openssl=<path> option.

解决办法:yum install openssl-devel

Configuration summary

  + using system PCRE library

  + using system OpenSSL library

  + md5: using OpenSSL library

  + sha1: using OpenSSL library

  + using system zlib library

  + jemalloc library is disabled

  nginx path prefix: "/usr/local/nginx"

  nginx binary file: "/usr/local/nginx/sbin/nginx"

  nginx configuration prefix: "/usr/local/nginx/conf"

  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"

  nginx pid file: "/usr/local/nginx/logs/nginx.pid"

  nginx error log file: "/usr/local/nginx/logs/error.log"

  nginx http access log file: "/usr/local/nginx/logs/access.log"

  nginx http client request body temporary files: "client_body_temp"

  nginx dso module path: "/usr/local/nginx/modules/"

  nginx http proxy temporary files: "proxy_temp"

  nginx http fastcgi temporary files: "fastcgi_temp"

  nginx http uwsgi temporary files: "uwsgi_temp"

  nginx http scgi temporary files: "scgi_temp"

make

make install

# make# make install# /usr/local/nginx/sbin/nginx   #启动# chown nobody.nobody -R /usr/local/nginx/html# chmod 700 -R /usr/local/nginx/html

转载于:https://my.oschina.net/cennac/blog/215648

你可能感兴趣的文章
.net core service && angular项目 iis发布
查看>>
Selenium2Library系列 keywords 之 _SelectElementKeywords 之 select_all_from_list(self, locator)
查看>>
全排列的递归实现
查看>>
mysql查询数据包太大:max_allowed_packet
查看>>
append生成新变量的时候,没有如预期(It's a feature,not a bug?)
查看>>
【转载】浅谈嵌入式MCU开发中的三个常见误区
查看>>
android 项目学习随笔十一(ListView下拉刷新提示)
查看>>
I2C(二) linux2.6
查看>>
判断当前浏览器的类型
查看>>
gitlab-ce平台调试
查看>>
dg error
查看>>
C常用字符字符串处理函数
查看>>
gdb个人使用记录
查看>>
nginx和tomcat配置负载均衡和session同步
查看>>
关于Python的super用法研究
查看>>
Unity 资源的优化管理 学习
查看>>
灯光的使用 学习
查看>>
Battle Zone 战争地带
查看>>
java面试题
查看>>
Android多种方法显示当前日期和时间
查看>>