Postgres configuration
PostgreSQL configuration
We have changed the postgreSQL data directory using the NFS. For that, we have to:
- stop the database with /etc/init.d/postgresql-8.3 stop
- reset database with /usr/lib/postgresql/8.3/bin/initdb -D /mnt/nfs-demeter/preingest/postgres/data
-D option allow to change the data directory - restart the server with /usr/lib/postgresql/8.3/bin/pg_ctl -D /mnt/nfs-demeter/preingest/postgres/data -l logfile start -l option allow to append the server log ouput to logfile
We also create a database named fedora for Drupal and fedora-commons installation.