This tutorial covers creating a jail to run PostgreSQL in a jail using the iocage commands.
IX Systems introduced the iocage jail management system to replace the warden based system. I’m running FreeNAS 11.1. which still has the Warden method in the web interface, however the iocage framework is available if you are prepared to use the command line.
Before starting, a couple of caveats:
- FreeNAS is a NAS, not a general purpose, or dedicated database server. I use this on a small system to support a couple of small apps which need a “proper” database back-end. It also gives a small personal database server to for small dev tasks.
- Follow these instructions at your own risk