In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Installing Jenkins on CentOS 8 requires the use of an root account or an account with sudo privileges. Because Jenkins is written in Java, you need to install the Java environment
1. Install OpenJDK.
Sudo dnf install java-1.8.0-openjdk-devel
2. Enable Jenkins repository. Run the following command to download and import the GPG key
Sudo wget-O / etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
Sudo rpm-- import https://jenkins-ci.org/redhat/jenkins-ci.org.key
Install the latest stable version of Jenkins by typing the following command
Sudo dnf install jenkins
Or download jenkins-2.190.3-1.1.noarch.rpm from https://pkg.jenkins.io/redhat-stable/
Sudo dnf install jenkins-2.190.3-1.1.noarch.rpm
Start the Jenkins service and enable it to start when the system boots
Sudo systemctl start jenkins
Sudo systemctl enable jenkins
5. Check whether Jenkins is running
Systemctl status jenkins
6. Open the necessary ports using the following command
Sudo firewall-cmd-permanent-zone=public-add-port=8080/tcp
Sudo firewall-cmd-reload
7. Browser http://ip: 8080
8. Cat command to view the administrator account password of Jenkins on server CentOS 8
Sudo cat / var/lib/jenkins/secrets/initialAdminPassword
9. Copy the password from the terminal, paste it into the Administrator password field, and then click continue
10. Click the "install recommended plug-ins" box, and the installation process will begin
11 、
Jenkins was successfully installed on the CentOS system
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.