Install Jenkins Continuous integration Tool On Redhat/CentOS 7

Install Jenkins Continuous integration Tool

Install Jenkins Continuous integration, Jenkins is an Open Source automation server that is written in java. It helps us to automate software development with Continuous integration. We can install Jenkins on Linux using an rpm file.

This does compile the code if this finds any error it reports to the development team by doing this it’s reducing the code compile time of development team.

It increases the software delivery process as if codes fail at some moment it sends the report to the developer team to see the issues. If any changes come in software it starts complies with them.

Check Out: Jenkins Port Change

So now the development team does not need to wait for compilation of whole code Jenkins helps them to compile the code only changes made in the code.

There are two methods of installing Jenkins either by adding repo or manually download the Jenkins package from here Download Jenkins

First Method

Jenkins uses the Port 8080 and the web access URL is IP:8080/Jenkins

This will register the key.

Second Method

Download the package and install it.

rpm -ivh jenkins-2.121.1-1.1.noarch.rpm

Check java installed or not

rpm -qa java*

Check Out: Install Java

systemctl start jenkins

A folder will be created under the directory /var/lib/

ls /var/lib/jenkins/

Check java is running or not with port 8080 that Jenkins will use.

netstat -tnlp | grep java

Configure firewall rules for Jenkins if you want to access it from outside the network.

Check Out: Update Jenkins Version In Linux

firewall-cmd –permanent –add-port=8080/tcp

firewall-cmd –reload

Access Jenkins from a browser IP:8080/Jenkins.

Now run cat to get the administrator password

cat /var/lib/jenkins/secrets/initialAdminPassword

Check Out: How To Install Maven(Java) In Jenkins Using Plugin

You can check a user Jenkins will be created.

grep jenkins /etc/passwd

After Putting the admin password now choose according to your need.

how to start jenkins in linux

After choosing one of them it will start installing the plugins.

Install Jenkins Continuous integration

Create a new user or continue with the Admin password.

Check Out: Jenkins “ HTTP Error 404 “ On Redhat/Cent0s 7

jenkins install

Now Jenkins is ready to use.

install jenkins linux

Now login with your credentials. 

install jenkins on linux

You’re done linux jenkins install rpm

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment