Installing and configuring PostgreSQL database
Use the following instructions to install and configure PostgreSQL Database for use with HCL Commerce+.
Before you begin
You should have advanced knowledge of PostgreSQL Database (at the DBA level) before you change the database settings as recommended in this documentation.
For more information about the PostgreSQL Database, see https://www.postgresql.org/. You can obtain copies of the PostgreSQL documentation and software from the PostgreSQL Documentation website. The information on the present page is only as a guideline.
You can access PostgreSQL Database patches and patch sets at PostgreSQL Support.
PostgreSQL may require other file sets or components not installed by the operating system's default installation. Ensure you review the PostgreSQL Database documentation carefully and install any file sets or components that PostgreSQL requires.
Procedure
-
Download the PostgreSQL installation package from the official website, at PostgreSQL
Downloads.
Select and download the appropriate version for your operating system (Linux, Windows, or macOS). The recommended version for HCL Commerce+ is PostgreSQL Version 18.3 or later.
-
Run the installer and follow the instructions of installation wizard.
During installation, configure the following settings:
-
Superuser Password: Set a strong password for the
postgressuperuser. -
Port: Default is
5432. Ensure thatthis port is open and accessible. -
Locale: Set according to system requirements.
-
-
After installation, confirm that PostgreSQL is running by running the following command
from the terminal.
psql --version -
Use the following configuration steps to enable PostgreSQL to use SSL with its
connections.
Results
psql -U postgres