pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Biagioni <andrew.biagioni@e-greek.net>
To: Paul Gimpelj <pgimpelj@sympatico.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: two versions on same linux
Date: Sun, 23 May 2004 23:15:24 -0400
Message-ID: <40B168CC.90507@e-greek.net> (raw)
In-Reply-To: <001501c44115$31bb65a0$3410fea9@zoom>
References: <001001c43f03$476e9de0$3410fea9@zoom>
	<000e01c43f2e$6ec4c010$b901a8c0@sdpi2k.org>
	<001501c44115$31bb65a0$3410fea9@zoom>

I would recommend one on the default port (5432).  I have also used, 
without problems (on RedHat 7.3) ports 5434, 5435, 5436, 5437, 15437.

What I would do (more experienced people, pls. correct me) is to check 
your /etc/services file to see what ports are used for what (e.g.:
    ...
    cfengine        5308/tcp                        # CFengine
    cfengine        5308/udp                        # CFengine
    ...
Means:  if you use Cold Fusion (cf) don't use port 5308.

If you use outside packages that use a port but are not standard (sorry, 
no good examples), avoid their port(s).

It used to be that any port over 10,000 was "open".  I suspect it's not 
really true anymore, but usually safe.

You can also change your port at any time by changing (or adding) the 
value in postgresql.conf:
    port = 5432
can become:
    port = 15432
or
    port = 5434
etc.

             Andrew


Paul Gimpelj wrote:

> thanks
> have running simo,
> Have you any suggestions on port numbers?
>  
>
>     ----- Original Message -----
>     *From:* Muhammad Imran <mailto:imran@sdpi.org>
>     *To:* pgsql-admin@postgresql.org <mailto:pgsql-admin@postgresql.org>
>     *Sent:* Friday, May 21, 2004 8:23 AM
>     *Subject:* Re: [ADMIN] two versions on same linux
>
>     yup, just configure both on differnt ports
>
>         ----- Original Message -----
>         *From:* Paul Gimpelj <mailto:pgimpelj@sympatico.ca>
>         *To:* pgsql-admin@postgresql.org
>         <mailto:pgsql-admin@postgresql.org>
>         *Sent:* Friday, May 21, 2004 12:14 PM
>         *Subject:* [ADMIN] two versions on same linux
>
>         Hi,
>          
>         I have redhat 7.3 and postgres 7.2
>          
>         Is there a way to have 7.4 installed together with postgres
>         7.2 ? and both running at the same time,
>         with of course different data directories.
>          
>         should i use the generic postgres or the rpm'd.
>          
>         The existing redhat has no passwords for postgres, and even if
>         if assign one to user postgres,
>         postgres ignores it.
>          
>         thanks
>         paul
>          
>

view thread (6+ messages)

Message-ID: <40B168CC.90507@e-greek.net>
Permalink:  ../40B168CC.90507@e-greek.net/
Also on:    postgresql.org/message-id/40B168CC.90507@e-greek.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: andrew.biagioni@e-greek.net, pgimpelj@sympatico.ca
  Subject: Re: two versions on same linux
  In-Reply-To: <40B168CC.90507@e-greek.net>
  References: <001001c43f03$476e9de0$3410fea9@zoom> <000e01c43f2e$6ec4c010$b901a8c0@sdpi2k.org> <001501c44115$31bb65a0$3410fea9@zoom> <40B168CC.90507@e-greek.net>

* 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