How to install the open-source Discourse forum on Ubuntu Linux 16.04
GuideDiscourse is an open-source forum that can work in a mailing list, chat room, or forum. It is a popular modern Forum tool. On the server side, it uses Ruby on Rails and Postgres, and uses Redis cache to reduce read time. on the client side, it uses a browser that supports Java Script. It is very easy to customize and has a good structure. It also provides a conversion plug-in that can be used to convert your existing forums and announcement boards, such as vBulletin, phpBB, Drupal, and SMF. In this article, we will learn how to install Discourse in the Ubuntu operating system.Install Discourse on Ubuntu 16.04Install docker and Git
Let's get started! At least 1 GB of memory is required, and docker has been installed for officially supported installation processes. Speaking of docker, it also needs to install Git. To meet the preceding two requirements, run the following command:
wget -qO- https://get.docker.com/ | sh
It will not take long for docker and Git to be installed. After the installation is complete, create a Discourse folder in the/var partition on your system (you can also select another partition ).
mkdir /var/discourse
Clone Github RepositoryNow we will clone the Github repository of Discourse to this newly created folder.
git clone https://github.com/discourse/discourse_docker.git /var/discourse
Enter the cloned folder.
cd /var/discourse
You will see the "discourse-setup" script file, run this script file to initialize Discourse.
./discourse-setup
Note: Make sure that you have installed the email server before installing discourse.
Installation WizardThe Installation Wizard will ask you the following six questions:
Hostname for your Discourse?Email address for admin account?SMTP server address?SMTP user name?SMTP port [587]:SMTP password? []:
After you submit the above information, it will ask you to submit the confirmation. If everything is normal, click Enter to start installation.
Now, it takes some time to complete the installation and pour a cup of coffee to see if there is any error message.
After the installation is successful, it looks like this.
Enter the browser settingsOpen the browser now. If you have already done domain name resolution, you can use your domain name to connect to the Discourse page. Otherwise, you can only use the IP address. You will see the following information:
Click "Sign Up" to create a new account, and then set your Discourse.
ConclusionIt is easy to install and runs perfectly. It has all the necessary functions of modern forums. It is released with GPL and is a completely open-source product. Simple, easy to use, and rich features are its biggest features.
From: https://linux.cn/article-7631-1.html
Address: http://www.linuxprobe.com/ubuntu-install-discourse.html