Daily Archives: 2018-09-12

Create a PostgreSQL jail in Freenas 11 using iocage

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:

  1. 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.
  2. Follow these instructions at your own risk

Continue reading Create a PostgreSQL jail in Freenas 11 using iocage