Install VMware vSphere CLI (vcli) on CentOS7

Source: Internet
Author: User
Tags crypt install perl

Recent projects require the installation of VCLI on CENTOS7.

According to the official instructions, the use of pre-variant Perl module, when running error.

According to the following article, the use of CPAN, but in the installation process error, stating that the following article should be defective.

http://ephrain.pixnet.net/blog/post/62612357-%5Bvmware%5D-%E5%9C%A8-centos7-%E4%B8%8A%E5%AE%89%E8%A3% 9d-vmware-vsphere-cli-(VCLI)-%e6%93%8d


After n many days to try, finally succeeded

Environment:

OS:

Centos-7-x86_64-dvd_1511.iso

Server Install

Delveopment Tool

Legacy Library


VCLI installation Package

Vmware-vsphere-cli-6.0.0-2503617.x86_64.tar.gz


Process

Upload the Vmware-vsphere-cli-6.0.0-2503617.x86_64.tar to the/root.


Yum install-y openssl-devel Libuuid-devel

Yum Install-y cpan

Yum install-y openssl-devel libuuid-devel perl-yaml perl-devel-checklib gcc Perl-cpan

CPAN devel::stacktrace Class::D ata::inheritable convert::asn1 crypt::openssl::rsa crypt::x509 Exception::Class UUID:: Random archive::zip path::class try::tiny class::methodmaker UUID Data::D UMP soap::lite LWP::P rotocol::https Socket6 IO: : Socket::inet6 net::inet6glue JSON::P p mime::base64

Yum Install Perl-module-build

CPAN install-f Gnupg::interface

CPAN Install Fatal

Cpan-i gaas/libwww-perl-5.837.tar.gz


TAR-XVF vmware-vsphere-cli-6.0.0-2503617.x86_64.tar.gz

CD vmware-vsphere-cli-distrib/

./vmware-install.pl Eula_agreed=yes

#一定要选no, do not install your own Perl module

No

Then several times the carriage return plus the long wait. After the installation is done

You can run a command similar to the following to see if a virtual machine can be listed

vmware-cmd-u [email protected]-p [email protected]-H 192.168.40.20-h $192.168.40.11-l

Install VMware vSphere CLI (vcli) on CentOS7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.