DevOps : Install Jenkins on Amazon Linux 2 Server step by step.
- Get link
- X
- Other Apps
If you have gone through my last article π₯πRoadmap To DevOps π₯π₯, Here is the first step from where we can start. π
![]() |
Install Jenkins On Amazon Linux 2 |
πI have select the Jenkins as a automation tool to take first step toward DevOps Engineer. I have given the Step by step Installation of Jenkins Installation In this article. In OS I have select the Amazon Linux 2 which is flavour CentOS. You have already guess that Cloud platform is AWS.
πStep-1: Launch one EC2 instance from AWS console. Open port 8080 in the security group as it is default port of Jenkins.π₯
πStep-2: Update repositories of the instance using the below command:π₯
sudo yum update -y
πStep-3: Install java packages.π₯
sudo yum install java-1.8.0
Note : Remove the oldest version of java if any.
πStep-4: Add the Jenkins repo:π₯
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
πStep-5: Import the key file:π₯
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
πStep-6: Install Jenkins using the below command:π₯
sudo yum install jenkins -y
πStep-7: Start the Jenkins service:π₯
sudo service jenkins start
πStep-8: Check the Jenkins service:π₯
sudo service jenkins status
πStep-9: Open the browser and hit the public IP along with the 8080 port eg. http://your_server_ip:8080π₯
πStep-10: Copy the given path in red and get the password from Jenkins server:π₯
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Step-11: Install the suggested plugins by Jenkins :π₯
πStep-12: Add the Admin user credentials and save it:π₯
πStep-13: If you are able to see below screen then Installation and configuration are completed and now you can start creating the Jenkins jobs by clicking on New Item.π₯
π✌Yes...!! Here our Jenkins is ready for operation. The next we will create new jobs with shell script backend.
Thank You...!!!✌✌✌
For more DevOps stuffs Visit π₯π₯π₯https://scripterra.blogspot.comπ₯π₯π₯
Keep reading....keep sharing....Keep commenting....πππ
- Get link
- X
- Other Apps
Comments
Post a Comment