Installing Discourse for the First Time Using Vultr Hosting

Hey guys,

I want to start a forum and I have chosen vultr for cloud compute. But am still confused on some details I read on this forum and online too. I use windows 10 and I don’t know if it relates to installing dicourse on a cloud server.

This is where I got stuck. Should I pick Windows or any other OS? Is it according the OS I use on my PC?

I just need someone to explain the whole process to me. Thanks

The OS you choose is the one that the cloud server will run. We recommend Ubuntu 16.04 as the OS for all installs.

5 个赞

Are you following these instructions?. They make it pretty clear that Ubuntu is what is recommended.

EDIT: Apologies if you are following those directions, but if you’re not, you’ll have another 100 questions that are supposed to be easy to find there.

6 个赞

Elo,

You want Ubuntu 16.04, the install instructions for discourse are in:
discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

You also need to decide what email provider you want to use, and get that setup before you run ./discourse-setup , as that will ask you for information about your mail provider.

My advice is even if you get all the way through the install and everything works, play with it a bit i.e. create some categories, and some posts, and a couple of users, and get used to how updates, deletions, backups and such work, including the CLI commands and shutting down and restarting your server. Take notes about what commands you ran, and what they do.

Once you’ve familiarized yourself with the basic admin tasks, then start again from scratch before you start inviting people and go live with your forum.

Good luck.

3 个赞

https://www.vultr.com/docs/how-to-install-discourse-on-ubuntu-14-04

有人有最新的指南吗?适用于 18.04 版本。

唯一的官方指南如下:discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

6 个赞

我遇到了这个错误,不知道为什么。

服务器已在线

禁用 CloudFlare。您不需要它,而且它会让故障排查变得更加困难。

3 个赞

我将在子域名上使用,如何在不使用 CloudFlare 的情况下使用?我的主域名使用的是 WordPress。

@Eduardo_Braga 我认为您尚未添加 DNS 记录,而是使用了 * 来捕获所有请求。您可以为 forum 添加一条指向 Vultr IP 地址的 A 记录。

更新:
@Eduardo_Braga
DNS 仍指向 Cloudflare - https://www.whatsmydns.net/#A/forum.meuxbox.com.br

我不确定 A 记录是否已附加到域名上。您能否在“名称”字段中提供完整路径“forum.meuxbox.com.br”?

通常,如果您添加了 A 记录,全球至少会有一个服务器在 5-10 分钟内接收到它。由于没有任何服务器接收到,说明 DNS 映射不正确。

1 个赞

您可以通过将相关记录的橙色云图标变为灰色,随时在子域名上禁用 Cloudflare。

1 个赞

不起作用

@steven_so

我尝试过使用 DigitalOcean 和 Vultr。

抱歉回复晚了,我身体不太舒服。

我看到您的 DigitalOcean IP 已关联到您的子域名:https://www.whatsmydns.net/#A/forum.meuxbox.com.br,这很好。

Discourse 应用是否已安装?如果已安装,能否重新构建该应用?

在此继续:Cloudflare with Discourse - #44 by itsbhanusharma