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
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 |
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
#!/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" |