在CentOS上安装vSphere CLI 5.1

字体大小: 中小 标准 ->行高大小: 标准

1.下载

在vmware官网上搜索下载 VMware-vSphere-CLI-5.1.0-780721.x86_64.gz

2.解压缩

tar xzvf VMware-vSphere-CLI-5.1.0-780721.x86_64.gz

3.安装

在解压缩的文件中找到文件vmware-install.pl

sudo ./vmware-install.pl

在安装的过程中,会提示我们设置httpproxy和ftpproxy

如果不想设置这两个变量的话,可以在vmware-install.pl文件中作一下修改,然后在安装就ok了:

if ( !( $ftpproxy && $httpproxy)) {
          uninstall_file($gInstallerMainDB);
        exit 1;
        }
        require CPAN;

        if ( !( $ftpproxy && $httpproxy)) {
#          uninstall_file($gInstallerMainDB);
#        exit 1;
        }
        require CPAN;

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/64580.html