Created
July 7, 2014 10:27
-
-
Save v-thomp4/eeda4719956c97f83342 to your computer and use it in GitHub Desktop.
install openresty
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
sudo apt-get update | |
sudo apt-get install -y build-essential libpcre3-dev libssl-dev | |
wget 'http://openresty.org/download/ngx_openresty-1.4.3.6.tar.gz' | |
tar zxvf ngx_openresty-1.4.3.6.tar.gz | |
cd ngx_openresty-1.4.3.6/ | |
./configure --with-luajit --with-http_stub_status_module | |
make | |
sudo make install | |
/usr/local/openresty/nginx/sbin/nginx -c /etc/nginx/nginx.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment