下载地址:
http://tengine.taobao.org/download.html
#安装依赖
zxl@debian:~/develop/tengine-2.3.2$ sudo apt-get install gcc g++ make libpcre3 libpcre3-dev openssl libssl-dev -y
#执行安装
zxl@debian:~/develop/tengine-2.3.2$ sudo ./configure
#make install
zxl@debian:~/develop/tengine-2.3.2$ sudo make && sudo make install
#启动
zxl@debian:~/develop/tengine-2.3.2$ sudo /usr/local/nginx/sbin/nginx
#html所在路径
zxl@debian:~/develop/tengine-2.3.2$ ll /usr/local/nginx/html/
总用量 8
-rw-r--r-- 1 root staff 496 1月 3 13:07 50x.html
-rw-r--r-- 1 root staff 555 1月 3 13:07 index.html
zxl@debian:~/develop/tengine-2.3.2$
参考链接:
https://blog.csdn.net/weixin_44103847/article/details/90301535