Sorry. Numpty alert! FreeBSD Jails... Help?

Jack Raats jack at jarasoft.net
Tue Jun 7 19:03:23 UTC 2011


----- Original Message ----- 
From: "Dave" <dave at g8kbv.demon.co.uk>
To: <freebsd-questions at freebsd.org>
Sent: Tuesday, June 07, 2011 8:53 PM
Subject: Sorry. Numpty alert! FreeBSD Jails... Help?


> Hi All.
> 
> Total frustration here.  Before I incinerate the luckless box and get my 
> coat.
> 
> For whatever reason, I can't get my head round how "Exactly" to create 
> and use a jail, for a small webserver (Hiawatha) on FreeBSD V8.x

First compile the complete system. (kernel and world)
Then install ezjail form the ports

Then edit ezjail.conf in /usr/local/etc
enable ezjail in /etc/rc.conf

Then creating the base system:
ezjail-admin update -i
ezjail-admin update -P

after this you can create a jail using:

ezjail-admin create hostname.domain.net ip_address_of_jail

you can logon to your jail using:
ezjail-admin console hostname.domain.net

It's quite easy

Grtz
Jack







More information about the freebsd-questions mailing list