-
Notifications
You must be signed in to change notification settings - Fork 0
/
sysup.sh
executable file
·42 lines (33 loc) · 895 Bytes
/
sysup.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
#!/bin/sh
if [ "$(id -u)" -ne 0 ]; then
echo "requested operation requires superuser privilege"
echo "enter root password"
exec su -c "$0 $*"
fi
apt install -y \
htop \
net-tools \
zsh \
neovim \
rsync \
encfs \
shellcheck \
#tilda \
remmina \
fish \
#adwaita-qt
# install docker
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list
apt update
apt install -y docker-ce
#adduser foo docker
# install vscode
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list
apt update
apt install -y code
# install node
curl -sL https://deb.nodesource.com/setup_11.x | bash -
apt update
apt install -y nodejs