# Recommend method of installation?

**URL:** <https://meta.discourse.org/t/recommend-method-of-installation/25574>\
**Category:** Self-hosting\
**Created:** [February 23, 2015, 5:16pm UTC](https://meta.discourse.org/t/recommend-method-of-installation/25574 "2015-02-23T17:16:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [February 23, 2015, 5:48pm UTC](https://meta.discourse.org/t/recommend-method-of-installation/25574/2 "2015-02-23T17:48:38Z")

</div>

Couple points you’ll want to consider:

- the only supported setup method involves Docker. If your server does not yet support Docker, installing it may be difficult. Using Docker requires `root` or root-equivalent privileges.  
Docker is a wrapper around recent kernels’ LXC framework. It allows you to run applications in a container that is isolated from the rest of the operating system; _almost_ like a virtual machine, except that LXC virtualizes certain kernel interfaces and data structures, not the hardware.

- If you do run Discourse in a Docker container, be aware that the default setup assumes that it will be the only webserver running on the machine and will try to grab the HTTP and HTTPS port. It is, however, possible to chain Discourse behind another webserver such as Apache, and there’s a howto regarding this topic in this forum.  
If you want to use Apache as the frontend server, you should _definitely_ use the `event` MPM. The default `prefork` MPM can not deal efficiently with long-lived connections, and Discourse uses longpolling to push notifications from the server to active clients.

- Installing Discourse without Docker is a bit of an adventure. It can be done but requires a fair bit of experience with general Linux admin, Ruby, and good Google-fu; and there is _no official_ support. The biggest hurdle is that you will almost certainly require `root` privileges to install missing dependencies along the way; among other things, you will need:

---

_[View the full topic](https://meta.discourse.org/t/recommend-method-of-installation/25574)._
