Search Postgresql Archives

Re: Postgres: Installing as a service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

     The following cmd can be used for installating postgres as a service:

pg_ctl.exe register -N <servicename> -U <user> -P <password> -D <datadir>

      and "pgctl.exe unregister -N <servicename>" can be used to uninstall.

Thanks.

On Mon, Apr 13, 2009 at 12:15 PM, Craig Ringer <craig@xxxxxxxxxxxxxxxxxxxxx> wrote:
CM J wrote:
> Hi ,
>
>        I have extracted postgres from postgres-noinstaller.zip file. How do
> i install postgres as  a service from cmd line ?

Search:  http://msdn.microsoft.com/

You can use the `net' command to start/stop services. I don't recall the
command(s) used to install them, if any, but you'll be able to find the
info on MSDN.

> Are there are any binaries
> provided by postgres to install it as a service ?

No.

Why not use the MSI installer's silent mode?

--
Craig Ringer


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux