From owner-freebsd-doc@FreeBSD.ORG Thu Oct 31 11:36:14 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C5AC6C54 for ; Thu, 31 Oct 2013 11:36:14 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 542612515 for ; Thu, 31 Oct 2013 11:36:14 +0000 (UTC) Received: from ox-dell39.ox.adestra.com ([178.78.126.226]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r9VBZwSV094494 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 31 Oct 2013 11:36:05 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r9VBZwSV094494 Authentication-Results: smtp.infracaninophile.co.uk/r9VBZwSV094494; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [178.78.126.226] claimed to be ox-dell39.ox.adestra.com Message-ID: <52724096.3020509@freebsd.org> Date: Thu, 31 Oct 2013 11:35:50 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,DCC_CHECK, RDNS_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD Questions Mailing List List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 11:36:14 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/31/13 11:24, Hung Son Nguyen wrote: > Can I install software on Jail without entering the Jail? > Because I plan to write a shell script that can automatically create ja= il > with java and sql installed. Through documentation on the internet, I s= ee > some instructions about installing software on FreeBSD Jail but I have = to > enter Jail. >=20 > I expected to listen your supports as soon as possible. >=20 This is a question more for the freebsd-questions@.... list ratherthan freebsd-doc@..., but never mind. Yes, it is possible to install software in a jail from the host system. It's easiest to do with pkg(8) -- see the description of the '-j' flag in pkg(8). You can do this in various other ways, but it is rather more fiddly and involves setting a bunch of environment variables and so forth. Cheers, Matthew --ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSckCdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnyK8P+wXOWRoSb0EZ1W3QdOjnXv7y BrOhtk3HXIc/LX7gUv465P+4YDelcOP2I4CFamF0aNIiTFqdzZQMU3T6Ut7n03X0 RaDuYMA13Uj44PJCd1yAH2WnWVWQIGm5DkYUQAcm20c6Z47uk2V18GkptVh8xKl0 4k/KqVsS49/Vr2fs8sCgTEZ/72sQhVgNNN0n0uzKIx/TiN6B5ICH2UmcmJD4z1r/ +DxLiFcnJg6U3akmTJEyu3VeY9OyelWOXMwYXlziffHxZ8VFxAdb/YZtY8YwpDm/ S43WQO3tQWqvaQmhzjmaUdkT/BiIOx4M4w8LyDis3S68qpXq9gYAmBbGnBeHd+Dh 4qzMAFdnDxxRHHHfP478KcGOU+E+NrSNnjZzH2jLj7LDKmn8aNyDzmHAh1BjFqf9 3t7hYIg0IoyvvUzMXM4Ne+0EmYHLeK6XlYguAKoEOPlBG7agT3bf5uDIqlG+dOEQ sq7b9AmMsa94lhg9ZXXM1T1Q3JyKJW3ugTltqVnbHaghOnQLE6x3tNXrEayZbokl UQt7aQ+zKzpGF6oS8rhagn4pIcVJ1D11Vr78zMQkVVzMJ5A09CG7ZDPImAQU8AnY rCmh/jAIKXzTW/GmJ0aF7u8lvoYTDbwEPwpzTue49AGDKoJYEg7KrAYukdgjhWsk ne/g6vrFAgN7iqfeL2J7 =ZACL -----END PGP SIGNATURE----- --ewEqd3MTHh9SHAmCcBaXemN4BsdfXMiD4--