Monday, August 1, 2011

Re: Most stable Linux distribution for Django - Python development



On Mon, Aug 1, 2011 at 5:43 PM, Doug Ballance <dballanc@gmail.com> wrote:
I'll second the use of something like LXC (new to me) or OpenVZ (what
we use), allowing you to run/test multiple distros at once.  If you
want to try debian (or pretty much any linux distro), download a
container skeleton for it and install in a few seconds.  I've used
virtualbox/kvm, but I found containers in openvz to be much easier to
work with.  A 'machine' is simply a folder on the host server.  You
can zip it up, move between machines, rsync it.  Whatever.  It's like
virtualenv for distros.

To be able to rsync/clone an entire container to create a second
instance for upgrade or other testing is a wonderful thing.  Since we
also use in production, it's a simple remote rsync to have a fully
working clone of our live servers for troubleshooting too.  I can't
imagine going back at this point, and even run it on single purpose
machines in production for the flexibilty.

+1. The same concept applies to LXC. Even before we used LXC, we used to just use a basic chroot with our own hacky init.d stuff ;D Containers are the way forward!


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment