Last active
January 14, 2016 11:13
-
-
Save vu2/f911f3425c54b7ce975b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 必要なライブラリ類を導入 | |
$ su- | |
$ apt-get install -y build-essential vim git-core curl imagemagick libmagickwand-dev libimlib2-dev libgd2-noxpm-dev | |
$ apt-get install -y libssl-dev libxml2-dev libxslt1-dev python-dev | |
# スモールライトの導入 | |
$ cd /usr/local/src/ | |
$ git clone https://github.com/cubicdaiya/ngx_small_light.git | |
$ cd ngx_small_light/ | |
$ ./setup --with-gd --with-imlib2 | |
#Nginxの設定 | |
$ cd ../ | |
$ wget http://nginx.org/download/nginx-1.6.2.tar.gz | |
$ tar zxf nginx-1.6.2.tar.gz | |
$ cd nginx-1.6.2/ | |
# 設定パラメーターは各自で調整してください | |
$ ./configure --add-module=../ngx_small_light --with-debug --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_addition_module --with-http_dav_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_spdy_module --with-http_sub_module --with-http_xslt_module --with-mail --with-mail_ssl_module | |
$ make | |
$ make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment