-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-10-31 07:24, Hung Son Nguyen wrote: > Hi guys, > > Can I install software on Jail without entering the Jail? > Because I plan to write a shell script that can automatically create jail > with java and sql installed. Through documentation on the internet, I see > some instructions about installing software on FreeBSD Jail but I have to > enter Jail. > > I expected to listen your supports as soon as possible. > > Thanks, > You can also run an arbitrary command in a jail by doing:
jexec <jailid> <command> However, the utility and the files must exist inside the jail's chroot - -- Allan Jude -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJScn/OAAoJEJrBFpNRJZKfAvsP/0LJAQZBiQf3DeZyi355otYM cN/CGDVpagtckUz0JiqaDrNxE0cuWHDW9WuTNuW13gU6in6LSQ/YJjnPy9umzegt KVfpXflgiGqLX+2G/WHr+wKhAmYSPja7aL/vVlMI4hPiIwr1O1g5FXRTYh5JlvHo m8vFqEzDdNJh+b4m91ed+3/+a/vjZAhE3A0TmmqWZTmK65qedC1/0kvKZQTtGczk bIz3GNsnn1cOoPXEeqVTNzJbvL+31MntN0cOvbivDdN1+5zpDOlhQteaIZRYSDG1 ujb3wZtC0rjypYGYhyd53rvWSzjoBmANvTn90T9ugYMhfpAxxhKXN0T619R1weI8 bNI6LADY5q01/t8jOqgFYgHuKg54O0nWC2r49Am8TOwwG3ljBunYki8k+B9iFOkl Uy8E4Gg1/EbvZlagyPKDpUbcy0LWPqUxPQ6iJtbOD6tt0uKqr4QAR1baiBxKoXLi YyN0p0u3/cgtnR4iyph+/3m02Thwfsg6cetn80JXBk3Y9VrLXP+MJ5a2Ox43cFgB kUGR4Mj6qbiAp2vJa9pZAigIJMHni9en88czsKu0EJDGM5Nn49fygxcvgeQP2CEd b6DVUn2aK9YmKjeyhB1oPtBeN82yXnN1fdaeYsWE2XPPBZjm/dvhNCOhFWHeUYmH kq/b5hO8V97NUGL+BwJx =dGt4 -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "[email protected]"
