Postgres Install

Head Surfer
January 22nd, 2012

Here’s a quick and easy way to install postgres:

Download the postgres install files and extract them.  Then cd into the primary directory and run:

gmake install
groupadd postgres
adduser -g postgres -d /home/postgres postgres
passwd postgres
mkdir /home/postgres/data
chown postgres. /home/postgres/data
su – postgres
/usr/local/pgsql/bin/initdb -D /home/postgres/data
/usr/local/pgsql/bin/postmaster -D /home/postgres/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

How To Host A Website is a Web Hosting Review service. We provide web hosting reviews for best hosting, server hosting, cheap hosting and more as we answer the most important website hosting question - How To Host Website pages successfully.

Words visitors used that found this page online:

Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We are independently owned and the opinions expressed here are our own. Please contact us if you would like your web hosting company considered for a web hosting and support review.
Back to top Copyright 2012 © How To Host A Website, An OS Hosting, LLC Company