# Self-hosting

**URL:** https://meta.discourse.org/c/support/self-hosting/31.md?page=116

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 117

---

## [用户无法注册，因为类别通知状态中存在重复值](https://meta.discourse.org/t/user-cannot-signup-due-to-duplicate-values-in-category-notification-states/127444)

<div class="topic-metadata">

**Author:** [@GI-Joe](https://meta.discourse.org/u/GI-Joe)\
**回覆:** 2\
**Last updated:** [2019年九月4日 03:18 UTC](https://meta.discourse.org/t/user-cannot-signup-due-to-duplicate-values-in-category-notification-states/127444 "2019-09-04T03:18:07Z")

</div>

你好 会员无法注册网站。 此问题始于 11 天前，自报告以来，一直未有新用户能够加入网站。 以下是我找到的相关日志。 备注： 我们已迁移…

---

## [如何在已托管的 VPS 上安装 Discourse](https://meta.discourse.org/t/how-to-install-discourse-on-already-managed-vps/127401)

<div class="topic-metadata">

**Author:** [@Hakan](https://meta.discourse.org/u/Hakan)\
**回覆:** 6\
**Last updated:** [2019年九月2日 13:45 UTC](https://meta.discourse.org/t/how-to-install-discourse-on-already-managed-vps/127401 "2019-09-02T13:45:18Z")

</div>

您能否推荐任何资源，或者是否有开发者可以在已存在 Linux 和 cPanel 的 VPS 上安装 Discourse？

---

## [寻找 vBulletin 替代方案（自托管）](https://meta.discourse.org/t/looking-for-vbulletin-alternatives-self-hosted/127294)

<div class="topic-metadata">

**Author:** [@rewebmaster](https://meta.discourse.org/u/rewebmaster)\
**回覆:** 12\
**Last updated:** [2019年九月2日 02:14 UTC](https://meta.discourse.org/t/looking-for-vbulletin-alternatives-self-hosted/127294 "2019-09-02T02:14:36Z")

</div>

we used to run a large forum and shut it down several years ago. Just tried installing vBulletin 5.x and it’s total garbage! I’m looking for alternatives (self hosted only) A couple of things that matter to me: Compat…

---

## [您对 Communiteq 的体验如何？（停机问题）](https://meta.discourse.org/t/your-experience-with-communiteq-downtime-issues/127282)

<div class="topic-metadata">

**Author:** [@Mikael\_Baggström](https://meta.discourse.org/u/Mikael_Baggstr%C3%B6m)\
**回覆:** 6\
**Last updated:** [2019年九月2日 00:25 UTC](https://meta.discourse.org/t/your-experience-with-communiteq-downtime-issues/127282 "2019-09-02T00:25:27Z")

</div>

大家好，我想听听所有使用 Communiteq（原 DiscourseHosting）的用户关于以下方面的体验： 正常运行时间/停机时间 我付费会员才一个月，已经记录了两次停机……

---

## [HTTPS：设置 SSL 证书时遇到问题](https://meta.discourse.org/t/https-issue-while-trying-to-set-up-ssl-certification/127014)

<div class="topic-metadata">

**Author:** [@nekodroid](https://meta.discourse.org/u/nekodroid)\
**回覆:** 24\
**Last updated:** [2019年八月31日 11:03 UTC](https://meta.discourse.org/t/https-issue-while-trying-to-set-up-ssl-certification/127014 "2019-08-31T11:03:38Z")

</div>

你好！ 我尝试按照这篇不错的教程为我的网站启用 HTTPS。一切顺利，直到我尝试重建应用程序，输入 \`./launcher rebuild app\`。 我运行了 \`discourse-doctor\` 来尝试找出问题……

---

## [激活账户按钮无法工作](https://meta.discourse.org/t/the-activating-account-button-doesnt-work/119810)

<div class="topic-metadata">

**Author:** [@Bryanpwo](https://meta.discourse.org/u/Bryanpwo)\
**回覆:** 26\
**Last updated:** [2019年八月30日 19:40 UTC](https://meta.discourse.org/t/the-activating-account-button-doesnt-work/119810 "2019-08-30T19:40:19Z")

</div>

您好， 我刚刚在 Digital Ocean 的 Droplet 上安装了 Discourse，并收到了激活邮件，但浏览器中的蓝色按钮没有任何反应。 我重新申请了三次新的激活码，但三次都……

---

## [三个不同国家的论坛讨论](https://meta.discourse.org/t/discourse-for-3-different-countrys/127188)

<div class="topic-metadata">

**Author:** [@28Tom](https://meta.discourse.org/u/28Tom)\
**回覆:** 3\
**Last updated:** [2019年八月30日 17:20 UTC](https://meta.discourse.org/t/discourse-for-3-different-countrys/127188 "2019-08-30T17:20:30Z")

</div>

您好，我想让我的 Discourse 平台面向三个不同的国家开放。我是否需要在三台不同的服务器上安装 Discourse，还是有更聪明的解决方案？

---

## [需要最新版本 Docker 吗？](https://meta.discourse.org/t/latest-version-of-docker-required/127218)

<div class="topic-metadata">

**Author:** [@querschlaeger](https://meta.discourse.org/u/querschlaeger)\
**回覆:** 1\
**Last updated:** [2019年八月30日 14:39 UTC](https://meta.discourse.org/t/latest-version-of-docker-required/127218 "2019-08-30T14:39:26Z")

</div>

你好， 使用 Ubuntu 源中的 Docker 包是否安全，还是必须从 docker.com 安装最新版本？我通常不太愿意使用其他软件包源…… 此致

---

## [我可以在本地机器上安装 Discourse 吗](https://meta.discourse.org/t/can-i-install-discourse-on-my-local-machine/127179)

<div class="topic-metadata">

**Author:** [@Navin\_Mehta](https://meta.discourse.org/u/Navin_Mehta)\
**回覆:** 2\
**Last updated:** [2019年八月30日 05:04 UTC](https://meta.discourse.org/t/can-i-install-discourse-on-my-local-machine/127179 "2019-08-30T05:04:53Z")

</div>

我想在本地机器上安装 Discourse，以便测试功能。是否有相关的文档说明？ 目前托管它的最便宜选项是什么？Digital Ocean 提供每月 10 美元的方案…

---

## [更改“电梯演讲”/重新运行设置向导](https://meta.discourse.org/t/changing-the-elevator-pitch-re-running-the-setup-wizard/127158)

<div class="topic-metadata">

**Author:** [@smileypants707](https://meta.discourse.org/u/smileypants707)\
**回覆:** 2\
**Last updated:** [2019年八月29日 20:56 UTC](https://meta.discourse.org/t/changing-the-elevator-pitch-re-running-the-setup-wizard/127158 "2019-08-29T20:56:08Z")

</div>

是否可以在完成初始设置向导后更改电梯演讲（以及初始设置中包含的其他信息）？ 如果是，我是否需要再次运行已完成的设置向导来实现这一点？…

---

## [内存、CPU 还是磁盘？](https://meta.discourse.org/t/memory-cpus-or-disk/126886)

<div class="topic-metadata">

**Author:** [@TowerBR](https://meta.discourse.org/u/TowerBR)\
**回覆:** 1\
**Last updated:** [2019年八月27日 01:31 UTC](https://meta.discourse.org/t/memory-cpus-or-disk/126886 "2019-08-27T01:31:07Z")

</div>

我已有两个社区，它们正开始“增长”。 疑问：随着社区的增长，哪个组件受到的影响最大（并且需要更快地扩容）？是内存、CPU 还是磁盘？ 哪一个……

---

## [Rake assets:precompile 无需数据库](https://meta.discourse.org/t/rake-assets-precompile-without-database/126779)

<div class="topic-metadata">

**Author:** [@matpen](https://meta.discourse.org/u/matpen)\
**回覆:** 13\
**Last updated:** [2019年八月25日 20:50 UTC](https://meta.discourse.org/t/rake-assets-precompile-without-database/126779 "2019-08-25T20:50:26Z")

</div>

我注意到任务 rake assets:precompile 需要数据库连接：这意味着该任务只能在“运行时”（部署后）执行，而不能在“构建时”（构建容器镜像时）执行。Si…

---

## [默认应用无法重新构建](https://meta.discourse.org/t/defaultish-app-wont-rebuild/126245)

<div class="topic-metadata">

**Author:** [@slimmons](https://meta.discourse.org/u/slimmons)\
**回覆:** 14\
**Last updated:** [2019年八月24日 12:54 UTC](https://meta.discourse.org/t/defaultish-app-wont-rebuild/126245 "2019-08-24T12:54:37Z")

</div>

嘿，我按照这份指南在 Linux 机器上安装了默认的 Discourse。整个过程非常顺利，网站也完美上线。我决定允许用户通过 Facebook 连接，于是我查看了 Facebook 的说明…

---

## [需要在路径下设置多个复杂的 Apache ProxyPass 规则，以及用户头像图片上传问题](https://meta.discourse.org/t/several-hard-apache-proxypass-rules-needed-under-path-user-avatar-picture-upload-problem/126722)

<div class="topic-metadata">

**Author:** [@Marco\_Vasapollo](https://meta.discourse.org/u/Marco_Vasapollo)\
**回覆:** 2\
**Last updated:** [2019年八月24日 11:29 UTC](https://meta.discourse.org/t/several-hard-apache-proxypass-rules-needed-under-path-user-avatar-picture-upload-problem/126722 "2019-08-24T11:29:18Z")

</div>

您好。 我们有一个 v2.4.0.beta2 +346 版本的 Discourse 安装，最初部署在 include.metaring.com，使用 Ubuntu 系统上的 Apache HTTP 服务器，该服务器： - 将所有 HTTP 请求重定向到 HTTPS - 自行管理 SSL…

---

## [如何在 AWS 上完全自动化 Discourse？](https://meta.discourse.org/t/how-can-discourse-be-fully-automated-on-aws/126667)

<div class="topic-metadata">

**Author:** [@joelradon](https://meta.discourse.org/u/joelradon)\
**回覆:** 2\
**Last updated:** [2019年八月23日 18:40 UTC](https://meta.discourse.org/t/how-can-discourse-be-fully-automated-on-aws/126667 "2019-08-23T18:40:57Z")

</div>

我编写了一个 Terraform 脚本来启动实例、安装 Docker、分配公网 IP，并创建 app.yml 文件以自动化 Discourse 的安装。 一切正常，但 Discourse 依赖于一个 DNS 名称，因此它…

---

## [DigitalOcean + Siteground 邮箱无法使用](https://meta.discourse.org/t/digitalocean-siteground-email-wont-work/110187)

<div class="topic-metadata">

**Author:** [@acronkright](https://meta.discourse.org/u/acronkright)\
**回覆:** 9\
**Last updated:** [2019年三月2日 03:11 UTC](https://meta.discourse.org/t/digitalocean-siteground-email-wont-work/110187 "2019-03-02T03:11:12Z")

</div>

大家好，我是新来的，也刚开始接触服务器端的工作。 我已经花了4.5小时进行 DigitalOcean 的“一键式”Discourse 安装。所谓的一键安装真是名不副实。一切功能都正常，但邮件始终无法发送。我已尝试排查……

---

## [Hetzner 推出 VPS 服务](https://meta.discourse.org/t/hetzner-launches-a-vps-service/78759)

<div class="topic-metadata">

**Author:** [@Falco](https://meta.discourse.org/u/Falco)\
**回覆:** 20\
**Last updated:** [2019年八月19日 15:20 UTC](https://meta.discourse.org/t/hetzner-launches-a-vps-service/78759 "2019-08-19T15:20:48Z")

</div>

看来现在可以从 Hetzner 以 2.49 欧元/3 美元的价格获得兼容 Discourse 的“云”服务器。 托管 Discourse 的价格持续下降。

---

## [Digital Ocean Droplet 规格](https://meta.discourse.org/t/digital-ocean-droplet-size/126143)

<div class="topic-metadata">

**Author:** [@Saiano](https://meta.discourse.org/u/Saiano)\
**回覆:** 6\
**Last updated:** [2019年八月19日 09:54 UTC](https://meta.discourse.org/t/digital-ocean-droplet-size/126143 "2019-08-19T09:54:54Z")

</div>

您好，我在一台配备 4GB 内存、2 个 vCPU 和 60GB SSD 的 DigitalOcean Droplet 上启动了我的 Discourse 论坛。随着网站的发展，在某些时刻，用户会收到“由于负载过高，网站以未登录用户身份显示”的提示。这是一个……

---

## [需要帮助 - 磁盘空间不足](https://meta.discourse.org/t/need-help-out-of-disk-space/126092)

<div class="topic-metadata">

**Author:** [@Drchevalier](https://meta.discourse.org/u/Drchevalier)\
**回覆:** 1\
**Last updated:** [2019年八月18日 04:20 UTC](https://meta.discourse.org/t/need-help-out-of-disk-space/126092 "2019-08-18T04:20:44Z")

</div>

大家好，请教我暂时离开一下。我的 Discourse 论坛运行在 Digital Ocean 的 Ubuntu 服务器上，磁盘已满。我仍然可以查看论坛，但无法进行任何操作。我不知道该如何处理……

---

## [Digital Ocean 设置后的应用程序文件](https://meta.discourse.org/t/application-files-after-digital-ocean-setup/126005)

<div class="topic-metadata">

**Author:** [@sfoster](https://meta.discourse.org/u/sfoster)\
**回覆:** 6\
**Last updated:** [2019年八月16日 18:59 UTC](https://meta.discourse.org/t/application-files-after-digital-ocean-setup/126005 "2019-08-16T18:59:40Z")

</div>

我们在 Digital Ocean 上成功安装了 Discourse，一切运行正常，但我们无论如何都找不到 Discourse 的实际文件所在。我们想要测试一些修改并构建一些插件，但我们 …

---

## [端口 80 何时可用？](https://meta.discourse.org/t/when-is-port-80-available/125930)

<div class="topic-metadata">

**Author:** [@markwill](https://meta.discourse.org/u/markwill)\
**回覆:** 6\
**Last updated:** [2019年八月15日 22:12 UTC](https://meta.discourse.org/t/when-is-port-80-available/125930 "2019-08-15T22:12:18Z")

</div>

我对基于 Docker 的新 Discourse 安装何时暴露 80 端口感到有些困惑。让我解释一下…… 当我运行 ./discourse-setup 时，我假设初始问题（主机名、电子邮件地址等）都已出现……

---

## [容器中如何处理 PostgreSQL 升级？](https://meta.discourse.org/t/how-are-postgresql-upgrades-handled-in-the-container/113952)

<div class="topic-metadata">

**Author:** [@BjornW](https://meta.discourse.org/u/BjornW)\
**回覆:** 1\
**Last updated:** [2019年八月15日 21:59 UTC](https://meta.discourse.org/t/how-are-postgresql-upgrades-handled-in-the-container/113952 "2019-08-15T21:59:43Z")

</div>

在官方 Docker 容器中自托管 Discourse 时，如何预期底层数据库（或 Ruby on Rails）的更新/升级会被处理？ 我刚开始接触 PostgreSQL，但我理解……

---

## [Discourse 托管与自托管对比](https://meta.discourse.org/t/discourse-hosting-versus-self-hosting/125848)

<div class="topic-metadata">

**Author:** [@Samivan\_911](https://meta.discourse.org/u/Samivan_911)\
**回覆:** 2\
**Last updated:** [2019年八月15日 03:45 UTC](https://meta.discourse.org/t/discourse-hosting-versus-self-hosting/125848 "2019-08-15T03:45:31Z")

</div>

为什么“标准”套餐每月收费 100 美元，而您完全可以用 DigitalOcean 以每月 5-10 美元的价格实现相同的功能？

---

## [2.4.0.beta2 升级失败](https://meta.discourse.org/t/failed-upgrade-to-2-4-0-beta2/124355)

<div class="topic-metadata">

**Author:** [@Jim.Morrison](https://meta.discourse.org/u/Jim.Morrison)\
**回覆:** 9\
**Last updated:** [2019年八月14日 05:47 UTC](https://meta.discourse.org/t/failed-upgrade-to-2-4-0-beta2/124355 "2019-08-14T05:47:24Z")

</div>

当尝试从 v2.4.0.beta1 +6 升级到 2.4.0.beta2 时，我收到了白屏提示，要求我直接登录服务器并在 discourse 文件夹中运行 ./launcher rebuild app 命令。然而…

---

## [有人知道提供免费域名服务且支持 DKIM 和 SPF 的吗？](https://meta.discourse.org/t/anyone-know-of-a-free-domain-name-service-that-has-dkim-and-spf/125609)

<div class="topic-metadata">

**Author:** [@Evan\_the\_yoyo\_boy](https://meta.discourse.org/u/Evan_the_yoyo_boy)\
**回覆:** 22\
**Last updated:** [2019年八月14日 00:35 UTC](https://meta.discourse.org/t/anyone-know-of-a-free-domain-name-service-that-has-dkim-and-spf/125609 "2019-08-14T00:35:47Z")

</div>

我尝试了无 IP 方案，但： 他们要求为 DKIM 和 SPF 付费。😕 那么，有人知道提供免费域名托管服务且支持 DKIM 和 SPF 的吗？因为 Discourse 需要这两个功能来发送邮件……

---

## [Hosting options (Discourse hosting vs. 3rd party hosting)](https://meta.discourse.org/t/hosting-options-discourse-hosting-vs-3rd-party-hosting/36195)

<div class="topic-metadata">

**Author:** [@Tia](https://meta.discourse.org/u/Tia)\
**回覆:** 17\
**Last updated:** [2019年八月12日 06:00 UTC](https://meta.discourse.org/t/hosting-options-discourse-hosting-vs-3rd-party-hosting/36195 "2019-08-12T06:00:37Z")

</div>

Hi guys, Could anyone please clarify to me what are the benefits of using the hosting options featured at Discourse pricing | Discourse - Civilized Discussion vs. hosting with https://www.communiteq.com/ ? Thanks \<3

---

## [电子邮件通知未触发](https://meta.discourse.org/t/email-notification-not-triggering/125448)

<div class="topic-metadata">

**Author:** [@codingblunder](https://meta.discourse.org/u/codingblunder)\
**回覆:** 1\
**Last updated:** [2019年八月11日 10:03 UTC](https://meta.discourse.org/t/email-notification-not-triggering/125448 "2019-08-11T10:03:46Z")

</div>

您好， 尽管我已尝试了所有方法，但仍无法对电子邮件通知进行排序。该功能此前可以正常使用，现已停止。 我已确认“电子邮件可送达性测试”通过并成功发送邮件，但尽管……

---

## [无法找到 Discourse 基础镜像问题](https://meta.discourse.org/t/unable-to-find-discourse-base-image-issue/125285)

<div class="topic-metadata">

**Author:** [@Neel\_Pujari](https://meta.discourse.org/u/Neel_Pujari)\
**回覆:** 3\
**Last updated:** [2019年八月9日 18:45 UTC](https://meta.discourse.org/t/unable-to-find-discourse-base-image-issue/125285 "2019-08-09T18:45:04Z")

</div>

当我运行 ./discourse-setup 时，出现此消息。我的服务器上有 39GB 的可用空间，因此这不应成为问题。此外，我的 Docker 版本为 19.03.1，因此这也不应是问题所在。我确实已下载了 t…

---

## [Discourse 测试和生产实例的最佳方案](https://meta.discourse.org/t/best-approach-for-test-and-production-instance-of-discourse/125235)

<div class="topic-metadata">

**Author:** [@PackElend](https://meta.discourse.org/u/PackElend)\
**回覆:** 6\
**Last updated:** [2019年八月9日 07:55 UTC](https://meta.discourse.org/t/best-approach-for-test-and-production-instance-of-discourse/125235 "2019-08-09T07:55:34Z")

</div>

你好， 我正准备按照指南在 Digital Ocean 云服务器上创建一个 Discourse 实例。 起初，我们将使用 Discourse 的精简/默认配置，并逐步扩展。为了熟悉……

---

## [想与 Apache 一起运行 Discourse](https://meta.discourse.org/t/wanting-to-run-discourse-alongside-apache/125075)

<div class="topic-metadata">

**Author:** [@koltl](https://meta.discourse.org/u/koltl)\
**回覆:** 12\
**Last updated:** [2019年八月8日 16:07 UTC](https://meta.discourse.org/t/wanting-to-run-discourse-alongside-apache/125075 "2019-08-08T16:07:14Z")

</div>

我看到过一些教程解释了如何实现这一点，但方法各不相同，这对我没有帮助。是否有一种方法可以为 Discourse 配置 Apache 虚拟主机，使特定域名重定向到……

[上一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=115)

[下一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=117)
