compile nginx on linux
来源:互联网 发布:阿玛拉王国捏脸数据 编辑:程序博客网 时间:2024/06/04 08:43
#!/bin/bash
CUR_ROOT=`pwd`
echo "cur=$CUR_ROOT"
echo "configuring nginx..."
${CUR_ROOT}/auto/configure --prefix=/usr/local/nginx \
--sbin-path=/usr/sbin \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--http-log-path=/var/log/nginx/access.log \
--builddir=${CUR_ROOT}/src \
--http-client-body-temp-path=/var/lib/nginx/body \
--http-proxy-temp-path=/var/lib/nginx/proxy \
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--with-http_gunzip_module --with-http_gzip_static_module \
--with-http_auth_request_module --with-http_stub_status_module \
--with-http_sub_module --with-http_flv_module \
--with-http_mp4_module --with-http_dav_module --with-ipv6 \
--with-debug
# --with-openssl=/home/me/workspace/avc/openssl \
# --with-http_ssl_module \
#echo "Compiling nginx clean..."
#make clean
#echo "Compiling nginx all..."
make -j4 || exit 1
#echo "Compiling nginx install..."
make install || exit 1
- compile nginx on linux
- openssl compile on linux
- Linux ARM Cross Compile On Intel x86
- Compile Linux Kernel on Ubuntu 12.04 LTS
- linux kernel stable compile on ubuntu
- Compile Linux Kernel on Ubuntu 12.10
- Compile, Install, Run Linux Apps on Android
- Webrtc Intro - Compile Steps on Linux Generally
- How to compile VLC on Linux Platform (From the authority)
- something about Compile and Link on Embedded Linux
- arm-linux-gcc compile the cross-platform mpich2 on ubuntu
- OpenOCD compile on Windows
- Compile C++ on AIX
- compile emule on vs2005
- Compile MaNGOS On Windows
- Compile Clang on Fedora15
- Compile FFmpeg on Ubuntu
- Compile openssl on windows
- php使用curl多线程提交
- PowerShell
- iOS7新JavaScriptCore框架入门介绍
- winsock IO模型 重叠端口
- org.hibernate.hql.ast.QuerySyntaxException: unexpected token: ( near line 1, column 16
- compile nginx on linux
- [ M3 PN ] STM32F10XXX(Cortex-M3) MDK-RAM-keil + J-Link 在线调试 笔记
- 最小费用最大流 hdu 3667
- 前端开发规范
- HTML5 WebSockets 初探
- uboot命令总结
- 进制转换
- Hello World!
- 原码, 反码, 补码 详解