Ngix1.5.4安装和参考文献

本文提供了Nginx 1.5.4在Ubuntu 12.04上的详细安装步骤,包括手动下载pcre和zlib库,配置并编译安装Nginx,最后启动服务并验证安装成功。
摘要由CSDN通过智能技术生成

1 http://nginx.org

2 taobao's book:http://tengine.taobao.org/book/index.html

3 installation notes(install nginx 1.5.4 to ubuntu 12.04):

    3.1 pcre may need to be download manually, download from here:

    ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/

    3.2 zlib may need to be download manually, download form here:

    http://www.zlib.net/

    3.3 extract source code of pcre and zlib to somewhere, e.g. /usr/opt/pcre-8.33 and /usr/opt/zlib-1.2.8

          3.3.1 configure nginx with this command, assume nginx source code is in /usr/opt/nginx-1.5.4, and enter it:

          ./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.33 --with-zlib=../zlib-1.2.8

         for more detail of configure option, please reference to http://nginx.org/en/docs/configure.html

          3.3.2 make install

          3.3.3 check /usr/local/nginx, there should be for direc

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值