gideondsouza has asked for the wisdom of the Perl Monks concerning the following question:
See Update below.
I've been hacking and upto no good with this project here: www.tryperl.com. It's a learning project and I'm a newbie. I've been posting prolifically about it for some time.
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 ?:
wget http://www.cpan.org/src/5.0/perl-5.16.2.tar.gz tar -xzf perl-5.16.2.tar.gz cd perl-5.16.2 ./Configure -des -Dprefix=$HOME/localperl make make test make install
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: copy perl ... OT
by ww (Archbishop) on Feb 24, 2013 at 12:41 UTC | |
Re: copy perl and some modules into an offline OS (copy)
by Anonymous Monk on Feb 24, 2013 at 07:45 UTC | |
by Anonymous Monk on Feb 24, 2013 at 07:48 UTC | |
Re: copy perl and some modules into an offline OS
by gideondsouza (Pilgrim) on Feb 24, 2013 at 08:21 UTC | |
by Anonymous Monk on Feb 24, 2013 at 08:58 UTC | |
Re: copy perl and some modules into an offline OS
by topher (Scribe) on Feb 26, 2013 at 00:10 UTC | |
Re: copy perl and some modules into an offline OS
by gideondsouza (Pilgrim) on Feb 26, 2013 at 15:53 UTC |