Merge pull request 'Update Debian and Ubuntu installation requirements' (#7806) from gitlab-mr-iid-4429 into develop
Reviewed-on: https://git.pleroma.social/pleroma/pleroma/pulls/7806
This commit is contained in:
commit
16581a2f6d
3 changed files with 26 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
## Installation
|
||||
|
||||
This guide will assume you are on Debian 12 (“bookworm”) or later. This guide should also work with Ubuntu 22.04 (“jammy”) and later. It also assumes that you have administrative rights, either as root or a user with [sudo permissions](https://www.digitalocean.com/community/tutorials/how-to-add-delete-and-grant-sudo-privileges-to-users-on-a-debian-vps). If you want to run this guide with root, ignore the `sudo` at the beginning of the lines, unless it calls a user like `sudo -Hu pleroma`; in this case, use `su <username> -s $SHELL -c 'command'` instead.
|
||||
This guide will assume you are on Debian 13 (“Trixie”) or later. This guide should also work with Ubuntu 26.04 (“resolute”) and later. It also assumes that you have administrative rights, either as root or a user with [sudo permissions](https://www.digitalocean.com/community/tutorials/how-to-add-delete-and-grant-sudo-privileges-to-users-on-a-debian-vps). If you want to run this guide with root, ignore the `sudo` at the beginning of the lines, unless it calls a user like `sudo -Hu pleroma`; in this case, use `su <username> -s $SHELL -c 'command'` instead.
|
||||
|
||||
{! backend/installation/generic_dependencies.include !}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ Other than things bundled in the OTP release Pleroma depends on:
|
|||
* curl (to download the release build)
|
||||
* unzip (needed to unpack release builds)
|
||||
* ncurses (ERTS won't run without it)
|
||||
* libvips (for image processing)
|
||||
* PostgreSQL (also utilizes extensions in postgresql-contrib)
|
||||
* nginx (could be swapped with another reverse proxy but this guide covers only it)
|
||||
* certbot (for Let's Encrypt certificates, could be swapped with another ACME client, but this guide covers only it)
|
||||
|
|
@ -46,7 +47,13 @@ Other than things bundled in the OTP release Pleroma depends on:
|
|||
|
||||
=== "Debian/Ubuntu"
|
||||
```
|
||||
apt install curl unzip libncurses5 postgresql postgresql-contrib nginx certbot libmagic-dev
|
||||
apt install curl unzip libncurses6 libvips42t64 postgresql postgresql-contrib nginx certbot libmagic-dev
|
||||
```
|
||||
|
||||
On Debian 12 and Ubuntu 22.04, replace `libvips42t64` with `libvips42`:
|
||||
|
||||
```
|
||||
apt install curl unzip libncurses6 libvips42 postgresql postgresql-contrib nginx certbot libmagic-dev
|
||||
```
|
||||
|
||||
### Installing optional packages
|
||||
|
|
@ -88,9 +95,23 @@ RUM indexes are an alternative indexing scheme that is not included in PostgreSQ
|
|||
```
|
||||
|
||||
=== "Debian/Ubuntu"
|
||||
Install the package matching your distribution's PostgreSQL version:
|
||||
|
||||
```
|
||||
# Available only on Buster/19.04
|
||||
apt install postgresql-11-rum
|
||||
# Debian 13
|
||||
apt install postgresql-17-rum
|
||||
|
||||
# Debian 12
|
||||
apt install postgresql-15-rum
|
||||
|
||||
# Ubuntu 26.04
|
||||
apt install postgresql-18-rum
|
||||
|
||||
# Ubuntu 24.04
|
||||
apt install postgresql-16-rum
|
||||
|
||||
# Ubuntu 22.04
|
||||
apt install postgresql-14-rum
|
||||
```
|
||||
|
||||
#### (Optional) Performance configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue