EDKCRB's picture

HI

I want to add multiple apps to one base install - such as have dns & file server & LAMP & Odoo & maybe Observium all on the same box

rather than hae a separate install/VM for each

can someone point to where/how to do this

thanks

ed

Forum: 
Cyberben's picture

I don't know if you can do it(add another appliance) to a single appliance.

I was very curious when I read about this particular application on this web site,

"TurnKey LXC simplifies downloading and deploying multiple TurnKey apps side-by-side on the same host in securely isolated lightweight containers while handling tricky details such as network routing. LXC (AKA LinuX Containers) is the rising star lightweight virtualization technology that powers Docker and other next generation software deployment platforms."

I run this Turnkey appliance and host a TKfile server appliance along side a TKwordpress appliance. With the Turnkey LXC application as the host of a machine you are able to use command line to install multiple "containers". I think even another TKLXC.

 

 

 

Jeremy Davis's picture

As Ben hints, each TurnKey appliance is provided/intended as a discrete standalone appliance, including the full OS and the specific dependencies for the particular namesake software and/or specific functionality intended. There are some common components, but generally each one is as minimalist and targeted as possible.

Whilst it is possible to include the functionality of multiple appliances within a single monolithic server, it's not really the problem that TurnKey is trying to solve. So we don't provide any easy way to do that per se (I'll circle back to ways to Ben's note of LXC further down). If you strictly want a single monolithic server that includes the functionality of multiple appliances "all-in-one" style, then you'd need to configure and install yourself. I'd be open to trying to assist, but it's hardly going to be a newb friendly task (although I guarantee you'd learn a lot in the process!).

Personally, I'm not a big fan of an "all-in-one" approach. I much prefer the paradigm of treating VMs "like cattle rather than pets"! From that view, so long as you have good backups of data, the individual servers are disposable. As such, the redundancy that individual servers provide is a plus. It also means that if I'm doing maintenance on my git server (I run a local Gitea instance) it won't interfere with my mediaserver. So I can have something playing in the background while I reboot my git server! :)

Regardless, I get that might not suit everyone.

As Ben notes, TurnKey also provides a LXC host appliance. LXC could be considered a type of virtualisation, but is much more resource efficient as it leverages the host system more directly. So using our LXC appliance would be one option to host a number of TurnKey appliances on a single host (VM or physical). And that would achieve something close to your ends. Sort of a "middle ground" between individual VMs and an "all-in-one" monolithic server.

On the downside, our LXC host is not quite as newb friendly as it perhaps could be. Hopefully when we get to it, the new v16.0 release might be an improvement? But I can't guarantee by how much...


As something of an aside, I personally run a Proxmox VE hypervisor on hardware. In the past I used an old desktop and it worked a treat until I started running out of RAM (the motherboard only supported 8GB total and with 20 odd instances it wasn't enough). I've since upgraded to purpose-built hardware (with 32GB RAM - currently have ~15GB free). Mostly I run TurnKey servers on that and most of them are LXC containers. The beauty of Promox is that besides LXC, it also provides KVM for "proper" VMs too and a unified web UI to control all the guests. Having full VMs too is a bonus as In my experience, some scenarios just work better with fully virtualised hardware, plus KVM also supports running alternate OS, such as Windows - LXC only supports Linux guests.

Add new comment