projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import stable commits into develop after releasing 2.2.0
[akkoma]
/
docs
/
installation
/
debian_based_en.md
diff --git
a/docs/installation/debian_based_en.md
b/docs/installation/debian_based_en.md
index 62d8733f7f1c76d2c6a73a8ffc3ef3b415e16b87..75ceb65959f9288e397a70645e732edd9f2ab0fa 100644
(file)
--- a/
docs/installation/debian_based_en.md
+++ b/
docs/installation/debian_based_en.md
@@
-10,13
+10,18
@@
This guide will assume you are on Debian Stretch. This guide should also work wi
* `elixir` (1.8+, Follow the guide to install from the Erlang Solutions repo or use [asdf](https://github.com/asdf-vm/asdf) as the pleroma user)
* `erlang-dev`
* `erlang-nox`
* `elixir` (1.8+, Follow the guide to install from the Erlang Solutions repo or use [asdf](https://github.com/asdf-vm/asdf) as the pleroma user)
* `erlang-dev`
* `erlang-nox`
+* `libmagic-dev`
* `git`
* `build-essential`
* `git`
* `build-essential`
+* `cmake`
#### Optional packages used in this guide
* `nginx` (preferred, example configs for other reverse proxies can be found in the repo)
* `certbot` (or any other ACME client for Let’s Encrypt certificates)
#### Optional packages used in this guide
* `nginx` (preferred, example configs for other reverse proxies can be found in the repo)
* `certbot` (or any other ACME client for Let’s Encrypt certificates)
+* `ImageMagick`
+* `ffmpeg`
+* `exiftool`
### Prepare the system
### Prepare the system
@@
-30,7
+35,7
@@
sudo apt full-upgrade
* Install some of the above mentioned programs:
```shell
* Install some of the above mentioned programs:
```shell
-sudo apt install git build-essential postgresql postgresql-contrib
+sudo apt install git build-essential postgresql postgresql-contrib
cmake libmagic-devel
```
### Install Elixir and Erlang
```
### Install Elixir and Erlang
@@
-38,8
+43,8
@@
sudo apt install git build-essential postgresql postgresql-contrib
* Download and add the Erlang repository:
```shell
* Download and add the Erlang repository:
```shell
-wget -P /tmp/ https://packages.erlang-solutions.com/erlang-solutions_
1
.0_all.deb
-sudo dpkg -i /tmp/erlang-solutions_
1
.0_all.deb
+wget -P /tmp/ https://packages.erlang-solutions.com/erlang-solutions_
2
.0_all.deb
+sudo dpkg -i /tmp/erlang-solutions_
2
.0_all.deb
```
* Install Elixir and Erlang:
```
* Install Elixir and Erlang:
@@
-49,6
+54,12
@@
sudo apt update
sudo apt install elixir erlang-dev erlang-nox
```
sudo apt install elixir erlang-dev erlang-nox
```
+### Optional packages: [`docs/installation/optional/media_graphics_packages.md`](docs/installation/optional/media_graphics_packages.md)
+
+```shell
+sudo apt install imagemagick ffmpeg libimage-exiftool-perl
+```
+
### Install PleromaBE
* Add a new system user for the Pleroma service:
### Install PleromaBE
* Add a new system user for the Pleroma service:
@@
-90,6
+101,7
@@
sudo -Hu pleroma mix deps.get
mv config/{generated_config.exs,prod.secret.exs}
```
mv config/{generated_config.exs,prod.secret.exs}
```
+
* The previous command creates also the file `config/setup_db.psql`, with which you can create the database:
```shell
* The previous command creates also the file `config/setup_db.psql`, with which you can create the database:
```shell
@@
-186,10
+198,7
@@
sudo -Hu pleroma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress
#### Further reading
#### Further reading
-* [Backup your instance](../administration/backup.md)
-* [Hardening your instance](../configuration/hardening.md)
-* [How to activate mediaproxy](../configuration/howto_mediaproxy.md)
-* [Updating your instance](../administration/updating.md)
+{! backend/installation/further_reading.include !}
## Questions
## Questions