Office of Museum TechnologyFLMNH Linux Pages |
![]() |
yum -y install postgresql postgresql-server php-pgsql
/sbin/chkconfig postgresql on /sbin/service postgresql start
su - postgres [The dash is important!] psql template1 [template1 is a database that is included by default with PostgreSQL.] psql# create user web_user; psql# create database web_database owner web_user; psql# \qEdit the postgres host based access configuration file:
local all all trustRestart the database service.
/sbin/service postgresql restart4. Test your connection.
psql -U web_user web_database5. Following the above steps, the database location on Fedora Core 4 is /var/lib/pgsql/data.
| Send us an email: linuxpages-at-flmnh.ufl.edu (Replace '-at-' with '@') |
FLMNH Linux Pages Home |
OMT Home |