These are the directions to make this work, in the case of how I do things (default install location of /usr/local/pgsql, user postgres).  Justin's original documentation with my rearranging and additions are in README

1) untar into your postgresql source contrib dir (mine is /usr/src/postgresql-7.4.1/contrib)
2) edit pg_autotune.c - alter your system memory, minimum connections, paths to your pgsql installation and pgsql data directory (PGDATA), and the remoteserver variable.  More information on the remoteserver variable is in the README directory. 
3) run make, copy pg_autotune to your pgsql bin dir
4) copy the pg_atconfig, saftycatch.sh, and postgresql.template file to your PGDATA directory.
5) backup your postgresql.conf file
6) createuser pgsql
7) createdb pgsql
7) createdb metrics 
8) cd base pgsql dir
9) pg_autotune --host localhost --user postgres 

Hope this helps, 

Gavin <gmr at ehpg dot net>
12/29/2003
