Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-2012, 02:28 PM
thnewguy thnewguy is offline
Senior Member
 
Join Date: May 2010
Posts: 720
Thanks: 0
Thanked 35 Times in 31 Posts
Default Linux Jails
At the moment I believe Debian and Gentoo Linux jails are supported, will other Linux distributions be supported? Or is there an easy way to set up a Linux jail that isn't officially supported? A lot of Linux software is designed to work with Red Hat/CentOS and I think it makes sense to target that popular server platform to gain support for things like cPanel.
Reply With Quote
  #2  
Old 07-31-2012, 02:45 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,443
Thanks: 0
Thanked 107 Times in 88 Posts
Default Linux Jails
At the moment those are the two distros I have scripts setup to do an
install of. I would like to add others as well, and the good news is
that the community can help with that

You'll notice that the warden GUI lets you pick a Linux install script.
These are just simple shell-scripts which do the work of fetching the
Linux distro, and extracting it into a directory (the jail). Where I
could use some help is from users of those particular distros to assist
in writing scripts which do that for the distro of their choice. CentOS
would be a good candidate, as well as others I'm sure. Once you get a
script which works, send it in and I'll commit it for everybody to use

Examples of the two scripts are here:

http://trac.pcbsd.org/browser/pcbsd/...linux-installs
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
The Following User Says Thank You to kmoore134 For This Useful Post:
sg1efc (09-25-2012)
  #3  
Old 09-22-2012, 07:52 PM
gour gour is offline
Member
 
Join Date: Jan 2011
Location: Hlapičina (Croatia)
Posts: 72
Thanks: 1
Thanked 2 Times in 1 Post
Default support for Ubuntu
Originally Posted by thnewguy View Post
A lot of Linux software is designed to work with Red Hat/CentOS
Linux jail looks as great feature and althought atm I use Archlinux, I'd like to see support for Ubuntu 'cause it provides nice support for those few apps we miss in Free(PC)BSD...

However, I promise to put PCBSD (probably RC2 due to need for legacy ATI support - both machines use Radeon) and hopefully, this time, being able to switch fully to PCBSD.
Reply With Quote
  #4  
Old 11-07-2012, 08:59 AM
jaxxed jaxxed is offline
Member
 
Join Date: Jul 2012
Posts: 42
Thanks: 2
Thanked 4 Times in 4 Posts
Default
Ubuntu might be hard to push. I think that the installation requires access to a kfreebsd repository.
Reply With Quote
  #5  
Old 01-28-2013, 07:41 PM
abzt abzt is offline
Junior Member
 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default any plans to allow installing a linux distro from an ISO into a linux jail?
I was wondering if there are any plans to enable a user to install a linux distro from an ISO file into a linux jail? This would make it much more convenient to deal with dedicated distros such as the Elastix Asterisk distribution, as an example.
Reply With Quote
  #6  
Old 02-04-2013, 11:58 AM
dscialom dscialom is offline
Junior Member
 
Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Slackware in Warden
Hi Kris,

I would like to male a script to install the Slackware distribution from the Linux Jail.

To do so, can you provide me with information on the installation scripts to understand how it works? What process execute the installation scripts and what are the arguments (whith it description) it news to make the installation.

Thanks in advance.

David
Reply With Quote
  #7  
Old 02-05-2013, 06:25 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,443
Thanks: 0
Thanked 107 Times in 88 Posts
Default Slackware in Warden
Sure! The scripts are just standard shell, but a couple of variables are
passed that you can use:

$1 = The Jail Directory we are installing to, this will be where to
extract your linux files
$2 = The IP address of the jail we are creating
$3 = The meta-directory of the jail, where we store settings and such

The meta-directory is key, since there you can create these files:

jail-stop = Stop command for inside jail
jail-start = Jail start command

If you take a look at /usr/local/share/warden/linux-installs/ you'll see
a few examples of scripts we already use.

If you get it working, post it here and we can include it in the next
warden update!
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:06 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.