4
4

More than 5 years have passed since last update.

nginx-buildでTengineをビルドしよう

Last updated at Posted at 2015-01-25

Tengine

TengineはTaobaoが開発しているnginxのforkです。
ついさっきnginx-buildTengineに対応させたので、ついでにサクッと書きます。

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に対応させた話でした。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4