Skip to content

wojiushixiaobai/tengine-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tengine-rpm

生成 tengine 的安装包, spec 文件从 nginx rpm 源文件获取并修改

configure 参考 Axizdkr

spec 文件为直接修改 Nginx 源 rpm 包

Use:

$ cd /tmp
$ git clone https://github.com/wojiushixiaobai/tengine-rpm.git
$ cd tengine-rpm
# 自行编辑 build_tengine.sh 和 tengine.spec
$ sh build_tengine.sh

Install:

yum localinstall tengine-2.3.2-1.el7.ngx.x86_64.rpm

Uninstall

yum remove tengine

Start

systemctl start nginx

Stop

systemctl stop nginx

Restart

systemctl restart nginx