OSEE - PostgreSQL Installation
Pre-Requisites
- Ensure you have selected the best database for your needs
Instructions
- Download PostgreSQL from http://www.postgresql.org/download
- Follow PostgreSQL installation instructions
By default, the PostgreSQL database server is configured to allow only local connections. If remote connections are to be allow, edit postgresql.conf and pg_hba.conf to set the necessary permissions. (To setup an unsecured database instance set listen_address to * in the postgresql.conf file and add the following line to the pg_hba.conf file: host all all 0.0.0.0/0 trust)
- Configure PostgreSQL for OSEE
- Launch pgAdmin (in windows Start->All Programs->PostgreSQL*->pgAdmin III)
- Double Click on PostgreSQL Database Server (listed under Servers on the left hand side)
If you are prompted for a password type the password selected during installation (user should be postgres by default)
- Create an "osee" user
- Right-click on Login Roles (at the bottom of the tree on the left hand side) and select "New Login Role..."
- Enter the following in the dialog:
Role Name: osee
Can login should be checked
Password: osee
Password (again): osee
For Role Priviledges - select the following:
Inherits rights from parent roles
Superuser
Can create database objects
Can modify catalog directly
- Click 'OK'
- You should now have an "osee" user under Login Roles
- Expand the Databases item in the tree
- Create the OSEE database right-clicking on Databases and selecting "New Database..."
- Enter the following in the dialog:
Name: osee
Owner: osee
Encoding: UTF-8 - Click 'OK'
- Ensure there is now an "osee" Database under Databases
- The relational database is now configured. Proceed to OSEE Database Initialization