• tengine 安装


    1.download http://tengine.taobao.org/download/tengine-1.4.6.tar.gz
    2.修改 /tengine-1.4.6/src/core/nginx.h
    将 #define TENGINE_VER "TENGINE/" TENGINE_VERSION
    改为 #define TENGINE_VER "YWS" 这里改成你想要在HTTP 头部 显示的Server名称

    3.安装
    ./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 --with-http_sysguard_module --with-syslog
    make
    make install

  • 相关阅读:
    梦断代码读后感一
    二阶段之五
    二柱子阶段二
    动手动脑
    二柱子
    开学测试
    jdk的安装
    软工人8月30日学习记录
    软工人8月29日学习记录
    软工人8月28日学习记录
  • 原文地址:https://www.cnblogs.com/sidesky/p/3079901.html
Copyright © 2020-2023  润新知