TurnKey Linux Virtual Appliance Library

Combining different package

Hi 

I was wondering if it is possible to combine lamp, doamin controllerm, zimbre, gallery packages into one virtual appliances. Is so can someone give instructions on how to do so thank you.

Jeremy's picture

Theoretically yes, but not for the faint of heart...

It will require you starting with one of the appliances and then adding/installing the funcionality of the others. There is no tutorial on how to do this, and without doing it myself I can not guide you. You are on your own if you wish to go down that path (although I am more than happy to help where I can). Where this becomes particularly painful is Zimbra; as it is only available as a TKL legacy applliance. The others are all available in the latest v11.x. You could start with the Zimbra appliance and add the others, but that will only give you ~12mths of support left, so you will need to do it all again in the near future. The main reason the devs haven't released an updated Zimbra appliance AFAIK is because Zimbra no longer supports 32bit OS (which TKL currently is - 64bit builds, along with an updated Zimbra should come next release).

So assuming you are planning to use your own hardware, a much. much beter way to go IMO is to install a hypervisor OS (such as ProxmoxVE) to your hardware. Then you can install the various appliances as separate VMs. There are a number of advantages to going this direction. Some of the ones that spring to mind are:

  • Portability - The VMs are easily migrated from VM to hardware, or to alternative hardware hypervisor (using TKLBAM). You could migrate just one, or all of them...
  • Reduced backup size and complexity - Assuming you were to use TKLBAM, backups will be smaller (in total - as only data & config for each specific appliance needs to be stored).
  • Scalability - Resources can be matched to each VM according to it's needs and one app won't be able to  rob resources from another. Ie resources can be formally allocated to each VM.
  • Easily tweak and tune each app - without negative or unintended impact on others.
  • Redundancy - If one app chokes/crashes/breaks etc, it won't drag all the others down too.
  • Upgrade/update path - You can update each appliance indivudally thus spread out your workflow and ensure that each one is working well before going to the next.
  • Opportunity to test other appliances on the same hardware similtaneously (assuming you have left over resources).

Obviously there are some downsides too (many of the above points have inherant counter points) although personally I think the good outweighs the bad. The only one that I think may be a deal breaker were if you are planning on using AWS. Using VMs is not supported on AWS, so were you to migrate your appliances to AWS, then each would need to be independant, thus increasing the cost.

If you go for ProxmoxVE then you can set it up so it can download TKL OVZ templates directly from within the WebUI. Have a look here. Zimbra is the only one that isn't available as an OVZ template (because it's legacy) but you can download the ISO and install from that.

Thank you I guess I will

Thank you I guess I will leave zimbra out for now.

Jeremy's picture

64 bit is only required for KVM

So you could install a base 32 bit Debian with OVZ support. Theoretically Proxmox may be an option (on their wiki somewhere is instructions on how to install the PVE packages on 32 bit Debian) but you may be better off building your own OVZ host. Google should help there hopefully.

Or Dominick (DRivard) mentions in passing over on this thread) that he is using a n OVZ only host with a WebUI, it may be worth asking him about it over there?

The limitation with OVZ though is that you will only be able to use Linux, but that's probably not a huge big deal. With only 512MB you won't have a lot of head room anyway.

Jeremy's picture

Considering your limited specs I would go minimal Debian

Although a bootstrap JeOS would be ok too. Personally I'd go minimal Debian - the netinstall ISO is good in my experience assuming that your internet connection is ok.

Then you could try installing Proxmox, or alternatively you could just install OpenVZ. TBH the more I think about it, the more I'm inclined to suggest just installing the bare bones of what you want - ie Debian Squeeze netinstall with OVZ support (or here) and WebVZ (looks like a good OVZ WebUI but I've never tried it - install instructions here).

Happy to help out more if you need it, but probably better to start a new thread rather than hijack this one (I'll see it, but perhaps link back here so I know where we are up to).

Too little, too late?

Not sure if you are still looking for suggestions on 32-bit Hypervisors but if you don't mind non-opensource then VMWare's ESX 3.5.x series support 32-bit and they are free download.  You just have to register to get a free activation key.

 

Mike


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)