Installing INDX under Ubuntu Linux - sociam/indx GitHub Wiki
How to install INDX under Ubuntu
Getting packages
apt-get install postgresql-server-dev-9.1 python-dev postgresql python-virtualenv git
Setting up postgres
Start postgres
sudo service postgresql start
Connect and add a new user with username webbox
and password webbox
(or whatever you like).
su -upostgres psql
> CREATE ROLE webbox WITH PASSWORD 'webbox' CREATEROLE CREATEDB LOGIN;
Add these lines to /etc/postgresql/9.1/main/pg_hba.conf
:
local all all md5
host all webbox samehost md5
(the second line is optional, it allows TCP connections from localhost - this is unlikely to be your setup).
Remove this line from the same file:
local all all peer
(These changes force postgresql to use its own roles as its authentication instead of unix users)
Then (re)start postgres:
sudo service postgresql restart
Getting INDX
git clone 'https://github.com/sociam/indx.git'
cd indx/
Run INDX
Now follow the general instructions at https://github.com/sociam/indx/blob/master/README.md