apt update && apt upgrade -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
This file contains 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
#Installing VirtualBox | |
echo "Installing VirtualBox........................" | |
sudo apt-get install virtualbox | |
#Installing kubectl https://kubernetes.io/docs/getting-started-guides/kubectl/ | |
echo "Installing kubectl..........................." | |
wget https://storage.googleapis.com/kubernetes-release/release/v1.4.4/bin/linux/amd64/kubectl | |
chmod +x kubectl | |
sudo mv kubectl /usr/local/bin/kubectl |
We would need cygwin for this.
Install the basic Cygwin and specifically install wget,tar,qawk,bzip2,subversion,vim
Run the installer After Cygwin gets installed, get the setup file and install the below:
> C:/Users/user/Downloads/setup-x86_64.exe -q -P wget,tar,qawk,bzip2,subversion,vim
This guide works fairly well on all recent Debian based OS (tested on Debain and Ubuntu).
This may follow some not best practice methods but it does for the most part. This guide will :