In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 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
3. Install the latest Jenkins stable version sudo dnf install jenkins or https://pkg.jenkins.io/redhat-stable/ to download jenkins-2.190.3-1.1.noarch.rpm sudo dnf install jenkins-2.190.3-1.1.noarch.rpm by typing the following command
4. Start the Jenkins service and enable it to start sudo systemctl start jenkins sudo systemctl enable jenkins when the system boots
5. Check whether Jenkins is running systemctl status jenkins
6. Open the necessary port sudo firewall-cmd-- permanent-- zone=public-- add-port=8080/tcp sudo firewall-cmd-- reload using the following command
7. Browser http://ip: 8080
8. Cat command to check the administrator account password sudo cat / var/lib/jenkins/secrets/initialAdminPassword of Jenkins on server CentOS 8
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
Summary
The above is the method of installing Jenkins on CentOS 8 introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.