-
Notifications
You must be signed in to change notification settings - Fork 0
/
devopstoolsinstall.sh
106 lines (85 loc) · 1.93 KB
/
devopstoolsinstall.sh
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/bin/bash
### DevOps tools installation script ###
## Created by Oleksii Poberezhnyi ##
## Obviously should be run with sudo ##
## 1. Update current system
apt update && apt upgrade -y
## 2. Add all neccesary apt repositories
# Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
# Docker CE
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
xenial \
stable"
# Update repositories
apt update
## 3. Install apps & tools
apt install \
firefox \
docker-ce \
docker-ce-cli \
containerd.io \
git \
google-chrome-stable \
openjdk-8-jre \
keepass2 \
gnome-screenshot \
gdebi-core \
remmina \
gxneur \
guake \
transmission \
vagrant \
virtualbox \
vlc \
mtr \
mc \
-y
## 4. Snap installation
SNAPS="
brave
p7zip-desktop
minikube
notepad-plus-plus
postman
"
for SNAP in ${SNAPS}; do
snap install $SNAP
done
SNAPSCLASSIC="
kubectl
helm
aws-cli
google-cloud-sdk
skype
slack
code
"
for SNAP in ${SNAPSCLASSIC}; do
snap install $SNAP --classic
done
SNAPSEDGE="
dbeaver-ce
fluxgui
"
for SNAP in ${SNAPSEDGE}; do
snap install $SNAP --edge
done
## 5. Manual installation
# Team Viewer
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
gdebi -n teamviewer*.deb
## 6. Customization
# Changing favourite apps
# dconf write /org/gnome/shell/favorite-apps ['brave_brave.desktop', 'google-chrome.desktop', 'firefox.desktop', 'thunderbird.desktop', 'org.gnome.Terminal.desktop', 'guake.desktop', 'code_code.desktop', 'notepad-plus-plus_notepad-plus-plus.desktop', 'org.remmina.Remmina.desktop', 'postman_postman.desktop']
### End ###