Add a Debian 8 installation note (#223)

* Add a Debian 8 installation note

According to the conversation in f0a863feec, Debian 8 installs
an older version of nginx by default. This adds a note telling people
how to install a newer one.

* updating wording
This commit is contained in:
Darius Kazemi 2017-05-08 23:10:16 -07:00 committed by wxcafé
parent 1591adb863
commit 03ee8bedfa
1 changed files with 10 additions and 0 deletions

View File

@ -188,6 +188,16 @@ and install an ident daemon, which does not come installed by default:
sudo systemctl start pidentd
sudo systemctl restart postgresql
### Debian 8
Under Debian 8, the default version of nginx available is too old to work with the above configuration file (as it uses http2). To install a newer version of nginx that supports http2 (v1.9.5+), you have to add the jessie-backports repo to your `sources.list`:
```bash
$ echo "deb http://ftp.debian.org/debian jessie-backports main" | sudo tee -a /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-get install -t jessie-backports nginx
```
## Rbenv
It is recommended to use rbenv (exclusively from the `mastodon` user) to install the desired Ruby version. Follow the guides to [install rbenv][1] and [rbenv-build][2] (I recommend checking the [prerequisites][3] for your system on the rbenv-build project and installing them beforehand, obviously outside the unprivileged `mastodon` user)