-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_ubuntu.sh
executable file
·58 lines (49 loc) · 1.3 KB
/
setup_ubuntu.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
#!/usr/bin/env bash
apt update
apt upgrade
apt install -y bat \
build-essential \
ca-certificates \
cargo \
curl \
fd-find \
fzf \
git \
gnupg \
kitty \
libnss3-tools \
luajit \
python3-dev \
python3-pip \
python3-venv \
python3-software-properties \
ripgrep \
stow \
tmux \
unzip \
zsh \
wget \
# Node
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\
apt install -y nodejs
# Terraform
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
apt update && apt install terraform
# NeoVim
snap install nvim --classic
# Kubernetes
snap install kubectl --classic
# MicroK8s
snap install microk8s --classic
# Helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
# mkcert
cd /tmp
curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
chmod +x mkcert-v*-linux-amd64
cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert
# aws
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install