install git ec2 linux 1

install git ec2 linux

#Create an EC2 instance with Amazon Linux 2 with internet access
#Connect to your instance using putty
 
#Perform a quick update on your instance:
sudo yum update -y
 
#Install git in your EC2 instance
sudo yum install git -y
 
#Check git version
git version

Here is what the above code is Doing:
1. Create an EC2 instance with Amazon Linux 2 with internet access
2. Connect to your instance using putty
3. Perform a quick update on your instance
4. Install git in your EC2 instance
5. Check git version

Similar Posts