Friday, July 31, 2009

I need to install PERL module, but I don't think I'm admin... can I install through SSH?

I have permissions to some folders including a CGI-BIN to a website, and I use an SSH client tool. I can run some shell scripts as well. Is that enough if I want to install an additional PERL module in the Apache Web Server? Don't know if I need more, or which directory to try it at.

I need to install PERL module, but I don't think I'm admin... can I install through SSH?
No, SSH will not give you admin permissions. Luckily, you can install Perl modules anywhere you want. See link below. Here is an excerpt:





you can install modules into any directory you wish. For instance, where I say perl Makefile.PL, you can substitute perl Makefile.PL PREFIX=/my/perl_directory to install the modules into /my/perl_directory. Then you can use the modules from your Perl programs with use lib "/my/perl_directory/lib/site_perl"; or sometimes just use "/my/perl_directory";.
Reply:Hey, why you do not change the permission ???
Reply:You need to install the module to your home directory instead of the system paths, here's a small writeup in how you setup the proper environment at runtime





http://wiki.developers.facebook.com/inde...


No comments:

Post a Comment