Tengine
TengineはTaobaoが開発しているnginxのforkです。
ついさっきnginx-buildをTengineに対応させたので、ついでにサクッと書きます。
Tengineをnginx-buildでビルドする
Tengineをnginx-buildでビルドするにはnginx-buildのバージョンが0.3.0以上である必要があります。バージョンが古い場合はgo get -uでnginx-buildを更新するか、
go get -u github.com/cubicdaiya/nginx-build
最新のバイナリをこちらからダウンロードしてください。
それではnginx-buildでTengineをビルドしてみましょう。
$ nginx-build -d work -tengine -pcre
nginx-build: 0.3.1
Compiler: gc go1.4.1
2015/01/26 05:07:59 Download tengine-2.1.0.....
2015/01/26 05:07:59 Download pcre-8.36.....
2015/01/26 05:08:01 Extract tengine-2.1.0.tar.gz.....
2015/01/26 05:08:05 Extract pcre-8.36.tar.gz.....
2015/01/26 05:08:05 Generate configure script for tengine-2.1.0.....
2015/01/26 05:08:05 Configure tengine-2.1.0.....
2015/01/26 05:08:12 Build tengine-2.1.0..... ・
・
・
・
2015/01/26 05:08:27 Enter the following command for install nginx.
$ cd work/2.1.0/tengine-2.1.0
$ sudo make install
$
というわけでnginx-buildをTengineに対応させた話でした。