Skip to main content

setuppgsql

Setup PostgresSQL Server

This will help you to install PostgresSQL database server . This tool can be used to reset postgres password also.

You can add any remote PostgresSQL server from the WAP control panel

Command:

/usr/local/eenos/scripts/setuppgsql

Command Options:

Usage: /usr/local/eenos/scripts/setuppgsql  <options>=[values]

Command Groups:
Options:
    --install       -   Install PostgresSQL Server
    --resetpgpwd  -   Reset postgres password

Install PostgresSQL

To install postgresql server, use the following command

/usr/local/eenos/scripts/setuppgsql --install

Reset PostgresSQL Password

To reset the password of postgres  user, use the following command.

/usr/local/eenos/scripts/setuppgsql --resetpgpwd

At this installation time,  eenos uses PgSQL server version 13  as default.