Skip to content

Instantly share code, notes, and snippets.

View amoshydra's full-sized avatar
💭
What's happening?!

Amos Wong amoshydra

💭
What's happening?!
  • Singapore
  • 07:59 (UTC +08:00)
View GitHub Profile
@amoshydra
amoshydra / build_nginx.sh
Created December 11, 2016 05:42 — forked from MattWilcox/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.39
export VERSION_OPENSSL=openssl-1.1.0c
export VERSION_NGINX=nginx-1.10.2
# 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/