Saturday, May 21, 2011

Install VMware vSphere Client 4.1 CLI on Linux (Ubuntu 10.4)

It is so sad that the graphic management VMware ESXi is not support Linux OS so today I will write about how to use vCLI on Linux.

Bước 1: Install dependencies packages

32 bit 

sudo apt-get install libssl-dev perl-doc liburi-perl libxml-libxml-perl
libcrypt-ssleay-perl

64 bit 

sudo apt-get install libssl-dev perl-doc liburi-perl libxml-libxml-perl
libcrypt-ssleay-perl ia32-libs

Bước 2: Install  vCLI on Linux

tar -zxvf Vmware-vSphere-CLI-4.X.X-XXXXX.i386.tar.gz
sudo vmware-vsphere-cli-distrib/vmware-install.pl

If you choose default install, then the software will locate in these locations:

vCLI scripts - /usr/bin
vSphere SDK for Perl utility applications - /usr/lib/vmware-vcli/apps
vSphere SDK for Perl sample scripts - /usr/share/doc/vmware-vcli/samples



* Notes: If you want to remove vCLI package, just run the script vmware-uninstall-vSphere-CLI.pl

Have fun!