Skip to content

0kso/TuxCargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tux Cargo

Tux Containers - Make LXC easy for test-and-deploy

Introduction

Linux Containers (LXC) are an awesome way to isolate processes and create efficient and flexible virtual machines with Linux. Tux Cargo aims at building an easy way to configure and deploy LXC virtual machines.

Main objectives are :

  • Creating new virtual machines with a NAT network configuration, the next IP available on your virtual network, your favourite packages, your public ssh key and VIM settings, a preconfigured user, NGinx virtual hosts, iptables rules, ...
  • Deploying a virtual machine to a host and automatically reconfigure it for the new environment (network setup, NGinx virtual hosts, iptables rules, ...)

# txc create djangoblog
# ssh djangoblog.vm
(customizing machine...)
# txc deploy djangoblog host.superserver.net -h blog.mysite.net

# txc clone wordpressblog
(configuring machine...)
# txc deploy wordpressblog host.superserver.net -h otherblog.mysite.net 

Host Steps

  1. Configure network interfaces (NAT, ip forwading, ...)

Guest Steps

  1. Load and create config for new machine
  2. Generate builder from template (IP, iface, packages, ...)
  3. Run image builder
  4. Create user, add ssh authorized keys
  5. Host: configure iptables, nginx

Deployment steps

  1. Make sure vm is stopped
  2. Rsync vm (or zip)
  3. Configure server
  4. Launch on server
  • Pour info, je n'ai encore réussi qu'à créer correctement des conteneurs Debian (0kso)

(c) Copyright 2012 okso.me . Some Rights Reserved.

This work is licensed under Free Software Foundation's GNU AGPL v3.0.

AGPL Logo

About

Tux Containers - Make LXC easy for test-and-deploy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages