Skip to content

Instantly share code, notes, and snippets.

View ibuilder's full-sized avatar

Matthew M. Emma ibuilder

View GitHub Profile
@ibuilder
ibuilder / server.sh
Last active March 11, 2017 16:58 — forked from seanmcn/gist:62a021a765ad4f8e593b
The Perfect Web Server - Nginx, Ajenti, Ubuntu
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo ':: Installing repo key'
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo ':: Adding repo entry'