Installation and uninstallation of jenkins war version under Linux

Article directory

Table of contents

Article directory

foreword

1. Installation

2. Uninstall

Summarize



foreword

Jenkins is an open source software project and a continuous integration tool developed based on Java for monitoring continuous and repetitive work.

Integration: The software can be integrated with other software to complete the corresponding functions.


1. Installation

Because jenkins itself writes a continuous integration tool software in java language. We directly download the software and run the software through the java command.

https://get.jenkins.io/war-stable/2.164.1/


下载完后的war包上传到linux上的运行目录下
然后执行下面命令
nohup java -jar /usr/local/software/jenkins.war  --httpPort=8777> /usr/local/software/jenkins.log 2>&1 &

test on browser

 

enter password

Enter the view password in linux

tail /root/.jenkins/secrets/initialAdminPassword  

 

 

 

 

 

 

 

 

 

 

2. Uninstall

When uninstalling in linux, pay attention to uninstalling cleanly

as follows

The first step is rm -rf /root/.jenkins/ Delete the previous configuration file This must be deleted

The second step is to delete the log file and the previously uploaded war

The third step is to re-upload and you can use the war package to install it here


Summarize

none

Guess you like

Origin blog.csdn.net/qq_55648724/article/details/128255729