mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 20:01:11 +08:00
40 lines
2.1 KiB
Markdown
40 lines
2.1 KiB
Markdown
# How Do I Install Discourse?
|
|
|
|
Simple 30 minute basic install:
|
|
[**Beginner Docker install guide for Digital Ocean**][do]
|
|
|
|
Powerful, flexible, large or multiple server install:
|
|
[**Advanced Docker install guide**][docker]
|
|
|
|
The only officially supported installs of Discourse are the [Docker](https://www.docker.io/) based beginner and advanced installs. We regret that we cannot support any other methods of installation. (Alternately, you can try the [unofficial Heroku install guide][heroku], the [unofficial Ubuntu install guide][ubuntu], the [BitNami Discourse Virtual Machine package][bitnami] or [Cloud66][cloud66].)
|
|
|
|
### Why do you only officially support Docker?
|
|
|
|
Hosting Rails applications is complicated. Even if you already have Postgres, Redis and Ruby installed on your server, you still need to worry about running and monitoring your Sidekiq and Rails processes. Additionally, our Docker install comes bundled with a web-based GUI that makes upgrading to new versions of Discourse as easy as clicking a button.
|
|
|
|
### Hardware Requirements
|
|
|
|
- Dual core CPU recommended
|
|
- 1 GB RAM minimum (with [swap][swap]), 2 GB recommended
|
|
- 64 bit Linux compatible with Docker
|
|
|
|
### Software Requirements
|
|
|
|
- [Postgres 9.1+](http://www.postgresql.org/download/)
|
|
- [Redis 2.6+](http://redis.io/download)
|
|
- [Ruby 1.9.3+](http://www.ruby-lang.org/en/downloads/) (we recommend 2.0.0-p353 or higher)
|
|
|
|
|
|
|
|
## Security
|
|
|
|
We take security very seriously at Discourse, and all our code is 100% open source and peer reviewed. Please read [our security guide](https://github.com/discourse/discourse/blob/master/docs/SECURITY.md) for an overview of security measures in Discourse.
|
|
|
|
[do]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md
|
|
[docker]: https://github.com/discourse/discourse_docker
|
|
[bitnami]: http://bitnami.com/stack/discourse
|
|
[cloud66]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud66.md
|
|
[heroku]: https://github.com/discourse/discourse/blob/master/docs/install-HEROKU.md
|
|
[ubuntu]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md
|
|
[swap]: https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
|