Notice: the projects area will be down for network maintenance from 8 pm to 10 pm PDT, Saturday 7/28. We regret any inconvenience.
RFID Software 3.0 - Installing the PostgreSQL Database
This guide describes how to install the PostgreSQL database. You need a database to install the RFID Management Console and the RFID Information Server modules. The procedures in this guide assume you are working on a Solaris 10 SPARC workstation and that you have access to the Internet and a web browser.
Use the following command to start the database server.
Optionally, create and edit the file /export/home/postgres/bin/dbstart using your
favorite text editor, and insert the command.
Use the following command to stop the database server.
Optionally, create and edit the file /export/home/postgres/bin/dbshut using your
favorite text editor, and insert the command.
pg_ctl stop -D /export/home/postgres/data
To verify that the database server started or stopped successfully, execute the following command. You might also add this command to the dbstart and dbshut scripts.
pg_ctl status -D /export/home/postgres/data
If you created the dbstart and dbshut scripts, make the new scripts executable.
# chmod +x /export/home/postgres/bin/*
Initialize the database instance:
# initdb -D /export/home/postgres/data
Edit the file /export/home/postgres/data/postgresql.conf.
Just after the following two lines:
#listen_addresses = 'localhost' # what IP interface(s) to listen on;
# defaults to localhost, '*' = any
Add the following line:
listen_addresses = '*'
Edit the file /export/home/postgres/data/pg_hba.conf as follows:
a. Locate the following two lines:
# IPv4 local connections:
host all all 127.0.0.1/32 trust
b. Add this line, replacing IP-address with the IP address
of your machine:
host all all IP-address/32 trust
Start the database server process by executing the dbstart command.
When you want to stop the database server, use the dbshut command.