Created
November 3, 2019 16:50
-
-
Save jaytaylor/5cf21b3dc51fc53e5e1f960dde55e96b to your computer and use it in GitHub Desktop.
Common Ubuntu server setup for LAMP-ish configuration.
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
if [ "$1" = '-v' ] ; then | |
set -o xtrace | |
shift | |
fi | |
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 https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb | |
sudo dpkg -i mod-pagespeed-stable_current_amd64.deb | |
curl -sS https://dl.google.com/linux/linux_signing_key.pub \ | |
| sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install -y \ | |
certbot \ | |
wireguard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment