Installation of PostgreSQL Internal Cluster on AWS Linux RHEL 7.3 using Binary

Step1. Download the Binary from below link

https://www.postgresql.org/download/linux/

Step 2: Unzip the file.

Step 3. Go to the configure file in the extracted directory.

Step 4: Run

./configure

Step 5: Run

make

Step6: Run

make install

If you want to define custom directory for installation (not the default), it can be defind in make install command.

Step7: initiate the database with initdb (located in the installed directory)

Initdb –D /path_to_directory_where you want to store data_dir

Step8: start it with

pg_ctl start

(Make sure that the data dir should have postgre:postgres ownership, best permission set is 750)

like0

Who is online?

There are currently 0 users online.