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
In reply to copy perl and some modules into an offline OS by gideondsouza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |