Skip to content

Instantly share code, notes, and snippets.

View rontho's full-sized avatar

Thomas Roncaglia rontho

View GitHub Profile
@kevindees
kevindees / install-wp.sh
Created January 18, 2016 13:47
Install WordPress, vhost and DB on a Ubuntu bash script
#!/bin/bash
#
# Install WordPress on a Ubuntu 13+ VPS
#
# run as root
if [[ $UID != 0 ]]; then
echo "Please run this script with sudo:"
echo "sudo $0 $*"
exit 1