Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E470065016E for ; Wed, 9 Jul 2008 06:40:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 48979-01 for ; Wed, 9 Jul 2008 06:40:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from easy2.in-chemnitz.de (easy2.in-chemnitz.de [88.198.17.232]) by postgresql.org (Postfix) with ESMTP id 95FFC650131 for ; Wed, 9 Jul 2008 06:40:25 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by easy2.in-chemnitz.de (Postfix) with ESMTP id 7D1F4470013 for ; Wed, 9 Jul 2008 11:40:21 +0200 (CEST) Received: from easy2.in-chemnitz.de ([127.0.0.1]) by localhost (easy.in-chemnitz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80NZLoClprCv for ; Wed, 9 Jul 2008 11:40:21 +0200 (CEST) Received: by easy2.in-chemnitz.de (Postfix, from userid 1013) id 6BAB447000C; Wed, 9 Jul 2008 11:40:21 +0200 (CEST) Date: Wed, 9 Jul 2008 11:40:21 +0200 From: Tino Schwarze To: pgsql-admin@postgresql.org Subject: Re: Install another version on different directory and port (CentOS, Redhat) Message-ID: <20080709094021.GB32558@easy2.in-chemnitz.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/95 X-Sequence-Number: 29705 On Wed, Jul 09, 2008 at 06:23:10PM +0900, Eko Prasetiyo wrote: > Now i have pgsql 8.0 server installed on CentOS Linux (Redhat). > How to install pqsql 8.2 on different directory and port ? > In Windows we can easily do it. Just download the source and use for example ./configure --prefix=/usr/local/pgsql82 --with-pgport=8200 make make install Of course, you could also take the src.rpm, install that and modify the SPEC file accordingly (rename package to postgresql82, change installation directory etc.), but that would be more effort, though cleaner. HTH, Tino. -- "What we nourish flourishes." - "Was wir nähren erblüht." www.craniosacralzentrum.de www.forteego.de