Install and configure Jenkins (War package) under Linux

Source: Internet
Author: User
Tags tomcat server

1, because Jenkins is based on Java development, pre-installation to confirm that the operating system has installed JDK and Tomcat

How to install, please refer to deploying Tomcat server on Windows/linux

2. Download War pack: Http://mirrors.jenkins-ci.org/war/latest/jenkins.war

3. Connect to the Linux server with the CRT. Use the command Ps-ef|grep tomcat to view the Tomcat directory

Again into this directory cd/usr/local/apache-tomcat-7.0.88, this directory has a folder WebApps. Enter this directory

Upload the war package to this directory with Rz-bye this interface indicates that the upload was successful

4, in the browser input http://ip:8080/jenkins (this depends on the number of ports you configured), this interface appears

5, enter this cd/root/.jenkins/secrets, have Initialadminpassword file, edit vi initialadminpassword file

Copy this password into the browser above password

Select the first installation plug-in

6, after the plug-in installation is complete, you need to create the first user

Once you've created a user, you're ready to use Jenkins.

Visit http://ip:8080/jenkins/to

Install and configure Jenkins (War package) under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.