What do you need to install the PostgreSQL database?

Step 1: Enable the EPEL repository

Accept the installation by pressing the y key when prompted. Below are the minimum requirements for installation in the production configuration.

2GB RAM recommended 1 virtual cpu core 1GB of disk space for installation You also need SSH access to the server as a user with sudo privileges.

Check that the correct PostgreSQL software versions are being installed.

Step 3: Initialize and Start the Database Service

You need to generate the initial database settings file before starting the service. The main database server configuration file is /var/lib/pgsql/12/data/postgresql.conf .

Final note

How to get Postgresql 13 on AWS Ec2 Amazon linux 2 In 2023 - 57How to get Postgresql 13 on AWS Ec2 Amazon linux 2 In 2023 - 58How to get Postgresql 13 on AWS Ec2 Amazon linux 2 In 2023 - 19How to get Postgresql 13 on AWS Ec2 Amazon linux 2 In 2023 - 88