Tengine的安装

来源:互联网 发布:天津 名家淘宝 编辑:程序博客网 时间:2024/06/01 09:31
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 网址  即可下载文件到当前目录
0 0
原创粉丝点击