Keith Watanabe * NET 2.0

Quick Postgres Source Installation
By: Keith Watanabe
Published On: 4-23-2004

You can put this into a shell script and run it: ./configure --prefix=/opt/databases/postgres7.4.2 --enable-locale --enable-multibyte=UNICODE --with-odbc --with-java --with-perl --with-python --with-tcl make make install all the --with-* style flags are what i tend to use. make sure that you have certain software setup when you do this such as java and tcl! Java additionally requires ant. So you need to have the ant binary in your $PATH. tcl requires additional libraries for the client software program. If you're running Redhat, make sure you install those tcl rpms. I use apt-get from freshrpms.net to avoid the headaches of dependencies. From there, if you want to get it started, here's a few additional steps: # adduser pgsql # mkdir /opt/databases/pgsql/data # chown pgsql /opt/databases/pgsql/data # su - pgsql # /opt/databases/pgsql/bin/initdb -D /opt/databases/pgsql/data -S That last commands puts the server into a daemon mode and forks it into the background.

Tags: Postgres
AddThis Social Bookmark Button Sphere: Related Content

Trackbacks: (Trackback URL)

No Comments Posted Yet
October [November] December
Sun Mon Tue Wed Thu Fri Sat
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6