Last active
December 17, 2022 07:47
-
-
Save hrittikhere/04f4552ce17e752d3a09d1d8c7f2ff1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Update Base System | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Install Docker | |
echo -e "\e[1;31m Installing Docker \e[0m" | |
curl -fsSL https://get.docker.com | bash | |
sudo usermod -aG docker $USER | |
echo -e "\e[1;31m Installing Kubectl \e[0m" | |
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 | |
rm kubectl | |
mkdir -p $HOME/.kube | |
# # Install VirtualBox | |
# echo -e "\e[1;31m Installing VirtualBox \e[0m" | |
# sudo apt install virtualbox -y | |
# # Install Minikube | |
# echo -e "\e[1;31m Installing Minikube \e[0m" | |
# curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | |
# sudo install minikube-linux-amd64 /usr/local/bin/minikube | |
## Install K3D | |
echo -e "\e[1;31m Installing K3D and create Cluster \e[0m" | |
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash | |
sudo k3d cluster create dev | |
# ### Install **pip** first | |
# echo -e "\e[1;31m Installing PIP3 \e[0m" | |
# sudo apt-get install python3-pip -y | |
## Install GO | |
echo -e "\e[1;31m Installing Go \e[0m" | |
sudo snap install go --classic | |
# ### Then install **virtualenv** using pip3 | |
# echo -e "\e[1;31m Installing virtualenv \e[0m" | |
# sudo pip3 install virtualenv | |
# python3 -m venv myvenv --without-pip | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -fsSL https://gist.githubusercontent.com/hrittikhere/04f4552ce17e752d3a09d1d8c7f2ff1a/raw/0fe9deb2569ea94dbbc75bf742a732e8095ec17f/shell.sh | bash