VMware/Jumpbox: Difference between revisions

From DER's LLC
Jump to navigation Jump to search
Line 21: Line 21:
  ## INSTALL SNAPD ##
  ## INSTALL SNAPD ##
  ###################
  ###################
  apt-get install snapd
  apt-get install snapd unzip
  #######################
  ###########################
  ## INSTALL TANZU CLI ##
  ## INSTALL Snap Software ##
  #######################
  ###########################
  snap install tanzu-cli
  snap install yq
  snap install yq
#################################
## INSTALL KUBECTL-VSPHERE CLI ##
#################################
wget --no-check-certificate https://tkgs.dersllc.com/wcp/plugin/linux-amd64/vsphere-plugin.zip
unzip vsphere-plugin.zip
  mv bin/* /usr/local/bin/
chmod +x /usr/local/bin/*
rm -rf ./bin vsphere-plugin.zip

Revision as of 18:29, 14 August 2024

Jumpbox Setup

OS

Ubuntu 24.04 UEFI
IP: edit the /etc/netplan/50-cloud-init.yaml
REBOOT

Software

#######################
## INSTALL TANZU CLI ##
#######################
sudo mkdir -p /etc/apt/keyrings/
sudo apt-get update
sudo apt-get install -y ca-certificates curl gpg
curl -fsSL https://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub | sudo gpg --dearmor -o /etc/apt/keyrings/tanzu-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/tanzu-archive-keyring.gpg] https://storage.googleapis.com/tanzu-cli-os-packages/apt tanzu-cli-jessie main" | sudo tee /etc/apt/sources.list.d/tanzu.list
sudo apt-get update
sudo apt-get install -y tanzu-cli
###################
## INSTALL SNAPD ##
###################
apt-get install snapd unzip
###########################
## INSTALL Snap Software ##
###########################
snap install yq 
#################################
## INSTALL KUBECTL-VSPHERE CLI ##
#################################
wget --no-check-certificate https://tkgs.dersllc.com/wcp/plugin/linux-amd64/vsphere-plugin.zip
unzip vsphere-plugin.zip
mv bin/* /usr/local/bin/
chmod +x /usr/local/bin/*
rm -rf ./bin vsphere-plugin.zip