Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Security Configuration

A good configuration for

/etc/postgresql/pg_hba.conf

and DSpace might be:
{{

Unknown macro: {# TYPE DATAASE USE IP-ADDESS IP-MASK METHODlocal all postgres ident sameuserlocal all all ident sameuserhost all all 127.0.0.1 255.255.255.255 passwordhost all all }

}
This allows users to access their own databases on the local machine using sockets (ie. not tcp/ip). However, for the DSpace installation we want to connect over the network, and while we'll authenticate as the DSpace user, we won't be the DSpace user.
So, to create the DSpace database, you might have to use the following:

createdb -U dspace -E UNICODE dspace -h localhost

The

-h localhost

bit specifies that the PostgreSQL createdb command should connect to the local machine over tcp/ip.

  • No labels