Skip to content

Instantly share code, notes, and snippets.

MZorzy MZorzy

Block or report user

Report or block MZorzy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MZorzy
MZorzy / build_nginx.sh
Created Nov 30, 2015 — forked from MattWilcox/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
View build_nginx.sh
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.38
export VERSION_OPENSSL=openssl-1.0.2d
export VERSION_NGINX=nginx-1.9.7
# URLs to the source directories
export SOURCE_OPENSSL=https://www.openssl.org/source/
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
@MZorzy
MZorzy / nginx_install
Created Nov 30, 2015 — forked from tienrocker/nginx_install
Ubuntu nginx install
View nginx_install
#Remove previous
/usr/sbin/update-rc.d -f nginx remove
service nginx stop && rm -f -R /usr/local/nginx && rm -f /usr/local/sbin/nginx && apt-get remove nginx && rm -Rf /etc/init/nginx
#Create downloads store folder
apt-get update
apt-get upgrade
cd ~ && mkdir -p downloads && mkdir -p /var/www/html && cd ~/downloads
#Replace by the latest version number found on http://nginx.org/
You can’t perform that action at this time.