aaden-cli 1.2.8 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,32 +10,37 @@ echo "# Start to configurate aaden! #"
10
10
  echo "# V 1.0.0 #"
11
11
  echo "#######################################################################"
12
12
  echo ""
13
+ sudo add-apt-repository ppa:ondrej/php -y
14
+
13
15
 
14
16
  echoWithWait "updating System...."
15
17
  sudo apt-get update -y
18
+ sudo apt update
19
+ sudo apt upgrade -y
20
+
21
+ sudo hostnamectl set-hostname aaden$DeviceId
16
22
 
17
23
  echoWithWait "Installing Lamp...."
18
24
  sudo snap install axel
19
25
 
20
26
  sudo apt install apache2 -y
21
27
  sudo apt install net-tools -y
28
+ sudo apt install software-properties-common apt-transport-https -y
29
+ echoWithWait "Install PHP7.4"
30
+
22
31
  sudo apt install mysql-server -y
23
32
  sudo apt install aptitude -y
24
33
  sudo apt install curl -y
25
34
  sudo aptitude -y install expect
26
- sudo apt install php libapache2-mod-php php-intl php-gd php-mbstring php-mysql php-curl -y
35
+ sudo apt install php7.4 php7.4-common libapache2-mod-php7.4 php7.4-cli -y
36
+ sudo apt install php7.4-curl php7.4-mysql php7.4-gd php7.4-zip php7.4-intl php7.4-common php7.4-mbstring -y
27
37
  sudo systemctl restart apache2
28
38
 
29
39
  echoWithWait "Install Complate"
30
40
 
31
- echoWithWait "Installing Webmin"
32
41
 
33
42
  sudo apt -y install vim apt-transport-https wget software-properties-common
34
43
 
35
- sudo add-apt-repository "deb http://download.webmin.com/download/repository sarge contrib"
36
- wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add
37
- sudo apt update
38
- sudo apt -y install webmin
39
44
 
40
45
  echoWithWait "Install Docker Requirment"
41
46
  sudo apt-get install -y \
@@ -128,6 +133,7 @@ sudo usermod -a -G lp aaden
128
133
  sudo usermod -a -G lp www-data
129
134
  sudo usermod -a -G root aaden
130
135
  sudo usermod -a -G root www-data
136
+ sudo usermod -a -G adm aaden
131
137
 
132
138
  echoWithWait "RUN MIGRATION"
133
139
  # run migrations
@@ -154,8 +160,8 @@ echo "# V 1.0.0 #"
154
160
  echo "#######################################################################"
155
161
  echo ""
156
162
 
157
- cd
163
+ cd || exit
158
164
  wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
159
- sudo apt install ./teamviewer_amd64.deb
165
+ sudo apt install ./teamviewer_amd64.deb -y
160
166
 
161
167
  sudo apt install chrome-gnome-shell -y
File without changes
File without changes
File without changes