File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 7
7
8
8
CONFIG_MASTER_PASSWORD=" admin"
9
9
10
+ echo " Do upgrade packages? [RECOMMENDED] (y,n)"
11
+ read answerDemp
12
+
13
+ if [ " $answerDemp " == " y" ]; then
14
+ apt update -y && apt upgrade -y
15
+ fi
16
+
10
17
echo " Do you want to install recommended dependencies? (y,n)"
11
18
read answerDemp
12
19
13
20
if [ " $answerDemp " == " y" ]; then
14
21
echo " Installing dependencies (Node js, Postgresql, Nginx, ffmpeg)"
15
- apt install nodejs -y && apt install postgresql-10 -y && apt install ufw -y && apt install goaccess -y && apt install -y nginx && apt install -y ffmpeg && apt install -y npm
22
+ apt install openssl -y && apt install ufw -y && apt install postgresql -y && apt install ufw -y && apt install goaccess -y && apt install -y nginx && apt install -y ffmpeg
23
+ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
24
+ apt update -y
25
+ apt install -y nodejs && apt install npm -y
16
26
echo " [OK] Dependencies installed!"
17
27
echo " "
18
28
You can’t perform that action at this time.
0 commit comments