Forum Discussion
John_Ogle_45372
Nimbostratus
Sep 08, 2011How to install PERL Execpt and Net::SFTP
I know this isn't supported but... Does anyone know how to install the Perl Expect libraries on a 10.2x LTM? Also, Net::SFTP module.
Thanks,
4 Replies
- hoolio
Cirrostratus
Hi John,
Jason has some steps here using a vanilla CentOS instance:
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086419/Monitoring-Windows-Terminal-Services-from-BIG-IP.aspx
Aaron - hwidjaja_37598
Altostratus
I think this would work:
Using CentOS, you can download the module from CPAN, extract it and chdir to the newly created directory. Use PREFIX when you prepare the Makefile:
perl Makefile.PL PREFIX=/home/module/usr/local
The rest would be as usual:
make
make test
make install
Once it's done, transfer /home/module/usr/local to LTM. More detail about how to transfer the binary to LTM, you can take a look at Jason's steps.
Add the following line at the top of any of your scripts that require the module:
use lib "/home/module/usr/local/";
Good luck ... - John_Ogle_45372
Nimbostratus
Is there a version of EXPECT already installed? The link below discusses the creation of a custom monitor using EXPECT??
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/44/aft/1177072/showtab/groupforums/Default.aspx
Thank you, - hwidjaja_37598
Altostratus
It's TCL's expect.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
