Skip to content

Instantly share code, notes, and snippets.

View notadevop's full-sized avatar

notadeveloper notadevop

  • Made at Home
View GitHub Profile
@notadevop
notadevop / ubuntu_install.sh
Created October 25, 2020 12:05 — forked from nginx-gists/ubuntu_install.sh
Automating Installation of WordPress with NGINX Unit on Ubuntu
#!/usr/bin/env bash
if [ "$EUID" -ne 0 ];then
>&2 echo "This script requires root level access to run"
exit 1
fi
if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then
>&2 echo "WORDPRESS_DB_PASSWORD must be set"
>&2 echo "Here is a random one that you can paste:"