-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirst_install_script.sh
More file actions
executable file
·30 lines (24 loc) · 1.01 KB
/
first_install_script.sh
File metadata and controls
executable file
·30 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
echo Adding repos to sources.list;
echo deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse >> /etc/apt/sources.list;
echo deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse >> /etc/apt/sources.list;
echo deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse >> /etc/apt/sources.list;
echo deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse >> /etc/apt/sources.list;
echo deb http://archive.canonical.com/ubuntu bionic partner >> /etc/apt/sources.list;
echo Running apt update;
sudo apt update;
sudo apt install locate;
sudo apt install apache2;
sudo apt install mysql-server;
sudo apt install default-jre;
sudo apt install nodejs;
sudo apt install npm;
sudo apt install links2;
sudo apt install byobu;
echo Running apt full-upgrade;
sudo apt full-upgrade;
echo making symlinks;
ln -T -s /etc/init.d initDir;
ln -T -s /var/www/http webDir;
echo launching byobu;
sudo byobu;