fix from albumView to other routes bug

- add nginx sites
- add setup script (untested**)
This commit is contained in:
geoffrey45
2022-02-13 17:18:23 +03:00
parent 6d6d2831c0
commit 462acd0229
8 changed files with 45 additions and 814 deletions
+19
View File
@@ -0,0 +1,19 @@
# 1. install nginx
# 2. install mongodb
# commands to install and start mongodb ubuntu 20.04
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
sudo apt-get update
sudo apt-get install -y mongodb
sudo systemctl start mongodb
sudo systemctl daemon-reload
sudo systemctl enable mongodb
# commands to install and start nginx ubuntu 20.04
sudo apt-get install nginx
sudo systemctl start nginx
sudo systemctl enable nginx