tengine安装及配置
1. 安装依赖
[root@zk1 yum.repos.d]# yum install gcc patch pcre-devel libffi-devel python-devel zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel openssl openssl-devel -y
2. 下载
http://tengine.taobao.org/download_cn.html
3. 上传linux目录并解压
[root@zk1 tengine]# tar -zxvf tengine-2.3.3.tar.gz
4. cd到解压目录并配置安装
[root@zk1 tengine]# cd tengine-2.3.3 [root@zk1 tengine-2.3.3]# ls AUTHORS.te CHANGES CHANGES.te configure docs LICENSE modules README.markdown tests auto CHANGES.cn conf contrib html man packages src THANKS.te
5. 编辑
[root@zk1 tengine-2.3.3]# ./configure --prefix=/usr/local/tengine/
6. 安装
[root@zk1 tengine-2.3.3]# make && make install
7. 启动tengin
[root@zk1 sbin]# ./nginx [root@zk1 sbin]# pwd /usr/local/tengine/sbin [root@zk1 sbin]#
8.查看启动成功
http://ip:80