# 如何在 AWS EC2 实例（Ubuntu Server LTS）上安装 Discourse？

**URL:** <https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406>\
**Category:** Self-hosting\
**Created:** [2019年三月23日 12:33 UTC](https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406 "2019-03-23T12:33:34Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2019年三月28日 02:04 UTC](https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406/35 "2019-03-28T02:04:21Z")

</div>

If you’re using Let’s Encrypt then once DNS is configured it needs to generate a certificate, which is done when the container is built.

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406)._
