Install Jenkins in Amazon Linux2

Dec 07, 2020    Janaki Mahapatra, Installation

# Step1. Install Java on Amazon Linux
sudo amazon-linux-extras install java-openjdk11

# Step 2. Download Jenkins
sudo wget -O /etc/yum.repos.d/jenkins.repo

# Step 3. 
sudo rpm --import

# Step4.
sudo yum install jenkins -y
sudo service jenkins start

Connect to http://your_server_public_DNS:8080 from your favorite browser. You will be able to access Jenkins through its management interface

Also you can find the reference here