From owner-freebsd-doc@FreeBSD.ORG Thu Oct 31 16:05:43 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3A1D8AB4 for ; Thu, 31 Oct 2013 16:05:43 +0000 (UTC) (envelope-from freebsd@allanjude.com) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 173CC2AE0 for ; Thu, 31 Oct 2013 16:05:42 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.108.129]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 0FC7142C5F for ; Thu, 31 Oct 2013 16:05:33 +0000 (UTC) Message-ID: <52727FCF.7040703@allanjude.com> Date: Thu, 31 Oct 2013 12:05:35 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: About installing software on FreeBSD References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 16:05:43 -0000 -----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 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-----