Deploying Jenkins on Ubuntu Cloud services

Source: Internet
Author: User

Environment Preparation:

The tomcat flow is used by the deployment of Jenkins, so Tomcat support is required, while TOMACAT requires support from the Java environment

1. Installing the Java Environment

2. Install Tomcat

3. Put the Jenkins.jar bag under the WebApps of Tomcat.

The installation of Java environment is not repeating, mainly configuration environment, here only to say a few of my installation process encountered some wonderful problems.

Problem 1:java Unzip the directory, directory can not randomly, I was myself in a file built a USR directory to put Java, and then finally the result is Tomcat boot when the configuration of the Java environment variable is not found, but check the Java environment variable settings are not a problem.

WORKAROUND: Move the Java directory to the/USR directory of the system

Problem 2:tomcat The decompression directory, this uncertainty can not be arbitrarily placed, because of the problem of meeting Java, so I began to extract tomcat into the system's/usr directory

Issue 3: After booting tomcat, Curl http://localhost:8080 on the cloud server can access it, but I can't access it while my home computer accesses http://115.159.43.181:8080/.

Workaround: This needs to be added to the cloud server's settings to add a security group to be accessed, specifically configured as

Deploying Jenkins on Ubuntu Cloud services

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.