Install and Configure git in two Linux EC2 Instances (2 Regions)

Share via:

Install and Configure git in two Linux EC2 Instance (2 Regions)

In this article,we will see Launch two linux EC2 instances in different regions and Install & Configure git to run configuration commands.

Implementation Steps

  1. Launch Linux EC2 Instance in Mumbai Region.
  2. Connect to Linux EC2 Instance through Putty.
  3. Run commands to Install & Configure the git.
  4. Go to London Region.
  5. Launch Linux EC2 Instance in London Region.
  6. Connect to Linux EC2 Instance through Putty.
  7. Run commands to Install & Configure the git.

Launch Linux EC2 Instance in Mumbai Region

Please check below link to Launch Linux Server.

Launch Linux Launch Linux Server

We can see Linux Server “Mumbai-Git” which was created earlier.

Connect to Linux EC2 Instance through Putty

Run commands to Install & Configure the git

Open Linux Terminal

Switch to root user

Install Server Updates

Install git package

Verify git Package

Check Version of git Package

Set Username Configuration

Set Email Configuration

Verify Username and Email Configurations

Set the Date

Verify Date

Go to London Region

Click on Europe (London) to change the region.

Launch Linux EC2 Instance in London Region

Please check below link to Launch Linux Server.

Launch Linux Launch Linux Server

We can see Linux Server “London-Git” which was created earlier.

 

Connect to Linux EC2 Instance through Putty

Run commands to Install & Configure the git

Open Linux Terminal

Switch to root user

Install Server Updates

Install git package

Verify git Package

Check Version of git Package

Set Username Configuration

Set Email Configuration

Verify Username and Email Configurations

Set the Date

Verify Date

 

Thank you for giving your valuable time to read the above information.

Follow us on 

Website :  www.ktexperts.com

Facebook Page : KTexperts

Linkedin Page : KT EXPERTS

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

2 thoughts on “Install and Configure git in two Linux EC2 Instances (2 Regions)

  1. Really nice session with detailed explanation.Easy to understand and we can learn lot things by seeing your article in short time.
    Thanks for sharing…

Add Comment