1 How to setup the Postgres database for GNUnet.
3 NOTE: This db module was developed for Postgres 8.3. I have no
4 idea what the minimum version that we require is exactly.
9 + Easier to setup than MySQL
15 MANUAL SETUP INSTRUCTIONS
17 1) in /etc/gnunet.conf, set
20 2) Then access postgres to create a user; I had to do this to get
21 access and create a user:
24 At this point, use the name of the user running gnunet
25 for the role, do not set it to superuser, allow the creation
28 3) As that user, create a database (or two):
30 $ createdb gnunetcheck # this way you can run "make check"
34 4) Still, perhaps you should briefly try if the DB connection
35 works. First, login as the user who will run gnunetd. Then use,
37 $ psql gnunet # or gnunetcheck
40 If, after you have started gnunetd at least once, you get a
41 gn090 table here, it probably works.
45 If you have problems related to the postgres module, your best friend
46 is probably the postgres manual. The first thing to check is that
47 postgres is basically operational, that you can connect to it, create
48 tables, issue queries etc. (see step 4 above for details).