From ec5ea76a449d17bc2fdc22f5cfcc579e26e8a5c9 Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Wed, 27 Dec 2023 06:51:35 -0500 Subject: [PATCH] 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> --- content/en/admin/install.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/admin/install.md b/content/en/admin/install.md index 01ebedf6..a9573ad4 100644 --- a/content/en/admin/install.md +++ b/content/en/admin/install.md @@ -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 ```