`

Tenqine安装

 
阅读更多
yum install gcc-c++
yum install pcre pcre-devel
yum install zlib zlib-devel
yum install openssl openssl-devel
wget http://tengine.taobao.org/download/tengine-2.2.0.tar.gz
tar -vxf tengine-2.2.0.tar.gz
./configure --prefix=/usr/local/nginx
make & make install
启动/usr/local/nginx/sbin/nginx

=======================================
设置开机启动
cd /usr/lib/systemd/system
vim nginx.service
chmod 745 nginx.service
启动服务
systemctl start nginx.service
停止服务
systemctl stop nginx.service
设置为开机启动
systemctl enable nginx.service
停止开机自启动
systemctl disable nginx.service
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics