-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
31 lines (24 loc) · 1.17 KB
/
setup.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
# For this project I'm working on Ubuntu 20.04 Windows WSL.
# This setup file assumes you are using the same setup although it should work on other debian/ubuntu based distros
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl, zip
# # kubectl (not needed for now)
# curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
# sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
# sudo apt install bash-completion -y
# source /usr/share/bash-completion/bash_completion
# echo 'source <(kubectl completion bash)' >>~/.bashrc
# kubectl completion bash > kubectl
# sudo mv kubectl /etc/bash_completion.d/kubectl
# Terraform
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install terraform
terraform -install-autocomplete
terraform init
# Ansible
sudo apt install ansible -y
# AWS CLI
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
rm -rf aws awscliv2.zip