- Learning Continuous Integration with Jenkins(Second Edition)
- Nikhil Pathania
- 96字
- 2021-07-02 21:18:38
Installing the latest version of Jenkins
To install the latest version of Jenkins, follow these steps:
- Add the Jenkins repository to the yum repository using the following command:
sudo wget -O /etc/yum.repos.d/jenkins.repo \
http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
- Install Jenkins using the following command:
sudo yum install jenkins
- See the Starting, stopping, and restarting Jenkins on Red Hat Linux section if you are required to start Jenkins.
Jenkins is now ready for use. By default, the Jenkins service runs on port 8080. To access Jenkins, use http://localhost:8080/ or http://<Jenkins server IP address>:8080/ in a browser.