mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Add a Debian 8 installation note (#223)
* Add a Debian 8 installation note According to the conversation in f0a863feecd4b138520, 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:
parent
1591adb863
commit
03ee8bedfa
@ -188,6 +188,16 @@ and install an ident daemon, which does not come installed by default:
|
|||||||
sudo systemctl start pidentd
|
sudo systemctl start pidentd
|
||||||
sudo systemctl restart postgresql
|
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
|
## 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)
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user