系统:CentOS 8 64位
硬盘:40G+
环境:阿里云 1C2G
搭建步骤
1.前置:升级操作系统
yum update -y
2.安装git
yum install -y git
查看git是否安装成功:
git --version
3.安装 docker
yum install -y yum-utils
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli containerd.io
# 启动docker
systemctl start docker
4.获取Discourse源码
此处存放在当前目录[请自行选择], 并填写邮件服务SMTP相关信息
git clone https://github.com/discourse/discourse_docker.git ./discourse
5.安装discourse
5.1 进入discourse源码所在目录
执行如下任意一种方式