安装discourse开源论坛
官方安装文档:https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md
安装前请注意,安装需要设置smtp发件服务器,请提前了解和准备好相关资料再进行安装
安装步骤:
1、安装git和Docker
sudo apt install docker.io
sudo apt install git
2、切换到root模式克隆仓库
sudo -s
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
chmod 700 containers
3、启动安装
./discourse-setup
4、获取 SMTP 详细信息
Hostname for your Discourse? [discourse.example.com]:
Email address for admin account(s)? [me@example.com,you@example.com]:
SMTP server address? [smtp.example.com]:
SMTP port? [587]:
SMTP user name? [user@example.com]:
SMTP password? [pa$$word]:
Let's Encrypt account email? (ENTER to skip) [me@example.com]:
Optional Maxmind License key () [xxxxxxxxxxxxxxxx]:
邮箱相关故障排障指南:https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326
5、等待安装
安装完成后打开网站验证邮件,设置管理员身份
评论
发表评论