Linux

PostgreSQL version 16.9 or higher is required.

Debian, Ubuntu

Install PostgreSQL

  1. Add the official PostgreSQL repository.
Bash
Copy
  1. Install PostgreSQL 16.
Bash
Copy
  1. Install additional supplied modules and extensions.
Bash
Copy
  1. Configures PostgreSQL to start automatically whenever the system boots.
Bash
Copy
  1. Setup login password. Make sure to save this password for later use.
Bash
Copy

Open connection

  1. Locate the PostgreSQL data directory on your server.
Bash
Copy
  1. To allow remote connections, open the postgresql.conf file and configure the following setting:
postgresql.conf
Copy
  1. To allow MetaDefender Cluster services to access the database, open the pg_hba.conf file and add the following rule.
pg_hba.conf
Copy
  1. Restart the PostgreSQL service to apply the changes.
Bash
Copy

Rocky, RHEL 9

Install PostgreSQL

  1. Install the repository RPM.
Bash
Copy
  1. Disable the built-in PostgreSQL modules.
Bash
Copy
  1. Install PostgreSQL 16.
Bash
Copy
  1. Install additional supplied modules and extensions.
Bash
Copy
  1. Initialize the database and enable automatic start.
Bash
Copy
  1. Setup login password. Make sure to save this password for later use.
Bash
Copy

Open connection

  1. Locate the PostgreSQL data directory on your server.
Bash
Copy
  1. To allow remote connections, open the postgresql.conf file and configure the following setting:
postgresql.conf
Copy
  1. To allow MetaDefender Cluster services to access the database, open the pg_hba.conf file and add the following rule.
pg_hba.conf
Copy
  1. Restart the PostgreSQL service to apply the changes.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard