setuppgsql
Setup PostgresSQL Server
Install PostgresSQL database server . This tools also use to reset postgres password too
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 time eenos user PgSQL version 13 server as default installation