updated install script to match debian 11

This commit is contained in:
Ulf Gebhardt 2022-01-05 12:12:52 +01:00
parent acd04b3432
commit 268d8b6ed1
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -9,9 +9,13 @@ sudo apt-get install -y mariadb-server
# Install nginx
sudo apt-get install -y nginx
cd /etc/nginx/sites-enabled # TODO change directory again
sudo rm default
sudo ln -s /home/gradido/gradido/deployment/bare_metal/nginx/sites-available/gradido.conf gradido.conf
# Install yarn
sudo apt-get install -y curl
sudo apt-get install -y gnupg
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
@ -20,6 +24,7 @@ sudo apt-get install -y yarn
# Install node 16.x
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
# Install pm2
sudo yarn global add pm2