VMware ESX Command Line Interface 6.7 (Rocky/Centos 8)

Post Reply
David
Site Admin
Posts: 11
Joined: Sat Dec 03, 2022 8:00 am

VMware ESX Command Line Interface 6.7 (Rocky/Centos 8)

Post by David »

I installed minimal version of Rocky/CentOS 8.

Install your basic tools

Code: Select all

yum install net-tools yum-utils open-vm-tools sysstat xauth zip unzip rsync telnet mlocate wget
yum install perl
Install necessary modules

Code: Select all

dnf install -y gcc libuuid-devel openssl-devel
cpan -i Module::Build UUID
dnf install -y perl-Path-Class perl-Try-Tiny perl-Crypt-SSLeay perl-HTML-Parser perl-IO-Socket-INET6 perl-XML-SAX perl-XML-LibXML perl-LWP-Protocol-https perl-Socket6 perl-Net-INET6Glue
Install

Code: Select all

tar -xvf VMware-vSphere-CLI-6.7.0-8156551.x86_64.tar.gz 
cd vmware-vsphere-cli-distrib/
./vmware-install.pl
If you receive an error similar to:
Server version unavailable at 'https://example.com:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.

Edit /usr/share/perl5/VMware/VICommon.pm
Around line 646.
Need to remove comment in front of $ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL";
You do not have the required permissions to view the files attached to this post.
Post Reply