delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/17/13:44:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
Subject: Installing PostgreSQL on Windows using Cygwin
MIME-Version: 1.0
Date: Sun, 17 Nov 2002 13:42:45 -0500
Message-ID: <F029B81CEC4CDE438B826C11220DD3F85128BB@bigdaddy.XEDE.COM>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Chris Schneider" <chris DOT schneider AT xede DOT com>
To: <cygwin AT cygwin DOT com>
Cc: <maxb AT ukf DOT net>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id gAHIilj31638

	 
	***For those accustomed to setting up on Linux, you do not need to run 'configure' and 'gmake' to install PostgreSQL...Cygwin performs the install for you, however it puts the executables in the /bin dir vs. the default PostgreSQL install dir of /usr/local/pgsql.  ***
	 
	--Dowload and install Cygwin, which can be obtained at www.cygwin.com (though I guess you already know that if your reading this entry)
	 
	 -- You can pick any of the packages you want, but you'll need at a minimum...Base (this is the default), PostgreSQL, Bzip2 (under the Utils section; I believe it grabs the libraries automotically in the Libs section, but I manully selected those just in case).  I recommend grabbing VIM editor as well, though not required.
	 
	--Open a bash shell, by clicking on the Cygwin icon created by the install (assuming you checked the boxes at the end of the install)
	 
	--Install cygipc (V1.13), you can download the file from... http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/  
	You'll need the bzip2 utility to do this, hence why I said to grab it in step 2.  You'll find it in /bin.  In order to uzip files, copy the bzip2.exe to bunzip2.exe.   
	 
	--Execute the command 'bunzip2 cygipc-1.13-2.tar.bz2'
	 
	--Then copy the cygipc-1.13-2.tar to / and execute the command 'tar xvf cygipc-1.13-2.tar'
	 
	--Execute the command 'ipc-daemon &' from a bash shell
	 
	Now you are ready to proceed with the normal PostgreSQL setup....
	 
	--Execute 'initdb -D /data'  (or wherever you want the database created)
	 
	--Run 'postmaster -D /data' (also use the -i option if you plan to connect from another client)
	 
	--Then create the database and all the other typical PostgreSQL stuff.
	 
	Hope this helps.  
	 
	Chris Schneider (cschneider AT xede DOT com)
	 
	 

		-----Original Message----- 
		From: Kurt Roeckx [mailto:Q AT ping DOT be] 
		Sent: Sun 11/17/2002 9:32 AM 
		To: Chris Schneider 
		Cc: 
		Subject: Re: Help With PostgreSQL On Cygwin
		
		

		Chris Schneider <chris DOT schneider AT xede DOT com> wrote:
		> Thanks a million, that worked like a charm!  PostgreSQL is up and
		> running
		
		May I ask what version of cygipc you used on what OS?  I'm having
		the same problem on XP and it's not working.
		
		
		Kurt
		
		

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019