what is Jenkins? Installation of jenkins

The Modern Software development workflows into Devops, so we need to use the build tool for the devops process. Now Jenkins is one of the bu...



The Modern Software development workflows into Devops, so we need to use the build tool for the devops process. Now Jenkins is one of the build tool widely used in software companies.

What is Jenkins?

                        Jenkins is an open-source Automation server, which was written in Java. it was used to automate the software development and deployment process, In technically called continuous integration, continuous delivery. Jenkins used to automate the software process, so developers can work easily and it will automate the testing process as well.

Jenkins pipeline:

Jenkins Pipeline ("Pipeline" or "P") is a suite of plugins that supports implementing and integrating continuous delivery pipelines into Jenkins.

We installed Jenkins on the AWS Amazon Linux server.

Jenkins Installation Steps: 

1.Before going to install Jenkins need to update the server.

Command: sudo yum update -y

2.Jenkins basically a java-based Tool, so need to Install the java package. 

Installing the latest version of java.

Command: sudo yum install java-1.8.0

3.After the installation checking the java version. 

Command: java -version

It shows the installed version, here version 1.8 was installed, but it shows the old version, so we need to remove the older version of java.

4.Removing the old java version.

Command: sudo yum remove java-1.7.0-openjdk

5.Add the Jenkins stable repos to the server.

Command: sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo

6.Need to add and import the jenkins key.

Command: sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

7.Once installed the repositories and keys, Install the Jenkins.

Command: sudo yum install jenkins -y

6.After the installation to start the Jenkins using the below command. 

Command: sudo service jenkins start

Jenkins default port was 8080, If you using aws ec2 instance must add the 8080 in inbound rules If your using the lightsail server need to add 8080 in the networking console.

Now Jenkins up and running need to configure the admin access and install the suggested plugins

9. Go to browser and browser the URL http://ipaddress:8080 

It will display the like below image.


10. Now need to give the initialadminpassword, In the image itself shows the password path
It shows the server path /var/lib/jenkins/secrets/initialAdminPassword
Now view the file content and paste it to the browser.
Command: cat /var/lib/jenkins/secrets/initialAdminPassword

11.Once pasted the content needs to click the continue button, it goes to the next dialog box, we need to choose options either install suggested plugins or select the plugins to install.

We have chosen the install suggested plugins option, So it will Install the plugins one by one.

Once all plugins installed it moved to the next page, it was an admin user and password creation dialog box.

In this need to give a name password email address.

Once given the all required fields click Save and continue.


Now the Jenkins was ready to use. We can use delivery softwares as much as faster...













 

COMMENTS

Name

AWS,2,Devops,15,linux,9,
ltr
item
Techie View: what is Jenkins? Installation of jenkins
what is Jenkins? Installation of jenkins
https://1.bp.blogspot.com/-hrod-yxrUfA/YAl0wNTKPaI/AAAAAAAAARM/en9rhoyiQMEusbTp-UdJg8_t4uEz0PSaACLcBGAsYHQ/w245-h400/PngItem_4419397.png
https://1.bp.blogspot.com/-hrod-yxrUfA/YAl0wNTKPaI/AAAAAAAAARM/en9rhoyiQMEusbTp-UdJg8_t4uEz0PSaACLcBGAsYHQ/s72-w245-c-h400/PngItem_4419397.png
Techie View
https://www.techiev.com/2021/01/what-is-jenkins-installation-of-jenkins.html
https://www.techiev.com/
https://www.techiev.com/
https://www.techiev.com/2021/01/what-is-jenkins-installation-of-jenkins.html
true
7013663511659419322
UTF-8
Loaded All Posts Not found any posts VIEW ALL View Full Article Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy