v 0.2
29 Jan 13
PBI
I should mention a couple of niceties in dealing with PBI installs:
- The package does not appear on your menu until the next time you log in.
- There is a preference selection to prevent the package making an icon on the desktop if you wish.
Jails
I started my exploration of Jails with a Linux Jail. First thing you have to decide is what local network address you are going to assign the Jail. At the very least, assign an address high up in the local address space - say 192.168.1.160 .. Next you get to name the jail and finally to choose which of the two scripts to use to install it. At the moment, there is the choice between Debian Squeeze and Gentoo. I chose Debian, since I'm more familiar with it and just like it and intend using Debian Jails.
Once you start the script, it just works. No deciding how big or anything like that. The Jail uses what it needs to. Nice. Note the checkbox that starts the jail on system startup. Oh, and when you shut down, the Jail is gracefully shut down before PC-BSD exits.
Upon completion, the Warden presents you with a list of your Jails and their status. Select your Jail, and under the "Tools" tab, you can start a root terminal to use the Jail. At the moment, the intent is text only via the terminal, however with more development, an X server environment will be easily achievable.
Would you like Wheezy or Sid with your Jail?
Whilst I am really happy that Debian is one of the two Linux distros selected for scripts to start Jails, probably because Debian has the BSD kernel available, Debian 6.0 Squeeze is old. It is on the verge of being "Old-Stable". Debian 7.0 Wheezy is on the verge of being the new Debian Stable for Servers. What to do?
The answer is really, really, simple.
The shell script used to start the Debian Squeeze Jail is located in
/usr/local/share/warden/linux-installs
You can look at the script or view the source here:
http://trac.pcbsd.org/browser/pcbsd/current/src-sh/warden/linux-installs/debian-6-squeeze
Look at Line 18 of the script:
debootstrap squeeze ${jDIR}
Here you can see that the way that Debian is installed is that "debootstrap" is called to load "squeeze" over the internet. Replace "squeeze" with "wheezy" and you will load Debian 7.0 Wheezy into the jail. I see no reason why this should not work with Sid as well.
Now that is cool.
Later .........
No comments:
Post a Comment