Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: copy perl and some modules into an offline OS

by Anonymous Monk
on Feb 24, 2013 at 08:58 UTC ( #1020382=note: print w/ replies, xml ) Need Help??


in reply to Re: copy perl and some modules into an offline OS
in thread copy perl and some modules into an offline OS

You're doing things backwards

use a root prefix, like /inside

build all your stuff relative to /inside, all the software

then make a jail ANYWHERE

then copy /inside into jail

inside the jail treat /inside as root

or if you want /usr/bin .. instead of /inside/usr/bin

start copying /usr/bin ... into your jail

then go to jail, switch to jail, chroot to your jail ,

then install perl as normal into whatever place inside the jail, using absolute jail paths

see links for chroot setup

  • Comment on Re^2: copy perl and some modules into an offline OS

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2016-06-30 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (388 votes). Check out past polls.