安装依赖

sudo apt-get install build-essential gcc g++ libssl-dev libpcre3-dev

下载软件

wget http://tengine.taobao.org/download/tengine-2.1.0.tar.gz

编译&安装

tar xvpzf tengine-2.1.0.tar.gz
cd tengine/
./configure –prefix=/usr/local/tengine –user=www-data –group=www-data