When running a virtual server in a jail, one would like to avoid replication of files as much as practical. One candidate for sharing would be the ports tree in /usr/ports. One could just make a symbolic link from /usr/ports in the jail’s tree to the one …
Articles tagged with "jail"
After Virtualbox crashed my machine, I decided to try my hand at building a virtual server using FreeBSD’s jail facility.
First, I created a directory to serve as the root directory for my jail;
slackbox# mkdir -p /usr/local/var/jails/192.168.0.100
Then I built the …
In the previous item, we saw how to build, start and stop a jail. The rc scripts allow us to easily start and stop a jail.
Starting the jail (from the host):
slackbox# /etc/rc.d/jail onestart server Configuring jails:. Starting jails: server.erewhon.net.
Then log into the …