Forum: 

PostgreSQL AdminPack module on LAPP

MysticMan's picture

 Hello,

Can anyone post any tips or pointers for getting the PostgreSQL AdminPack module up any running on my LAPP appliance?

Any help would be greatly appreciated.

Thanks,
MM

Alon Swartz's picture

TurnKey appliances are essentially ubuntu underneath, so you can follow the ubuntu/debian tutorials and you should be fine.

A quick search showed that the adminpack is part of the postgresql-contrib package, so something like the following should work:
apt-get update
apt-get install postgresql-contrib
psql -U postgres -d postgres < /usr/share/postgresql/8.3/contrib/adminpack.sql
I haven't tried the above, but it should work.

Good luck!
Guest's picture

at least trying with version 8.4 the database has to be "template1"

so...

psql -U postgres -d template1 < /usr/share/postgresql/8.4/contrib/adminpack.sql

Post new comment