1. Prerequisites JDK has been installed Create a soft link and configure it according to your jdk installation path ln -s /java/jdk1.8.0_231/bin/java /usr/bin/java The machine is connected to the Internet Uninstall Jenkins (skip if already installed) sudo apt-get remove jenkins sudo apt-get purge jenkins sudo apt-get purge --auto-remove jenkins 2. Complete the installation through the following command wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-get update sudo apt-get install jenkins 3. Start jenkis sudo /etc/init.d/jenkins [start|restart|stop] 4. View the installation password cat /var/lib/jenkins/secrets/initialAdminPassword 5. Open the browser http://192.168.215.50:8080 (If tomcat is installed on the server, please change the port of jenkins) $ sudo vi /etc/default/jenkins #Modify the following content HTTP_PORT=8085 #Restart the jenkins service $ sudo /etc/init.d/jenkins restart Enter the password you just queried 6. Select the recommended plugin to install Wait patiently for the installation 7. Create the first management account Summarize The above is a detailed graphic explanation of how to install Jenkins on Ubuntu 16.04. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Vue+express+Socket realizes chat function
>>: How to solve the problem of case insensitivity in MySQL queries
This article describes how to install mysql5.6 us...
1. Use Canvas images as CSS background images The...
This article shares with you how to use Vue to dr...
mysql row to column, column to row The sentence i...
What to do if you forget Windows Server 2008R2 So...
Table of contents 1. Add packaging command 2. Run...
This article uses an example to describe the mana...
background As we all know, after we develop a Jav...
In daily operation and maintenance work, nginx se...
1. Installation Search the mariadb version to be ...
Table of contents environment Install CentOS Conf...
Currently implemented are basic usage, clearable,...
1. Check the character set 1. Check the MYSQL dat...
Here 123WORDPRESS.COM presents the first part of ...
This is an interview question, which requires the...