U
usenet
I'm replacing an old server with a new one, and I need to support
various Perl scripts which use lots of CPAN modules. The new server
has LAN network access only; it does not have access to our corporate
proxy server, which is the only way I can get to the internet (the old
server has proxy access, but not the new one, for various reasons
related to the network architecture of our data center).
I need to install a boatload of modules on the new server - many of
which have many prerequisites (and the prerequisites have
prerequisites...). The CPAN module usually figures all of that out for
me, but now I'm faced with the prospect of trying to figure out what I
need, download each one individually (as tar.gz files), sFTP them to
the new server, and install them manually (in the correct order, of
course). Yuck!
I'm looking for suggestions as to how to make that process less
painful. I've even thought maybe I could (somehow) download all of
CPAN (using the old server) and rsync it out to the new server (I've
got loads of disk space) and make the new server a "mirror" so I can
use the CPAN module and tell the machine to install modules from
itself... I don't know if that really makes sense, though (it's an idea
born of complete desperation).
If you had to install a hundred hairy & scary modules on a server
without internet access, how would you do it???
various Perl scripts which use lots of CPAN modules. The new server
has LAN network access only; it does not have access to our corporate
proxy server, which is the only way I can get to the internet (the old
server has proxy access, but not the new one, for various reasons
related to the network architecture of our data center).
I need to install a boatload of modules on the new server - many of
which have many prerequisites (and the prerequisites have
prerequisites...). The CPAN module usually figures all of that out for
me, but now I'm faced with the prospect of trying to figure out what I
need, download each one individually (as tar.gz files), sFTP them to
the new server, and install them manually (in the correct order, of
course). Yuck!
I'm looking for suggestions as to how to make that process less
painful. I've even thought maybe I could (somehow) download all of
CPAN (using the old server) and rsync it out to the new server (I've
got loads of disk space) and make the new server a "mirror" so I can
use the CPAN module and tell the machine to install modules from
itself... I don't know if that really makes sense, though (it's an idea
born of complete desperation).
If you had to install a hundred hairy & scary modules on a server
without internet access, how would you do it???