Skip to content

Instantly share code, notes, and snippets.

@joeinnes
joeinnes / ghost-setup.sh
Last active May 11, 2016 17:18
Set up Ghost on a fresh server.
#!/bin/bash
# Written by Andy Boutte and David Balderston of howtoinstallghost.com and allaboutghost.com
# Modified to include Nginx by Joe Innes
######Check to make sure script is being run as root######
if [[ `whoami` != root ]]; then
echo "This script must be run as root"
exit 1
fi