We used this to install it onto our Ubuntu 16.04 VPS server: Beginners Guide to Install Discourse on Ubuntu for Development