Setup ubuntu on VM ESXi @ ubuntu 16.04 LTS /ESXi 5.5

Install open-vmtool

  1. Create Dir & Download Key
1
2
3
4
mkdir /home/tools
cd /home/tools
wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub
wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
  1. Install Key
1
2
sudo apt-key add VMWARE-PACKAGING-GPG-DSA-KEY.pub
sudo apt-key add VMWARE-PACKAGING-GPG-RSA-KEY.pub
  1. Create doc

Ubuntu:Create /etc/apt/sources.list.d/vmware-tools.list

1
2
nano /etc/apt/sources.list.d/vmware-tools.list
deb http://packages.vmware.com/packages/ubuntu precise main
  1. Install open-vm-tools

Ubuntu:

1
2
3
sudo apt-get update
sudo apt-cache search open-vm
sudo apt-get install open-vm-tools open-vm-tools-desktop open-vm-toolbox open-vm-dkms

Install Docker

Update Ubuntu First

1
2
apt-get update
apt-get upgrade

1
curl -sSL https://get.docker.com/ubuntu/ | sudo sh

or

1
apt-get install docker.io

Done

1
sudo usermod -aG docker USER

Relog

Install TeamViewer

1
2
3
4
sudo apt-get update
sudo apt-get install
wget https://download.teamviewer.com/download/teamviewer_i386.deb
sudo dpkg -i teamviewer_i386.deb

Use docker yml file build

https://docs.docker.com/compose/wordpress/

Docker command memo

1
2
3
4
5
6
7
docker images
docker rmi image_id
docker ps -a
docker stop container_id
docker rm container_id
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)