Under redhat7.6 Tomcat installation Jenkins install wget Download

Install wget download tool

# Check whether the installation wget 
RPM -qa | grep  wget 

# using yum install wget 
yum -y install  wget

Download using wget tools to / usr / share / tomcat / webapps / jenkins /  

. # Jenkins first using a new directory in the webapps directory
 mkdir / usr / report this content share / Tomcat / webapps / jenkins 

# jenkins switch to the directory 
cd / usr / report this content share / Tomcat / webapps / jenkins / 

# jenkins installation package: http: // mirrors. jenkins-ci.org/war/latest/jenkins.war

# Download Jenkins
wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war

# decompression war package
jar -xvf jenkins.war

Use ip: 8080 / jenkins access jenkins, if you can not access, view tomcat is started.

# View tomcat startup state 
systemctl Status tomcat 

# If it does not start with the following command. 
Systemctl restart tomcat.service

After opening jenkins will ask /usr/share/tomcat/.jenkins/secrets/initialAdminPassword stored passwords. I entered after use xftp open. Enter proceed.

Choose to install the recommended plugins, installed ready for use.

 

If the Getting Started page encountered plugin download fails, open jenkins-> System Management -> Manage Plugins -> Advanced

To: https: //updates.jenkins-ci.org/update-center.json
replaced: http: //mirror.esuni.jp/jenkins/updates/update-center.json

Or the https replace http: http://updates.jenkins.io/update-center.json

 

Guess you like

Origin www.cnblogs.com/levia/p/11365251.html