Update admin install instructions for node 20 (#1340)

* Update admin install instructions for node 18 (min version for 4.2.1)

* Remove apt-get from node instructions and actually install it in the apt command below

* Remove remaining sudo and put key in same location as postregsql key

* Update content/en/admin/install.md

Co-authored-by: tibequadorian <9560587+tibequadorian@users.noreply.github.com>

---------

Co-authored-by: tibequadorian <9560587+tibequadorian@users.noreply.github.com>
This commit is contained in:
Travis Briggs 2023-12-27 06:51:35 -05:00 committed by GitHub
parent 101f48dd87
commit ec5ea76a44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ apt install -y curl wget gnupg apt-transport-https lsb-release ca-certificates
#### Node.js {#node-js}
```bash
curl -sL https://deb.nodesource.com/setup_16.x | bash -
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
```
#### PostgreSQL {#postgresql}
@ -45,7 +46,7 @@ apt install -y \
g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf \
bison build-essential libssl-dev libyaml-dev libreadline6-dev \
zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \
nginx redis-server redis-tools postgresql postgresql-contrib \
nginx nodejs redis-server redis-tools postgresql postgresql-contrib \
certbot python3-certbot-nginx libidn11-dev libicu-dev libjemalloc-dev
```