# 寻找 Discourse/WordPress 单机安装教程

**URL:** <https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765>\
**Category:** WordPress\
**Created:** [2020年五月17日 19:39 UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765 "2020-05-17T19:39:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [2020年五月17日 20:03 UTC](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765/4 "2020-05-17T20:03:12Z")

</div>

最简单的方法如下操作：

1. 停止 nginx
2. 按照官方安装指南安装 Discourse

> [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

1. 参考同一服务器上其他站点的教程，在 nginx 中创建一个服务器块以将请求转发到 Discourse，并修改 yml 文件以使用套接字。

> [Add an offline page to display when Discourse is rebuilding or starting up](https://meta.discourse.org/t/adding-an-offline-page-when-rebuilding/45238?u=itsbhanusharma)  
> 上述链接应能为您提供良好的起点。

1. 使用新配置重新构建 Discourse
2. 启动 nginx

---

_[View the full topic](https://meta.discourse.org/t/looking-for-a-tutorial-on-discourse-wordpress-1-machine-install/151765)._
