pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: H. Hall <hhall1001@reedyriver.com>
To: pgsql-admin@postgresql.org
Cc: Carol Walter <walterc@indiana.edu>
Subject: Re: New postgres installation
Date: Fri, 15 Aug 2008 15:35:32 -0400
Message-ID: <48A5DA84.5020400@reedyriver.com> (raw)
In-Reply-To: <5F985D05-4B66-4695-B219-AC43C7C85599@indiana.edu>
References: <78D8C997-9EA7-4D3A-B46A-B135BC633484@indiana.edu>
	<48A488AF.9090908@pinpointresearch.com>
	<2486959D-BFA3-4832-91CD-645CF09548C0@indiana.edu>
	<48A4A1F0.20800@forethought.net>
	<5F985D05-4B66-4695-B219-AC43C7C85599@indiana.edu>

Carol Walter wrote:
> It been suggested that I download the binary and just go from there.  
> All the documentation I've read says that for Unix installations 
> should compile source.  Would using the binary allow me to do the 
> customization my site requires.  I want to put the database in it's 
> original location so that faculty won't have to change they're 
> instructions to students.
>
> Carol
I think that your main question is can you put PG in the directory of 
your choice, if you compile.  The answer is yes.

If you look at chapter 15 of the Postgres Docs you will find this:
(here's the link: 
http://www.postgresql.org/docs/8.3/interactive/install-procedure.html )

15.5. Installation Procedure

Configuration

The first step of the installation procedure is to configure the source 
tree for your system and choose the options you would like. This is done 
by running the configure script. For a default installation simply enter

./configure

This script will run a number of tests to guess values for various 
system dependent variables and detect some quirks of your operating 
system, and finally will create several files in the build tree to 
record what it found. (You can also run configure in a directory outside 
the source tree if you want to keep the build directory separate.)

The default configuration will build the server and utilities, as well 
as all client applications and interfaces that require only a C compiler.

All files will be installed under /usr/local/pgsql by default.
*****************************************

You can customize the build and installation process by supplying one or 
more of the following command line options to configure:

--prefix=PREFIX
   
    Install all files under the directory PREFIX instead of 
/usr/local/pgsql.
    **************************************************

    The actual files will be installed into various subdirectories; no 
files will ever be installed directly into the PREFIX directory.

- - - etc etc

You might also take a look at this:
Best Practices with PostgreSQL on Solaris
http://blogs.sun.com/jkshah/resource/pgsol_best_practices.pdf

cheers,
HH
>
> PS  Again, My OS is Solaris 10.


-- 
H. Hall
ReedyRiver Group LLC
http://www.reedyriver.com




view thread (8+ messages)  latest in thread

Message-ID: <48A5DA84.5020400@reedyriver.com>
Permalink:  ../48A5DA84.5020400@reedyriver.com/
Also on:    postgresql.org/message-id/48A5DA84.5020400@reedyriver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: hhall1001@reedyriver.com, walterc@indiana.edu
  Subject: Re: New postgres installation
  In-Reply-To: <48A5DA84.5020400@reedyriver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox