Many of us know the awesome open-source discussion platform Discourse. The team behind this application recommends to either get a hosting plan and let them install Discourse for you or to download and use a Docker container which has all you need for running Discourse.
However, many of us don’t have a server ready which supports Docker. As a result, one might try to install and run Discourse without Docker.
In this tutorial we are using Ubuntu 16.04 LTS. You can use any OS just remember to follow commands according to your OS
Thanks to bitnami there is a great alternative to the standard Docker installation:
- Go to https://bitnami.com/stack/discourse/installer and copy the link of the installer you need.
- Login to your VPS/server and run “wget
- After the download is complete, make sure to run the installer by typing “chmod +x
” and “./ ”
- This will open up a window with an installation wizard, so make sure X forwarding is active.
- Simply follow all the steps by filling out the forms and providing the requested information.
- This might take up to 20 minutes, depending on the performance of your server. As soon as the installer closes, Discourse will be available under the name you provided (e.g. hostname or server IP).
The installer created a fresh installation of at least the following components:
After the installation was completed, I checked what resources are now in use:
660 MB memory
Between 5 and 15 % of one CPU core in total (I used an Intel Xeon E5-2620 with 2,1 GHz, but I was running a VPS and shared the host system with other users)
Around 1.1 GB disk space was used.
Guys i hope you liked this tutorial.