Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2011 21:03:19 +0200
From:      "Jack Raats" <jack@jarasoft.net>
To:        "Dave" <dave@g8kbv.demon.co.uk>, <freebsd-questions@freebsd.org>
Subject:   Re: Sorry.  Numpty alert!  FreeBSD Jails...   Help?
Message-ID:  <DA42A18D3353464582EAC6562997E661@jarasc430>
References:  <4DEE7399.16564.FAC5D38@dave.g8kbv.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Dave" <dave@g8kbv.demon.co.uk>
To: <freebsd-questions@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








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA42A18D3353464582EAC6562997E661>