Skip site navigation (1) Skip section navigation (2)

Re: two versions on same linux

From: Andrew Biagioni <andrew(dot)biagioni(at)e-greek(dot)net>
To: Paul Gimpelj <pgimpelj(at)sympatico(dot)ca>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: two versions on same linux
Date: 2004-05-24 03:15:24
Message-ID: 40B168CC.90507@e-greek.net (view raw or flat)
Thread:
Lists: pgsql-admin
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(at)sdpi(dot)org>
>     *To:* pgsql-admin(at)postgresql(dot)org <mailto:pgsql-admin(at)postgresql(dot)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(at)sympatico(dot)ca>
>         *To:* pgsql-admin(at)postgresql(dot)org
>         <mailto:pgsql-admin(at)postgresql(dot)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
>          
>

In response to

pgsql-admin by date

Next:From: Greg SpiegelbergDate: 2004-05-24 13:59:56
Subject: Re: Clustering Postgres
Previous:From: Paul GimpeljDate: 2004-05-23 22:27:54
Subject: Re: two versions on same linux

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group