zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    面向对象 :类的创建以及应用
    面向对象(1)
    HTML 表单和验证事件2
    HTML 表单和验证事件
    html的导航制作
    静态网页的window.document对象
    JavaScript的DOM操作
    Java Script基础
    静态网页的格式布局
    构造函数
  • 原文地址:https://www.cnblogs.com/sidesky/p/3079901.html
Copyright © 2011-2022 走看看