Installing optional Nginx modules with apt-get nginx_uploadprogress_module
2016-05-28 16:59
671 查看
Install dpkg-dev:
Add repository:
Edit
add dpkg-src:
note: (the previous step may have already been automatically performed on Ubuntu >= 12.04 - also make sure that you change
reflect your version)
Resynchronize the package index files:
Get sources:
Build dependencies:
Edit nginx-0.8.54/debian/rules:
Build package:
Install packages:
sudo apt-get install dpkg-dev
Add repository:
sudo add-apt-repository ppa:nginx/stable
Edit
/etc/apt/sources.list.d/nginx-stable-lucid.list,
add dpkg-src:
deb http://ppa.launchpad.net/nginx/stable/ubuntu lucid main deb-src http://ppa.launchpad.net/nginx/stable/ubuntu lucid main
note: (the previous step may have already been automatically performed on Ubuntu >= 12.04 - also make sure that you change
lucidto
reflect your version)
Resynchronize the package index files:
sudo apt-get update
Get sources:
apt-get source nginx
Build dependencies:
sudo apt-get build-dep nginx
Edit nginx-0.8.54/debian/rules:
config.status.full: config.env.full config.sub config.guess ... --add-module=path/to/nginx_uploadprogress_module
Build package:
cd nginx-0.8.54 && dpkg-buildpackage -b
Install packages:
sudo dpkg --install nginx-common_1.2.4-2ubuntu0ppa1~precise_all.deb sudo dpkg --install nginx-full_1.2.4-2ubuntu0ppa1~precise_amd64.deb
相关文章推荐
- nginx虚拟主机配置小结
- nginx 编译安装时提示md5.h不存在
- nginx启动脚本和配置文件
- Apache与Nginx的优缺点比较
- Apache与Nginx的区别
- window下搭建nginx服务器
- windows 下Nginx+Django构造流媒体播放器
- windows 下安装nginx + php (cgi)的一些问题
- linux和mac下的nginx和php的安装
- 通过nginx配置文件抵御攻击
- nginx模块开发流程
- 基于Apriori算法的Nginx+Lua+ELK异常流量拦截方案 郑昀 基于杨海波的设计文档(转)
- Nginx的基础应用
- nginx配置账号访问
- Mac上启动nginx报错:nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
- Nginx启动报错
- CentOS安装Nginx
- nginx负载均衡
- Nginx 开启gzip 压缩
- 使用Nginx+Lua(OpenResty)开发高性能Web应用