How to install Jenkins on CentOS 8

Installing Jenkins on CentOS 8 requires a root account or an account with sudo privileges. Because Jenkins is written in Java, you need to install a Java environment

1、 Install OpenJDK. sudo dnf install java-1.8.0-openjdk-devel

2、 Enable the 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 stable version of Jenkins by typing the following command sudo dnf install jenkins or https://pkg.jenkins.io/redhat-stable/ download jenkins-2.190.3-1.1.noarch.rpm sudo dnf install jenkins-2.190.3 -1.1.noarch.rpm

4、 Start the Jenkins service and enable it to start when the system boots sudo systemctl start jenkins sudo systemctl enable jenkins

5、 Check if Jenkins is running systemctl status jenkins

6、 Use the following command to open the necessary ports sudo firewall-cmd --permanent --zone=public --add-port=8080/tcp sudo firewall-cmd --reload

7、 Browser http://ip: 8080

8、 The cat command to view the Jenkins administrator account password on the 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 click "Continue

10、 Click the "Install suggested plugins" box and the installation process will begin

11、

Jenkins is successfully installed on CentOS system

Recommended Posts

How to install Jenkins on CentOS 8
How to install Jenkins on CentOS 8
How to install jdk1.8 on centOS7
How to install MySQL on CentOS 8
How to install Memcached on CentOS 8
How to install R on CentOS 8
How to install FFmpeg on CentOS 8
How to install Virtualbox on CentOS 8
How to install TeamViewer on CentOS 8
How to install Perl 5 on CentOS
How to install Git on CentOS 8
How to install Elasticsearch on CentOS 8
How to install Java on CentOS 8
How to install Go on CentOS 8
How to install GCC on CentOS 8
How to install Jenkins on Ubuntu 16.04
How to install Yarn on CentOS 8
How to install Nginx on CentOS 8
How to install Asterisk on CentOS 7
How to install Jenkins on Ubuntu 20.04
How to install Vagrant on CentOS 8
How to install Python 3.8 on CentOS 8
How to install Tomcat 9 on CentOS 8
How to install Webmin on CentOS 8
How to install Jenkins on Ubuntu 18.04
How to install Ruby on CentOS 8
How to install Skype on CentOS 8
How to install htop on CentOS 8
How to install Python on CentOS 8
How to install Elasticsearch on CentOS 8
How to install Postgresql on CentOS 8
How to install Wordpress on Centos
How to install htop on CentOS 8
How to install TeamViewer on CentOS 8
How to install MariaDB on CentOS 8
How to install MongoDB on CentOS 7
How to install Odoo 13 on CentOS 8
How to install Apache on CentOS 8
How to install OpenCV on CentOS 8
How to install PHP on CentOS 8
How to install MongoDB on CentOS 8
Install Jenkins on centos7
How to install Apache Maven on CentOS 8
How to install Apache Kafka on CentOS 7
[Graphic] How to install tomcat on centos
R&D: How To Install Python 3 on CentOS 7
How to install GCC compiler on CentOS 7
How to install offline JDK1.8 on centos7.0
How to install and configure Elasticsearch on CentOS 7
How to install and use Docker on CentOS 7
How to install RPM packages on CentOS Linux
How to install and configure VNC on CentOS 8
How to install and use Composer on CentOS 8
How to install and configure Redis on CentOS 8
How to install Node.js and npm on CentOS 8
How to install jdk1.8.0_151 and mysql5.6.38 on centos7.2.1511
How to install and configure phpMyAdmin on CentOS 6
How to install and use Curl on CentOS 8
How to install and configure Owncloud on CentOS 8
How to install VirtualBox client extension on CentOS 8
How to install Docker CE on RHEL 8 / CentOS 8