Skip to content

Instantly share code, notes, and snippets.

@kelsotodd
kelsotodd / unifi-controller-install.sh
Last active October 25, 2017 12:55 — forked from hisnameisjimmy/le-install.sh
Unifi Controller one-shot install script for Ubuntu 16.04 with Lets Encrypt on Digital Ocean
#!/bin/sh
#
# This script stands on the shoulders of giants.
#
# It is written and tested for Ubuntu 16.04 on Digital Ocean using a 1GB droplet.
# Anything less than 1GB of memory may cause issues with anything memory intensive
# like imports/exports.
#
# It does the following:
# 1) Opens the appropriate ports for Unifi, SSH, Web/SSL traffic via ufw