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
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.
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.
You can Create a New Admin user.
For more Detailed Guide follow our YouTube Tutorial.