Posts

Showing posts from November, 2008

Setup Postgres on Fedora Linux 10

Installing PostgreSQL on Fedora Linux 10 is pretty straight forward. You need to follow the following steps: #1 Initialize postgres initdb /var/lib/pgsql/data #2 Add the following line to pg_hba.conf: local all all trust #3 Switch to postgres user su postgres #4 Connect to PostgreSQL psql -d template1 #5 Change password ALTER USER postgres WITH PASSWORD 'this_is_my_password'; #6 Remove line from step 2