Merge pull request #1 from spirillen/spirillen-patch-1
Update install guide from ubuntu 20 to 22
This commit is contained in:
commit
e88aac6a05
|
@ -9,7 +9,7 @@ menu:
|
||||||
|
|
||||||
## Pre-requisites {#pre-requisites}
|
## Pre-requisites {#pre-requisites}
|
||||||
|
|
||||||
* A machine running **Ubuntu 20.04** or **Debian 11** that you have root access to
|
* A machine running **Ubuntu 22.04** or **Debian 11** that you have root access to
|
||||||
* A **domain name** (or a subdomain) for the Mastodon server, e.g. `example.com`
|
* A **domain name** (or a subdomain) for the Mastodon server, e.g. `example.com`
|
||||||
* An e-mail delivery service or other **SMTP server**
|
* An e-mail delivery service or other **SMTP server**
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ apt install -y curl wget gnupg apt-transport-https lsb-release ca-certificates
|
||||||
#### Node.js {#node-js}
|
#### Node.js {#node-js}
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
```
|
```
|
||||||
|
|
||||||
#### PostgreSQL {#postgresql}
|
#### PostgreSQL {#postgresql}
|
||||||
|
@ -38,15 +38,17 @@ echo "deb [signed-by=/usr/share/keyrings/postgresql.asc] http://apt.postgresql.o
|
||||||
|
|
||||||
### System packages {#system-packages}
|
### System packages {#system-packages}
|
||||||
|
|
||||||
|
Please ensure there are no package variations from what you might already have install, such as `nginx-extras` vs `nginx` or postgresql versions
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt update
|
apt update
|
||||||
apt install -y \
|
apt install -y \
|
||||||
imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \
|
libidn11-dev libicu-dev libjemalloc-dev libpq-dev libxml2-dev \
|
||||||
g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \
|
libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler \
|
||||||
bison build-essential libssl-dev libyaml-dev libreadline6-dev \
|
pkg-config nodejs gcc autoconf bison build-essential libssl-dev \
|
||||||
zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \
|
libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev \
|
||||||
nginx redis-server redis-tools postgresql postgresql-contrib \
|
libffi-dev libgdbm-dev nginx redis-server redis-tools postgresql \
|
||||||
certbot python3-certbot-nginx libidn11-dev libicu-dev libjemalloc-dev
|
postgresql-contrib imagemagick ffmpeg certbot python3-certbot-nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Yarn {#yarn}
|
#### Yarn {#yarn}
|
||||||
|
|
Loading…
Reference in New Issue