ESXi

 View Only
  • 1.  perl

    Posted Apr 08, 2014 12:28 AM

    Hi, I don’t find /usr/bin/perl under esxi 5.5u1 – would like to use it to send emails. How can I install that? Using the image HP is providing for their/my HP ProLiant Microserver Gen8.

    Thanks in advance Michael



  • 2.  RE: perl

    Posted Apr 08, 2014 05:01 AM


  • 3.  RE: perl

    Posted Apr 08, 2014 05:57 AM

    Hi, I see an installation under windows and under centos in that doc plus a description of a virtual appliance, but how will the perl binary get to the esxi host? I hope I'm not getting anything wrong. Or better: I DO hope I'm getting anything wrong. :smileycry:



  • 4.  RE: perl
    Best Answer

    Posted Apr 08, 2014 06:18 AM

    vSphere SDK for Perl is a client-side Perl framework that provides an easy-to-use scripting interface to the vSphere API.

    You can try below steps to install perl on esxi

    #esxcfg-nas -y -a -o perl-binary -s /perl perl-binary

    #export PATH=$PATH:/vmfs/volumes/perl-binary/lin32/perl-5.8.8/bin:/bin:/sbin:/vmfs/volumes/perl-binary/lin32/perl-5.8.8

    #export PERL5LIB=$PERL5LIB:/vmfs/volumes/perl-binary/lin32/perl-5.8.8/lib/5.8.8/i686-linux-thread-multi:/vmfs/volumes/perl-binary/lin32/perl-5.8.8/lib/5.8.8:/vmfs/volumes/perl-binary/lin32/perl-5.8.8/lib/site_perl/5.8.8/i686-linux-thread-multi:/vmfs/volumes/perl-binary/lin32/perl-5.8.8/lib/site_perl/5.8.8:/vmfs/volumes/perl-binary/lin32/perl-5.8.8/lib/site_perl



  • 5.  RE: perl

    Posted Apr 08, 2014 09:53 AM

    Ok got it, I will use vMA to accomplish what I want. Thanks for pointing me there.

    Kind regards