This section outlines the basic steps required to install Postgres 12 on Linux nodes.
- Instructions for installing Postgres are available at https://www.postgresql.org/download/.
By selecting the Linux distribution, version, and architecture, customized installation instructions will be provided. Follow the instructions up to the point immediately before installing the product. Because initdb should be called differently between node-a and node-b, those steps are discussed on the parent page.
In the case of RedHat 8 or CentOS 8, execute the following sections:
# Install the repository RPM: # dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm # Disable the built-in PostgreSQL module: # dnf -qy module disable postgresql # Install PostgreSQL: # dnf install -y postgresql12-server
Set Password to the postgres User
Change Directory to Store Data to Under /datakeeper/pgsql/data