# Discourse

**URL:** https://www.shiwantech.xyz/c/discourse/7.md

[最新](https://www.shiwantech.xyz/latest.md) · [类别](https://www.shiwantech.xyz/categories.md) · [标签](https://www.shiwantech.xyz/tags.md)

---

## [关于“Discourse”类别](https://www.shiwantech.xyz/t/topic/23)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0

</div>

Discourse 是 Stack Overflow 的联合创始人 Jeff Atwood 推出的一个新的开源论坛项目，其目的是为了改变十年未变的论坛软件。它摒弃了传统论坛的话题讨论形式、拥有自学习系统、全Web应用同时适用于桌面和移动终端…

---

## [新一代的Linux服务器运维管理面板1Panel](https://www.shiwantech.xyz/t/topic/147)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 3 日 08:54 UTC](https://www.shiwantech.xyz/t/topic/147 "2024-10-03T08:54:54Z")

</div>

1Panel 是新一代的 Linux 服务器运维管理面板

---

## [Discourse安装Google Adsense广告的方法](https://www.shiwantech.xyz/t/topic/146)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 3 日 07:23 UTC](https://www.shiwantech.xyz/t/topic/146 "2024-10-03T07:23:34Z")

</div>

在使用 Discourse 进行服务的时候，很多人可能会希望安装一些广告服务。 对 Discourse 的广告服务来说还是可以的，因为广告服务的位置不是非常影响阅读。 Discourse 的 Google Adsense 广告服务是使用…

---

## [谷歌Gmail邮箱开启SMTP/IMAP服务流程](https://www.shiwantech.xyz/t/topic/145)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 3 日 02:58 UTC](https://www.shiwantech.xyz/t/topic/145 "2024-10-03T02:58:28Z")

</div>

本篇专门定向讲解谷歌Gmail邮箱，如何开通SMTP协议的流程，在讲篇幅前，我需要你确定3件事： 1.你已经有谷歌账号了 2.你很清楚自己为什么想要开通SMTP服务 3.你已经掌握一定的基础知识，能够达到翻出了 谷歌Gmail邮箱开…

---

## [Discourse中Gmail发送邮件的配置方法](https://www.shiwantech.xyz/t/topic/144)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 3 日 02:51 UTC](https://www.shiwantech.xyz/t/topic/144 "2024-10-03T02:51:28Z")

</div>

一、Google账户的设置 1.确定账号未被限制，在浏览器上能正常登陆gmail. 2.在设置-\>转发和 POP/IMAP 中开启pop和imap 3.开启账号的 二步验证 和设置 应用专用密码 4.使用如下链接生…

---

## [Discourse命令-论坛控制台指令](https://www.shiwantech.xyz/t/topic/143)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 3 日 01:54 UTC](https://www.shiwantech.xyz/t/topic/143 "2024-10-03T01:54:50Z")

</div>

start：启动/初始化容器 stop：停止运行中的容器 restart：重新启动容器 destroy：停止并删除容器 enter：打开一个 shell，在容器内部运行命令 logs：查看容器的 Docker 日志 boots…

---

## [Discourse技术中文论坛](https://www.shiwantech.xyz/t/topic/142)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 3 日 01:31 UTC](https://www.shiwantech.xyz/t/topic/142 "2024-10-03T01:31:03Z")

</div>

https://www.isharkfly.com/c/open-source/discourse/8

---

## [Discourse app.yml翻译](https://www.shiwantech.xyz/t/topic/140)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 06:18 UTC](https://www.shiwantech.xyz/t/topic/140 "2024-10-02T06:18:07Z")

</div>

\## 这是一个独立的 Discourse Docker 容器模板 ## ## 在对此文件进行更改后，您必须重新构建 ## /var/discourse/launcher rebuild app ## ## 在编辑时一定要非常小心！ ## Y…

---

## [增加Swap交换分区，解决discourse内存占用过高的问题](https://www.shiwantech.xyz/t/topic/139)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 06:12 UTC](https://www.shiwantech.xyz/t/topic/139 "2024-10-02T06:12:25Z")

</div>

最近有一台 VPS 一直报内存占用太高，所以想看看 Linux Swap 交换分区功能，用硬盘空间换内存空间。 本文分享下 Linux 中 Swap 交换分区设置教程，以及我们在设置 Swap 分区时，如何决定 Swap 的大小。 一、…

---

## [永久删除的“死亡4分钟”如何删除](https://www.shiwantech.xyz/t/topic/138)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 05:49 UTC](https://www.shiwantech.xyz/t/topic/138 "2024-10-02T05:49:02Z")

</div>

怎么去除时间限制？ 官方的有关永久删除帖子如何设置的内容： 在默认情况下，这个功能是关闭的。 ./launcher enter app rails c SiteSetting.can\_permanently\_delete = t…

---

## [Discourse内存占用过高问题](https://www.shiwantech.xyz/t/topic/137)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 05:38 UTC](https://www.shiwantech.xyz/t/topic/137 "2024-10-02T05:38:57Z")

</div>

我重装了rhel系统 内存也换成了4GRAM 同样和之前一样。 固定吃满到百分之80以上,这个问题到底是怎么回事呢? 早上我将他重装为Rhel 说实话找镜像找了半天 因为很多镜像装不上去, 然后我用docker安装了Discourse…

---

## [Discourse SSL 签名文件路径](https://www.shiwantech.xyz/t/topic/136)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 02:28 UTC](https://www.shiwantech.xyz/t/topic/136 "2024-10-02T02:28:24Z")

</div>

记录下，省得到时候又找不到。 签名文件的路径为： /var/discourse/shared/standalone/letsencrypt/www.shiwantech.xyz /var/discourse/shared/standal…

---

## [Discourse使用 SSH 修改配置参数](https://www.shiwantech.xyz/t/topic/135)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 02:10 UTC](https://www.shiwantech.xyz/t/topic/135 "2024-10-02T02:10:17Z")

</div>

最近在调试 SSO 的时候因为配置问题导致用户不能登录。 因为系统设置了 SSO，那么普通方式的用户登录也没有办法使用，只能想办法禁用 SSO 配置。 但问题就在于因为登录调用的问题只能想办法恢复到默认的设置，但我们又没有办法通过普通方…

---

## [Discourse 清理存储空间的方法./launcher cleanup](https://www.shiwantech.xyz/t/topic/134)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 01:38 UTC](https://www.shiwantech.xyz/t/topic/134 "2024-10-02T01:38:08Z")

</div>

Discourse 使用一段时间以后会发现硬盘空间占用非常多。 主要是因为 Docker Image 的问题，如果升级次数越多，空间占用越多。 运行下面的Discourse命令： ./launcher cleanup 能够帮助你清理…

---

## [宝塔面板安装discourse论坛程序](https://www.shiwantech.xyz/t/topic/133)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 01:26 UTC](https://www.shiwantech.xyz/t/topic/133 "2024-10-02T01:26:53Z")

</div>

Discourse程序基于Ruby on Rails, Ember.js, 以及PostgreSQL, 完全免费开源。 它拥有丰富的功能，强劲的性能，高稳定性与安全性，以及可以高度自定义的界面。 官方推荐使用docker安装，借助Doc…

---

## [运行多个80 端口访问的网站，包括 Discourse](https://www.shiwantech.xyz/t/topic/132)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 01:15 UTC](https://www.shiwantech.xyz/t/topic/132 "2024-10-02T01:15:04Z")

</div>

在服务器里面安装一下 NGINX，然后配置一个代理，这样就可以在同一台服务器上运行多个在 80 端口访问的网站，包括 Discourse。 在 NGINX 的配置文件，我们还可以配置一下 SSL 证书。 下面是我为 Discourse …

---

## [Discourse占满 CPU 与内存的解决方法](https://www.shiwantech.xyz/t/topic/131)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 2 日 00:30 UTC](https://www.shiwantech.xyz/t/topic/131 "2024-10-02T00:30:42Z")

</div>

Discourse 论坛我遇到两次资源占满的情况，第一次通过升级解决了问题，过年以后又遇到了占满 CPU 与内存的情况。 即使没人访问一样会占满服务器的所有资源。 这次原因可能是之前服务器磁盘满了，Discourse 会在后台循环处理一些…

---

## [Nginx反代Discourse出现502 Bad Gateway错误](https://www.shiwantech.xyz/t/topic/129)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 1 日 17:21 UTC](https://www.shiwantech.xyz/t/topic/129 "2024-10-01T17:21:32Z")

</div>

我使用宝塔部署了Discourse Docker外部端口是8080-80,8443-443 Nginx反向代理是： 回答1： 盲猜https问题 回答2： discourse不支持端口访问，也不支持IP访问，只能域名…

---

## [Discourse提示“非管理员用户无法向外发送电子邮件”问题的解决方法](https://www.shiwantech.xyz/t/topic/128)

<div class="topic-metadata">

**Author:** [@itpanpan163](https://www.shiwantech.xyz/u/itpanpan163)\
**回复:** 0\
**最近更新：:** [2024 年10 月 1 日 17:08 UTC](https://www.shiwantech.xyz/t/topic/128 "2024-10-01T17:08:03Z")

</div>

Discourse提示“非管理员用户无法向外发送电子邮件”问题的解决方法 今天打开网站，突然发现首页顶部出现了一个提示语： 非管理员用户无法向外发送电子邮件。 对应的英语提示语是 Outgoing email has been di…

---

## [Discourse的启动、停止和重建](https://www.shiwantech.xyz/t/topic/24)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 19 日 13:24 UTC](https://www.shiwantech.xyz/t/topic/24 "2023-10-19T13:24:59Z")

</div>

Discourse的启动、停止和重建 以下命令都是在 /var/discourse/ 中执行 1、启动命令 ./launcher start app 2、停止命令 ./launcher stop app 3、重建命令 ./…

---

## [Ubuntu中怎么安装Discourse](https://www.shiwantech.xyz/t/topic/22)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 19 日 13:08 UTC](https://www.shiwantech.xyz/t/topic/22 "2023-10-19T13:08:44Z")

</div>

Ubuntu中怎么安装Discourse Discourse 是 Stack Overflow 的联合创始人 Jeff Atwood 推出的一个新的开源论坛项目，其目的是为了改变十年未变的论坛软件。它摒弃了传统论坛的话题讨论形式、拥有自学…

---

## [launcher命令在discourse中的维护作用](https://www.shiwantech.xyz/t/topic/38)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 20 日 06:52 UTC](https://www.shiwantech.xyz/t/topic/38 "2023-10-20T06:52:26Z")

</div>

launcher命令/var/discourse可用于各种维护 Usage: launcher COMMAND CONFIG \[--skip-prereqs\] \[--docker-args STRING\] Commands: st…

---

## [有了BT宝塔再安装discourse提示端口占用](https://www.shiwantech.xyz/t/topic/37)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 20 日 06:36 UTC](https://www.shiwantech.xyz/t/topic/37 "2023-10-20T06:36:54Z")

</div>

有了BT宝塔再安装discourse提示端口占用 Discourse程序基于Ruby on Rails, Ember.js, 以及PostgreSQL, 完全免费开源。 它拥有丰富的功能，强劲的性能，高稳定性与安全性，以及可以高度自定义…

---

## [使用命令行方式创建discourse管理员](https://www.shiwantech.xyz/t/topic/32)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 20 日 01:18 UTC](https://www.shiwantech.xyz/t/topic/32 "2023-10-20T01:18:11Z")

</div>

使用命令行方式创建discourse管理员 在搭建discourse的时候，如果收发邮件有问题，就没有办法使用管理员登陆论坛，此时，可以做一个规避操作。 执行如下命令，进入 app，创建管理员即可。 cd /var/discourse …

---

## [discourse的域名配置和发送邮件设置-app.yml](https://www.shiwantech.xyz/t/topic/31)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 20 日 01:13 UTC](https://www.shiwantech.xyz/t/topic/31 "2023-10-20T01:13:04Z")

</div>

discourse的域名配置和发送邮件设置-app.yml 修改 app.yml 文件 （位置在/var/discourse/containers中） 设置 DISCOURSE\_HOSTNAME 参数为自有域名，如：talk.exam…

---

## [discourse官网](https://www.shiwantech.xyz/t/topic/26)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 19 日 16:39 UTC](https://www.shiwantech.xyz/t/topic/26 "2023-10-19T16:39:54Z")

</div>

https://www.discourse.org/ https://github.com/discourse/discourse

---

## [错误 - 534-5.7.9 Application-specific password required](https://www.shiwantech.xyz/t/topic/25)

<div class="topic-metadata">

**Author:** [@baiyunshenchu2060](https://www.shiwantech.xyz/u/baiyunshenchu2060)\
**回复:** 0\
**最近更新：:** [2023 年10 月 19 日 16:28 UTC](https://www.shiwantech.xyz/t/topic/25 "2023-10-19T16:28:36Z")

</div>

使用ActionMailer透過Gmail寄信 參考ihower的Ruby on Rails實戰聖經的ActionMailer - E-mail 發送章節。 在development.rb裡加入寄信的設定。 ... config.…
