In normal operations, the datanommer consumer daemon will be running somewhere and continuously stuff each new fedmsg message that it sees into a postgres DB. If you're just sitting down to hack on datagrepper, that won't be your situation so you'll need a dump of the database.
Note
If you've tried installing postgres before and think you've
messed it up, you'll need to blow away the old databases with
$ rm -rf /var/lib/pgsql
Install postgres (and fedmsg, while we're at it):
$ sudo yum install -y postgresql-server fedmsg $ sudo postgresql-setup initdb
Make sure postgres is set to allow connections over tcp/ip using password
authentication. Edit the /var/lib/pgsql/data/pg_hba.conf
. You might
find a line like this:
host all all 127.0.0.1/32 ident
Instead of that line, you need one that looks like this:
host all all 127.0.0.1/32 md5