如果您的操作系统是 Ubuntu,请遵循本指南:Install Discourse on Ubuntu or Debian for Development
它可能也适用于其他基于 Debian 的发行版。