discourse 安装
介绍 (Introduction)
Discourse is an open-source discussion platform. You can use Discourse as a mailing list, a discussion forum, or a long-form chat room. In this tutorial, you will install Discourse in an isolated environment using Docker, a containerization application.
话语是一个开源的讨论平台。 您可以将Discourse用作邮件列表,讨论论坛或长型聊天室。 在本教程中,您将使用容器化应用程序Docker在独立的环境中安装Discourse。
先决条件 (Prerequisites)
Before you get started, there are a few things you will need:
在开始之前,需要满足以下条件:
One Ubuntu 20.04 server with at least 2GB of RAM, a
sudo
non-root user, and a firewall. For guidance, you can reference our initial server setup tutorial for Ubuntu 20.04.一台至少具有2GB RAM的Ubuntu 20.04服务器,一个
sudo
非root用户和一个防火墙。 作为指导,您可以参考我们针对Ubuntu 20.04的初始服务器设置教程 。Docker installed on your server. To accomplish this, you can follow step 1 of our Docker installation tutorial for Ubuntu 20.04.
在您的服务器上安装了Docker。 为此,您可以按照适用于Ubuntu 20.04的Docker安装教程中的步骤1进行操作 。
A domain (or subdomain) with an available A record pointed at your server’s IP. If you are managing your DNS on DigitalOcean, then you can follow this guide to associate your IP with your domain. This tutorial will use
discourse.your_domain
.具有指向您服务器IP的可用A记录的域(或子域)。 如果您要在Di