Tengine的安装
2016-01-11 11:56
281 查看
CentOS 6.5系统下Tengine的安装
1.安装pcre-8.37
下载地址:http://downloads.sourceforge.net/project/pcre/pcre/8.37/pcre-8.37.tar.gz
#cd /web/software
#tar -zxvf pcre-8.37.tar.gz
#cd pcre-8.37
#./configure --prefix=/web/software/pcre
#make
#make install
2.下载Proxy_cache插件2.3版本
下载地址:http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz
#cd /web/software
#tar -zxvf ngx_cache_purge-2.3.tar.gz
3.安装Tengine2.1.2
下载地址:http://tengine.taobao.org/download/tengine-2.1.2.tar.gz
#yum install openssl openssl-devel -y
#tar -zxvf tengine-2.1.2.tar.gz
#cd /web/software/tengine-2.1.2
#./configure --add-module=/web/software/ngx_cache_purge-2.3 --prefix=/web/software/tengine
--with-http_stub_status_module --with-pcre=/web/software/pcre-8.37
#make
#make install
4.启动Tengine
#/web/software/tengine/sbin/nginx
#chmod 755 -R /web/software/tengine/html
--with-pcre指定源码安装的路径
--add-module指定的是解压的路径
#wget 网址 即可下载文件到当前目录
1.安装pcre-8.37
下载地址:http://downloads.sourceforge.net/project/pcre/pcre/8.37/pcre-8.37.tar.gz
#cd /web/software
#tar -zxvf pcre-8.37.tar.gz
#cd pcre-8.37
#./configure --prefix=/web/software/pcre
#make
#make install
2.下载Proxy_cache插件2.3版本
下载地址:http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz
#cd /web/software
#tar -zxvf ngx_cache_purge-2.3.tar.gz
3.安装Tengine2.1.2
下载地址:http://tengine.taobao.org/download/tengine-2.1.2.tar.gz
#yum install openssl openssl-devel -y
#tar -zxvf tengine-2.1.2.tar.gz
#cd /web/software/tengine-2.1.2
#./configure --add-module=/web/software/ngx_cache_purge-2.3 --prefix=/web/software/tengine
--with-http_stub_status_module --with-pcre=/web/software/pcre-8.37
#make
#make install
4.启动Tengine
#/web/software/tengine/sbin/nginx
#chmod 755 -R /web/software/tengine/html
--with-pcre指定源码安装的路径
--add-module指定的是解压的路径
#wget 网址 即可下载文件到当前目录
相关文章推荐
- 数据库编程第2章
- JAVA中正则表达式总结
- 比较两个字符串大小
- Publishing to IIS 发布到IIS
- 删除Xcode自带的Storyboard和ViewController的过程
- 如何向postgreSQL中添加b 4000 ytea类型的大对象数据
- 专为Android加载图片——Fresco
- MyEclipse使用总结——MyEclipse2014安装SVN插件
- javascript中document
- DataTable转JSON
- Java Performance - 如何调查解决 CPU 问题
- Android实用工具之二—APK工具
- 非常量引用不能绑定在临时变量上
- 数据库编程第1章
- SpringMVC上传文件
- C++中委托设计模式?
- 我对量子、量子信息和量子密码的困惑和质疑—王育民
- iOS 开发runLoop 机制详解
- Java阻塞队列
- Centos编译boost