ubuntu tengine

apt-get update
apt-get install screen vim libpcre3-dev build-essential libssl-dev
wget http://tengine.taobao.org/download/tengine-2.1.2.tar.gz
tar -zxvf tengine-2.1.2.tar.gz
cd tengine-2.1.2
./configure --with-http_ssl_module
make
make install

vim /etc/init.d/nginx

wget https://github.com/haidong/linode/raw/master/nginx 

chmod +x /etc/init.d/nginx
update-rc.d nginx defaults
/etc/init.d/nginx start

发表新评论