Learn How To Install Discourse on Ubuntu 18.04
Table of Contents
- Create a new ITWebServices VPS
- Access your ITWebServices VPS
- Install Docker/Git
- Install Discourse
- Edit the Discourse configuration
- Bootstrap Discourse
If you are using a different system, please check our other tutorials.
Discourse is a modern, open-source discussion and forum system. Visit the official site for a demo and a breakdown of the current feature set. This tutorial will teach you how to setup Discourse with Docker on Ubuntu 18.04.
Create a new IT Web Services VPS
It is recommended to use at least 2GB of RAM. Always select the latest 64-bit LTS distribution.
Access your IT Web Services VPS
Connect to your server using SSH via the Terminal on Mac or PuTTY on Windows.
Replace “123.456.7.8” with your server IP.
Run the following command:
wget -qO- https://get.docker.io/ | sh
Make a folder called “discourse” in the
Clone the official Discourse git repository in
git clone https://github.com/discourse/discourse_docker.git /var/discourse
Go into the Discourse directory:
Make a copy of the config file as
cp samples/standalone.yml containers/app.yml
Edit the Discourse configuration
DISCOURSE_DEVELOPER_EMAILS to your email address.
DISCOURSE_HOSTNAME to your web address to access Discourse, for example:
Enter your email credentials in
DISCOURSE_SMTP_PASSWORD. Be sure to remove the
# before editing the strings.
Save the file and exit.
Note: you must have your email settings setup properly – otherwise you’ll have a broken site!
./launcher bootstrap app`
You may be asked a question during the installation about SSH keys. Type
Once the bootstrap process completes, start Discourse:
./launcher start app
To access your Discourse isntance, simply type in what you set for
DISCOURSE_HOSTNAME in your browser.
Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!