Hi,
this is a step by step tutorial on installing PostgreSQL in a jail.
It will use a jail for the server binaries and a dataset for the database cluster (the data stuff).
On the FreeNAS host:
* Create user 'pgsql' UID 5432, primary group pgsql, nologin, nonexistent, disable password login
* Create a dataset, UNIX, (Blocksize 8k), e.g. '/path/to/the/pool/postgres'
* Set dataset permissions: owner + group: pgsql, Perms:755
* Create loader tunables:
[How-to] Install PostgreSQL in 9.3
this is a step by step tutorial on installing PostgreSQL in a jail.
It will use a jail for the server binaries and a dataset for the database cluster (the data stuff).
On the FreeNAS host:
* Create user 'pgsql' UID 5432, primary group pgsql, nologin, nonexistent, disable password login
* Create a dataset, UNIX, (Blocksize 8k), e.g. '/path/to/the/pool/postgres'
* Set dataset permissions: owner + group: pgsql, Perms:755
* Create loader tunables:
Code:
kern.ipc.semmni=256...
[How-to] Install PostgreSQL in 9.3