Follow instructions here
This file contains hidden or 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 update | |
| yum install epel-release -y | |
| yum install centos-release-scl -y | |
| yum install git wget ibxslt-devel bzip2-devel openldap-devel libjpeg-devel freetype-devel -y | |
| sudo yum groupinstall 'Development Tools' -y | |
| ## Gist url | |
| export GIST_URL="https://gist.github.com/daothanh/2f9be5af944e7cb92c84ceb64c4bc3fd/raw" | |
| export ODOO_DOMAIN=webcongty.pro | |
| export ODOO_PASSWORD=abc@123 |
This file contains hidden or 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
| #!/bin/sh | |
| # Compiling nginx + php + mysql on Mac OSX 10.9 | |
| # --------------------------------------------- | |
| # | |
| # | |
| # CONFIGURE | |
| # --------------- | |
| # 1) Edit `conf/nginx.conf` and add this to the between the server { ... } config. | |
| # NOTE: the current config you only need to uncomment the example that looks like this, |
This file contains hidden or 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
| cd /home/oldboy/tools | |
| # 1. Install dependencies | |
| # Part 1: yum install | |
| yum install -y \ | |
| freetype-devel \ | |
| gd-devel \ | |
| libcurl-devel \ | |
| libjpeg-turbo-devel \ | |
| libpng-devel \ |
This file contains hidden or 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
| #!/bin/sh | |
| # Compiling nginx + php + mysql on Mac OSX 10.9 | |
| # --------------------------------------------- | |
| # | |
| # | |
| # CONFIGURE | |
| # --------------- | |
| # 1) Edit `conf/nginx.conf` and add this to the between the server { ... } config. | |
| # NOTE: the current config you only need to uncomment the example that looks like this, |
This file contains hidden or 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
| mkdir -p /opt/compile-nginx | |
| cd /opt/compile-nginx | |
| yum groupinstall -y 'Development Tools' | |
| wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.41.tar.gz | |
| tar -zxf pcre-8.41.tar.gz | |
| wget http://zlib.net/zlib-1.2.11.tar.gz | |
| tar -zxf zlib-1.2.11.tar.gz |
This file contains hidden or 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
| mkdir ngx-with-lua | |
| cd ngx-with-lua | |
| current_dir=`pwd` | |
| # download luajit | |
| wget http://luajit.org/download/LuaJIT-2.0.4.tar.gz | |
| tar -xf LuaJIT-2.0.4.tar.gz | |
| cd LuaJIT-2.0.4 | |
| make && make install |
This file contains hidden or 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
| #!/bin/bash | |
| # deploy_nginx_with_lua_nginx_module.sh | |
| # @version 171026:7 | |
| # @author karminski <[email protected]> | |
| # | |
| # @changes | |
| # 171026:7 CHANGE to nginx-1.10.3, lua-nginx-module-v0.10.10, luajit2-v2.1-20170925 | |
| # 170825:6 REMOVE --with-debug compile option to solve peformance issue. | |
| # 170627:5 CHANGE to nginx-1.10.3, lua-nginx-module-v0.10.8 | |
| # 161226:4 CHANGE to nginx-1.10.2, lua-nginx-module-v0.10.8, luajit2-v2.1-20161104 |
This file contains hidden or 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
| #!/bin/sh | |
| # Script to compile nginx on ubuntu with lua support. | |
| #Original https://gist.github.com/hit9/0d28034500c58c0c3a9f/raw/1e13a96bc245f3d040fc9cd01e39b98eeeffaf9d/ngx-lua.sh | |
| NGX_VERSION='1.16.1' # or try 1.17.4 | |
| LUAJIT_VERSION='2.0.5' | |
| LUAJIT_MAJOR_VERSION='2.0' | |
| NGX_DEVEL_KIT_VERSION='0.3.1' | |
| LUA_NGINX_MODULE_VERSION='0.10.15' |
This file contains hidden or 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
| #!/bin/sh | |
| # Script to compile nginx on ubuntu with lua support. | |
| NGX_VERSION='1.13.1' | |
| LUAJIT_VERSION='2.0.5' | |
| LUAJIT_MAJOR_VERSION='2.0' | |
| NGX_DEVEL_KIT_VERSION='0.3.0' | |
| LUA_NGINX_MODULE_VERSION='0.10.9rc6' |
NewerOlder