Saturday, 17 March 2012

getting yaptest to run under ubuntu

So here are some (hopefully complete) notes I have made over the last few hours trying to get yaptest running

after downloading yaptest from
untar etc
and get that made and installed

next you need to get postgres up and running
so you need to be root
apt-get install postgresql

dont forget to start it /etc/init.d/postgres start

You also need a bunch of perl modules
apt-get install libdbd-pg-perl
apt-get install libparallel-forkmanager-perl
apt-get install libdigest-md4-perl
apt-get install libxml-simple-perl

change the pg_hba_conf file too for postgres

change the following lines at the bottom of the file
# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all          trust
# IPv6 local connections:

host    all         all         ::1/128               trust

Remember to restart your postgres server ;)

apt-get install pgadmin3
you will need to use this connect to the database, find the yaptest_user under the login roles and give them create db privilages.

you can now run to create the database and run yaptest as normal.

ldapsearch is provided by ldap-utils in ubuntu

No comments: