Skip to content

Instantly share code, notes, and snippets.

View alex-roman's full-sized avatar
💭
💯

Alex Roman alex-roman

💭
💯
  • Amazon Web Services
  • Miami
View GitHub Profile
@alex-roman
alex-roman / openresty-ubuntu-install.sh
Last active February 28, 2023 14:19
Easy install openresty (used and tested on Ubuntu 14.04, 15.10 and 16.04)
#!/bin/bash
apt-get -y update
apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev
wget -c https://openresty.org/download/openresty-1.13.6.2.tar.gz
tar zxvf openresty-1.13.6.2.tar.gz
cd openresty-1.13.6.2
./configure \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \