Step 1: Download and install PostgreSQL

RHEL and CentOS 7 include PostgreSQL version 9.2. However, on these OS versions, Hue is compatible only with PostgreSQL versions 10, 11.x, and 12. Therefore, you must download and install the PostgreSQL distribution separately.

  1. Download the PostgreSQL distribution from https://www.postgresql.org/download/ based on your OS version.
  2. Install the PostgreSQL server using the following command:
    sudo yum install postgresql-server