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
Installing Required Prerequisite Software for Red Hat Enterprise Linux
Prerequisite software on RHEL includes required software and recommended Perl modules.
Required Software
If required software is not installed, the vCLI installer stops. You can install the prerequisite software by
using yum, the RHEL package installer, or from the installation DVD, as follows.
Platform Installation
RHEL 6.6 64-bit
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
RHEL 7.1 64-bit
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
Recommended Perl Modules
When the installer nishes, it might display a warning that the version of a module installed on your system
does not match the version with which vCLI was tested. Install the recommended version by using yum or
CPAN to resolve the issue. See “Overview of Linux Installation Process,” on page 16 for a complete list of
modules.
N The installer does not overwrite existing Perl modules.
Installing the vCLI Package on RHEL with No Internet Access
Before you install vCLI, you must remove all previous versions of the software. The process diers from
simply uninstalling vCLI.
Remove Previous Versions of vCLI on RHEL
If you have earlier versions of vCLI installed on RHEL, you must remove those installations before installing
the latest version.
Procedure
1 Run the uninstall script, for example, if you installed vCLI in the default location, run the following
command.
/usr/bin/vmware-uninstall-vSphere-CLI.pl
2 Delete existing versions of vSphere-CLI.xxxx.tar.gz and delete the vmware-vsphere-cli-distrib
directory.
What to do next
Install vCLI on RHEL.
Install vCLI on RHEL with No Internet Access
You can install vCLI on a Red Hat Enterprise Linux system that has no previous vCLI versions installed.
Prerequisites
n
Remove previous vCLI installations.
n
Download the installation package.
Chapter 2 Installing vCLI
VMware, Inc. 19