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
Table of contents Overview 1. Download via URL 2....
Responsive design is to perform corresponding ope...
1. Environmental Preparation Tencent Cloud Server...
1. CSS Box Model The box includes: margin, border...
Require The div under the body is vertically cent...
1. Replication Principle The master server writes...
Skip the Docker installation steps 1. Pull the po...
Recently, I have a need to list all host names in...
Placing a search box in the top menu bar is a com...
According to the methods of the masters, the caus...
Table of contents 1. Task Queue 2. To explain som...
Use scenarios: The jump path needs to be dynamica...
Table of contents 1. Run workflow 2. Basic comman...
Preface ActiveMQ is the most popular and powerful...
Better-scroll scrolling principle As a parent con...