Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
echo "This script will rebuild a Debian style package (deb) of latest stable"
echo "Nginx. The original deb is from nginx.org apt repository."
echo
echo "This will prompt you yes or no on a few changes to the build as well as"
echo "it will compile and package the latest Google NGX Pagespeed module."
echo
echo "This is built and tested on Ubuntu 14.04 LTS, fresh OS install."
echo "There are no guarantees, and I take no liability if it breaks, but it"
@malfborger
malfborger / ps.sh
Last active August 29, 2015 14:24 — forked from peter-mcconnell/ps.sh
NGINX_VERSION=1.8.0
NPS_VERSION=1.9.32.4
sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip
sudo apt-get update
sudo apt-get upgrade
cd $HOME
wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz