DevOps : Install Jenkins on Amazon Linux 2 Server step by step.

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....πŸ˜‡πŸ˜‡πŸ’›


Comments

Popular posts from this blog

System Administrator to DevOps Engineer Roadmap - Level 1

Roadmap for Devops Engineer - Level 1