in reply to Installing Modules on a Standalone

I just found myself in the same position last week -- a Windows machine with limited access to the Net. I can get to the ActiveState web-site and download the Perl MSI package since port 80 is allowed through the firewall, but the port that ppm() uses was blocked, so I couldn't get any CPAN modules.

I ended up doing a full installation of Perl and all of the needed modules on an external machine, using a flash drive as my installation device. I took the flash drive back into the Lab (after making sure that the Security Powers understood exactly why I was doing this) and copied the flash-drive onto the hard-drive of the Target machine, overlaying the existing Perl installation. The same process will have to be followed when they want to add another module or upgrade the Perl.

The Lab owners are currently in negotiation with the Secutiry group to get the ppm-port allowed, but it is going to be a long slog.

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^2: Installing Modules on a Standalone
by nobull (Friar) on Mar 28, 2005 at 18:03 UTC
    I can get to the ActiveState web-site and download the Perl MSI package since port 80 is allowed through the firewall, but the port that ppm() uses was blocked, so I couldn't get any CPAN modules.
    In my experience the port ppm uses is 80.

    Perhaps in reality 80 is blocked but the browser is condigured to use a proxy.

    To get ppm to use the proxy try the following at the command prompt before you run it:

    SET http_proxy=http://myproxy.example.com:3128

    (Obviously use the hostname and port of your proxy).