6.5
Table Of Contents
- Getting Started with vSphere Command-Line Interfaces
- Contents
- About This Book
- Managing vSphere with Command-Line Interfaces
- Installing vCLI
- Running Host Management Commands in the ESXi Shell
- Running vCLI Host Management Commands
- Overview of Running vCLI Host Management Commands
- Protecting Passwords
- Authenticating Through vCenter Server and vCenter Single Sign-On
- Authenticating Directly to the Host
- Trust Relationship Requirement for ESXCLI Commands
- Common Options for vCLI Host Management Command Execution
- Using vCLI Commands in Scripts
- Run Host Management Commands from a Windows System
- Run Host Management Commands from a Linux System
- Running DCLI Commands
- Index
Platform Installation
RHEL 6.6 64-bit Find the required modules on the installation DVD, or use yum to install them.
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
RHEL 7.1 64-bit Find the required modules on the installation DVD, or use yum to install them.
yum install e2fsprogs-devel libuuid-devel openssl-devel perl-devel
yum install glibc.i686 zlib.i686
yum install perl-XML-LibXML libncurses.so.5 perl-Crypt-SSLeay
SUSE
Enterprise
Install the prerequisite packages from the SLES SDK DVD. When you insert the DVD, it oers to
autorun. Cancel the autorun and use the yast package installer to install OpenSSL or other missing
required packages.
n
SLES 11 SP3 64-bit
yast -i openssl-devel libuuid-devel libuuid-devel-32bit
n
SLES 12 64-bit
yast -i openssl-devel libuuid-devel libuuid-devel-32bit e2fsprogs-devel
Some users might be authorized to use the Novell Customer Center and use yast to retrieve missing
packages from there.
Ubuntu 12.04
64-bit
1 Connect to the Internet.
2 Update the local repository of libraries from a terminal window.
sudo apt-get update
3 Install the required libraries from a terminal window.
sudo apt-get install ia32-libs build-essential gcc uuid uuid-dev perl libssl-
dev perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl
For Ubuntu 12.04 64-bit, the resxtop and ESXCLI commands do not work if you do not install the 32-
bit compatibility libraries.
Ubuntu 14.04
64-bit
1 Connect to the Internet.
2 Update the local repository of libraries from a terminal window.
sudo apt-get update
3 Install the required libraries from a terminal window.
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 gcc-multilib build-
essential gcc uuid uuid-dev perl libssl-dev perl-doc liburi-perl libxml-libxml-
perl libcrypt-ssleay-perl
For Ubuntu 14.04 64-bit, the resxtop and ESXCLI commands do not work if you do not install the 32-
bit compatibility libraries.
Ubuntu 15.10
64-bit
1 Connect to the Internet.
2 Update the local repository of libraries from a terminal window.
sudo apt-get update
3 Install the required libraries from a terminal window.
sudo apt-get install lib32z1 lib32ncurses5 uuid uuid-dev perl libssl-dev perl-
doc libxml-libxml-perl libcrypt-ssleay-perl libsoap-lite-perl
For Ubuntu 15.10 64-bit, the resxtop and ESXCLI commands do not work if you do not install the 32-
bit compatibility libraries.
Ubuntu 16.04
64-bit
1 Connect to the Internet.
2 Update the local repository of libraries from a terminal window.
sudo apt-get update
3 Install the required libraries from a terminal window.
sudo apt-get install lib32z1 lib32ncurses5 uuid uuid-dev libssl-dev perl-doc
libxml-libxml-perl libcrypt-ssleay-perl libsoap-lite-perl libmodule-build-perl
For Ubuntu 16.04 64-bit, the resxtop and ESXCLI commands do not work if you do not install the 32-
bit compatibility libraries.
Chapter 2 Installing vCLI
VMware, Inc. 21