setuppgsql
Setup PostgreSQL Server
This will help you to install the PostgreSQL database server. This tool can be used to reset Postgres password also.
You can add any remote PostgreSQL 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 PostgreSQL
To install the Postgresql server, use the following command
/usr/local/eenos/scripts/setuppgsql --install
Reset PostgreSQL Password
To reset the password of the Postgres user, use the following command.
/usr/local/eenos/scripts/setuppgsql --resetpgpwd
At this installation time, eenos uses PgSQL server version 13 as default.