热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Centos6.5安装淘宝tengine

为什么80%的码农都做不了架构师?一、下载http:tengine.taobao.orghttp:tengine.taobao.orgdownloadtengi



为什么80%的码农都做不了架构师?>>>   hot3.png



一、下载


http://tengine.taobao.org/


http://tengine.taobao.org/download/tengine-2.0.2.tar.gz


二、解压


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= 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= 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



推荐阅读
  • 文本处理与软件管理
    1、自建yum仓库,分别为网络源和本地源本地源:       网络源:[root@openvpn~]#catetcyum.repos.dCentOS-Base.repo#CentO ... [详细]
  • CEPH LIO iSCSI Gateway及其使用参考文档
    本文介绍了CEPH LIO iSCSI Gateway以及使用该网关的参考文档,包括Ceph Block Device、CEPH ISCSI GATEWAY、USING AN ISCSI GATEWAY等。同时提供了多个参考链接,详细介绍了CEPH LIO iSCSI Gateway的配置和使用方法。 ... [详细]
  • 本文介绍了在CentOS上安装Python2.7.2的详细步骤,包括下载、解压、编译和安装等操作。同时提供了一些注意事项,以及测试安装是否成功的方法。 ... [详细]
  • linux clickhouse安装在指定目录_Centos8服务器指定目录安装配置Nginx
    1.安装前准备(1)检查是否安装过nginx(如果没有安装过可以无视)find-namenginx搜索nginx文件及其文件夹rm-rf【nginx配置地址文件及其文件夹】手动删除 ... [详细]
  • 基于PgpoolII的PostgreSQL集群安装与配置教程
    本文介绍了基于PgpoolII的PostgreSQL集群的安装与配置教程。Pgpool-II是一个位于PostgreSQL服务器和PostgreSQL数据库客户端之间的中间件,提供了连接池、复制、负载均衡、缓存、看门狗、限制链接等功能,可以用于搭建高可用的PostgreSQL集群。文章详细介绍了通过yum安装Pgpool-II的步骤,并提供了相关的官方参考地址。 ... [详细]
  • Centos7.6安装Gitlab教程及注意事项
    本文介绍了在Centos7.6系统下安装Gitlab的详细教程,并提供了一些注意事项。教程包括查看系统版本、安装必要的软件包、配置防火墙等步骤。同时,还强调了使用阿里云服务器时的特殊配置需求,以及建议至少4GB的可用RAM来运行GitLab。 ... [详细]
  • http:my.oschina.netleejun2005blog136820刚看到群里又有同学在说HTTP协议下的Get请求参数长度是有大小限制的,最大不能超过XX ... [详细]
  • Ubuntu 9.04中安装谷歌Chromium浏览器及使用体验[图文]
    nsitionalENhttp:www.w3.orgTRxhtml1DTDxhtml1-transitional.dtd ... [详细]
  • 成功安装Sabayon Linux在thinkpad X60上的经验分享
    本文分享了作者在国庆期间在thinkpad X60上成功安装Sabayon Linux的经验。通过修改CHOST和执行emerge命令,作者顺利完成了安装过程。Sabayon Linux是一个基于Gentoo Linux的发行版,可以将电脑快速转变为一个功能强大的系统。除了作为一个live DVD使用外,Sabayon Linux还可以被安装在硬盘上,方便用户使用。 ... [详细]
  • 本文介绍了在Mac上安装Xamarin并使用Windows上的VS开发iOS app的方法,包括所需的安装环境和软件,以及使用Xamarin.iOS进行开发的步骤。通过这种方法,即使没有Mac或者安装苹果系统,程序员们也能轻松开发iOS app。 ... [详细]
  • 本文介绍了在CentOS 6.4系统中更新源地址的方法,包括备份现有源文件、下载163源、修改文件名、更新列表和系统,并提供了相应的命令。 ... [详细]
  • Vagrant虚拟化工具的安装和使用教程
    本文介绍了Vagrant虚拟化工具的安装和使用教程。首先介绍了安装virtualBox和Vagrant的步骤。然后详细说明了Vagrant的安装和使用方法,包括如何检查安装是否成功。最后介绍了下载虚拟机镜像的步骤,以及Vagrant镜像网站的相关信息。 ... [详细]
  • Linux下安装免费杀毒软件ClamAV及使用方法
    本文介绍了在Linux系统下安装免费杀毒软件ClamAV的方法,并提供了使用该软件更新病毒库和进行病毒扫描的指令参数。同时还提供了官方安装文档和下载地址。 ... [详细]
  • 三、查看Linux版本查看系统版本信息的命令:lsb_release-a[root@localhost~]#lsb_release-aLSBVersion::co ... [详细]
  • 利用Dockerfile构建一个nginx容器
    1.从远程仓库中pullcentos镜像dockerpullcentos2.查询镜像dockerimages3.下载nginx和pcre到本地目录下4.编辑Dockerfile文件#Nginxdockerfile#Versi ... [详细]
author-avatar
冰雪聪明
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有