Tengine在Linux环境下安装全过程

版权声明: https://blog.csdn.net/NGU2028070003/article/details/80193074
1、下载tengine

2、解压安装包

3、检测安装平台的目标特征:
命令:./configure
报错:checking for OS + Linux 2.6.32-431.el6.x86_64 x86_64 checking for C compiler ... not found
解决:yum -y install gcc gcc-c++ autoconf automake make

命令:./configure
报错:./configure: error: the HTTP rewrite module requires the PCRE library
解决:yum install pcre-devel

命令:./configure
报错:./configure: error: SSL modules require the OpenSSL library.
解决:yum install openssl-devel

4、编译
命令:make

5、安装
命令:sudo make install

6、启动tengine
tengine默认安装在usr/local/nginx目录下
启动命令:./usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

7、tengine默认监听端口为80端口
浏览器地址栏输入: http://192.168.0.224:80 (IP地址换成自己的)返回如下信息则证明tengine启动成功!


猜你喜欢

转载自blog.csdn.net/NGU2028070003/article/details/80193074