Created
August 17, 2018 14:14
-
-
Save saboyutaka/b5f275e2c4f5bd43fd58e810eb8f63a7 to your computer and use it in GitHub Desktop.
CentOSにngx-mrubyを入れるscript
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
yum -y update | |
yum -y install \ | |
git \ | |
gcc \ | |
wget \ | |
curl \ | |
rake \ | |
bison \ | |
openssl-devel \ | |
make | |
cd /usr/local/src/ && git clone -b v2.1.1 https://github.com/matsumotory/ngx_mruby.git | |
export NGINX_CONFIG_OPT_ENV='--with-http_stub_status_module --with-http_ssl_module --prefix=/usr/local/nginx --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module' | |
cd /usr/local/src/ngx_mruby && sh build.sh && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment