Using the FreeBSD Jail mechanism, I’m slowly getting to a minimal Admin intervention Server setup:
host# ezjail-admin create -f djangoserver extranet a.b.c.6
host# /usr/local/etc/rc.d/ezjail.sh start extranet
workstation# ssh a.b.c.6
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.0-RELEASE (GENERIC) #0: Sun Feb 24 10:35:36 UTC 2008
This is a preconfigured virtual machine (jail) for running Django applications.
Avoid manual configuration!
[md@extranet ~]$ su
extranet# cd /usr/local/www
extranet# svn co https://example.com/.../projects/extranet/trunk extranet
extranet# ln -s /usr/local/www/extranet /usr/local/www/djangoprojectdir
extranet# sh /usr/local/etc/rc.d/apache22 start
Posted in c0re | No Comments »