Install PostgreSQL 12 On RHEL 8 in AWS

Share via:

Dear Readers,

In this article, we will see the following Install PostgreSQL 12 On RHEL 8 .

Steps to Follow :
  1. Logging to AWS Account
  2. Launch MySQL Server
  3. Connect to Linux EC2 Instance by Using Putty
  4. Switch to root user
  5. Install Server Updates
  6. Install wget package
  7. Install the Repository (RPM)
  8. Install PostgreSQL 12
  9. Initialize the Database
  10. Enable PostgreSQL
  11. Start PostgreSQL

1. Logging to AWS Account

First, we need to AWS Console page by using below link.

https://aws.amazon.com/console/

Click on sign in to Console button.

Logging to aws account

Login using username & password and click on sign in.

Enter to AWS Management Console

We can see the AWS Management Console Dashboard.

Go to Services, under the compute module click EC2 service to open.

2. Launch PostgreSQL Server

Go to Services, under the compute module click EC2 service to open.

We can launch Windows Server by using below link.

Launch Linux EC2 Instance

We can see the windows server has been launched successfully.

3. Connect to Linux EC2 Instance Using Putty

We can connect putty by using below link.

Connect to PostgreSQL Server Using Putty

4. Switch to root user

5. Install Server updates

6. Install wget package 

7. Install the Repository (RPM)

8.  Disable the built-in PostgreSQL module

9.  Install PostgreSQL 12

9.  Initialize the Database

10. Enable PostgreSQL 

11. Start PostgreSQL 

 

Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates

KTEXPERTS is always active on below social media platforms.

Facebook : https://www.facebook.com/ktexperts/
LinkedIn : https://www.linkedin.com/company/ktexperts/
Twitter : https://twitter.com/ktexpertsadmin
YouTube : https://www.youtube.com/c/ktexperts

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Add Comment