Installing Jenkins on Amazon Linux
๐ Installing Jenkins on Amazon Linux โ Prerequisites ๐ Before you begin to Install Jenkins Linux, ensure you have: Basic Linux knowledge AWS EC2 instance (Amazon Linux 2) Internet access SSH access to the instance ๐ Step 1: Update Your System sudo yum update -y โ Step 2: Install Java (Required for Jenkins) sudo yum install java-17-amazon-corretto -y โ Verify Java version: java -version ๐ฆ Step 3: Add Jenkins Repository # Add the Jenkins repo using the following command:sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo # Import a key file from Jenkins-CI to enable installation from the package:sudo rpm –import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key sudo yum upgrade ๐งฐ Step 4: Install Jenkins sudo yum install jenkins -y ๐ Step 5: Start and Enable Jenkins # Start Jenkins as a service:sudo systemctl start jenkins# Start Jenkins as a service:sudo systemctl enable jenkins# You can check the status of the Jenkins service using the command:sudo systemctl status jenkins ๐ Step 6: Allow Port 8080 in Security Group ๐ Steps to allow traffic on port 8080: Go to EC2 Dashboard Select your Instance Click on the linked Security Group Click Edit Inbound Rules Click Add Rule: Type: Custom TCP Port Range: 8080 Source: Anywhere (or your IP) Click Save Rules โ Now your Jenkins server is publicly accessible via port 8080. ๐ Step 7: Access Jenkins UI Open browser: http://<your-ec2-public-ip>:8080 Get the initial password: sudo cat /var/lib/jenkins/secrets/initialAdminPassword Paste it into Jenkins and complete the setup wizard. ๐ Optional: Install Plugins Choose โInstall Suggested Pluginsโ when prompted during setup. These plugins will help you get started faster. ๐ Quick Summary Step Task 1 Update system packages 2 Install Java 3 Add Jenkins repository 4 Install Jenkins 5 Start Jenkins service 6 Allow port 8080 via EC2 Security Group 7 Access Jenkins via browser ๐ Youโre Done! โ Youโve successfully Install Jenkins Linux on Amazon EC2!Now, you can start building CI/CD pipelines, manage your automation jobs, and streamline your deployments.Continue exploring Jenkins plugins, pipeline scripts, and integrations to make the most out of your setup.This is just the beginningโInstall Jenkins Linux is your first step toward mastering DevOps automation. https://srtechops.com/wp-content/uploads/2025/01/Remainder-App-Technology-Logo.mp4 Devops Multi cloud Training Choose the training style that fits your schedule โ Self-Paced or Live Interactive Sessions. Both include hands-on projects, expert support, and lifetime access. Feature Self-Paced Training Live Training ๐ฏ Mode ๐ฅPre-Recorded Session ๐งโ๐ซLive Class + Recordings ๐ผ Projects ๐ Weekend Real-Time Projects ๐ Weekdays + Weekend Real-Time Projects โ Doubt Clearing ๐ Weekend Live Support Session ๐ง Anytime Doubt Clearing Session ๐ฅ Career Support & Mentorship โ No โ Yes ๐ Global Certification Training โ No โ Yes ๐ Access โพ๏ธ Lifetime Access โพ๏ธ Lifetime Access ๐ฐ Fees โน4,999 (2 x โน2,500) โน7,999 (2 x โน4,000) โน๏ธ For More Info Explore Self-Paced Training Explore Live Training




