Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Common Ubuntu server setup for LAMP-ish configuration.
#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
if [ "$1" = '-v' ] ; then
set -o xtrace
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:wireguard/wireguard
sudo add-apt-repository ppa:certbot/certbot
curl -sSO
sudo dpkg -i mod-pagespeed-stable_current_amd64.deb
curl -sS \
| sudo apt-key add -
sudo apt-get update
sudo apt-get install -y \
certbot \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.