How to Install Jenkins in Centos 7
Jenkins is one of the famous and most used CI/CD Tool in the IT Market today. It can be Integrated with many other tools like git hub , git lab , bit bucket and many more.. It can also be used for testing and as well as for performing automation.
Now Lets Install Jenkins in Centos 7
First of all we need to Install Java as Jenkins is written in java.
After Installing Java we need to setup Jenkins repo and gpg key
sudo rpm –import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
Now Lets Install Jenkins..
Now Lets start the Jenkins and enable the jenkins service.
Apply the firewall rule allow 8080/tcp port as Jenkins work on 8080 port.
Now open you web browser and type localhost:8080 or your_ip:8080
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/1-1024x576.png)
To get the default Password of Jenkins. cat the “/var/lib/jenkins/secrets/initialAdminPassword” file and copy the password and paste it on the jenkins dashboard.
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/2-1024x576.png)
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/3-1024x576.png)
Now, either you can go with “Install suggested plugins” or “Select plugins to Install” In Select plugins to install you will get a list of plugins to Install . I am installing suggested plugins.
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/4-1024x576.png)
You can Create a New Admin user.
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/5-1024x576.png)
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/6-1024x576.png)
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/7-1024x576.png)
![](http://127.0.0.1/wordpress/wp-content/uploads/2019/03/8-1-1024x576.png)
For more Detailed Guide follow our YouTube Tutorial.
Recent Comments