|go ahead... be a heretic|
copy perl and some modules into an offline OSby gideondsouza (Pilgrim)
|on Feb 24, 2013 at 06:00 UTC||Need Help??|
gideondsouza has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to create a better virtual environment to run a users perl code, so my objective is this:
I have perl and starman installed on my freebsd machine. I want to copy this installation into a another freebsd machine which is completely offline/disconnected from the internet.
Q: Is it as simple as a few directory copies? What about installing perl on the command line?
This other system is a freebsd jail. I've been trying day and night to run the jail, unfortunately I cannot get the jail connected to the internet to install modules directly. Since I'm going to disconnected it later anyway I was thinking about just installing everything I need on the host system and then copy it into the jail.
Thorough help with be appreciated with credits on tryperl.com :)
Update: Ok I'm halfway there. I figured I have to do the following for perl, right? Instead of $HOME/localperl can I just say /jails/myjail/usr/bin/perl ?:
Now what about Starman? Can I copy it from a directory? If I install from source I will have to manually install it's dependencies