<p>What are the steps of installing Jenkins on Linux? This article can be rewarding. Let's take a look at the steps to install Jenkins on Linux.</p><p><br/></p><h4>Linux installation Jenkins</h4><p>Git installation is very simple</p><p>yum install git
git --version</p><p>Maven can download and configure environment variables</p><p>Download: wget --no-check-certificate https://dlcdn.apache.org/maven/maven- 3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
Configure environment variables
export M2_HOME=/data/opt/maven/maven-3.8.6
export PATH=$PATH:$M2_HOME/bin</p><p>JDk requires Java8 or above, and the latest version should require Java11 or above.</p><p>After we are ready, we officially enter the deployment of Jenkins.</p><h4>1. Download and install</h4><p>wget --no-check-certificate http://pkg.jenkins-ci.org/redhat-stable/jenkins-2.190.3-1.1. noarch.rpm
rpm -ivh jenkins-2.190.3-1.1.noarch.rpm</p><p>If the speed is slow, you can download it locally and then upload it to the server.</p><h4>2. Modify port configuration</h4><p>vi /etc/sysconfig/jenkins
# Modify the port number to 8880</p><p>## Type: integer(0:65535)
## Default: 8080
## ServiceRestart: jenkins
#
# Port Jenkins is listening on.
# Set to -1 to disable
#
JENKINS_PORT="8880"</p><h4>3. Start</h4><p>systemctl start jenkins </p><p>systemctl status jenkins</p><p><img src="//img.freeonlinedomain.com/uploads/allimg/20230727/1-230HG54I22B.jpg" title="" alt="1.jpg"/></p><h4>4. Solve the problem of slow loading of the homepage</h4><p>When we visit for the first time, the following interface will be prompted, and the waiting time is long.</p><p><br/></p><p>Change to the image of Tsinghua University, then restart Jenkins</p><p>find / -name *.UpdateCenter.xml
vi /var/lib/jenkins/hudson.model.UpdateCenter.xml
# Change to the following address
#https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json</p><p><!--?xml version="1.1" encoding="UTF-8"--><sites><site><id>default</id><url>https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json</url></site></sites><!--?xml--></p><h4>5. Install the plug-in</h4><p>To enter Jenkins, you need to follow the prompts to open the log file to obtain the password, so I won’t go into details.</p><p>Choose to install some plug-ins, because of network reasons, there is a high probability that the installation will fail, so you only need to check the last Chinese plug-in.</p><p><br/></p><h4>6. Set the administrator user</h4><p>Set the user name and password as the administrator user, or use admin directly.</p><p>The above is the content of this article about the steps to install Jenkins on Linux. I believe everyone has a certain </p>