centos6.5 installing jetty and deploying Java Web projects

Source: Internet
Author: User
Tags java web

1. Download Jetty

wget http://central.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.4.1.v20170120/ Jetty-distribution-9.4.1.v20170120.tar.gz

2. Unzip the compressed file

TAR-ZXVF jetty-distribution-9.4.1.v20170120.tar.gz

3. Setting the jetty Access port

Vim Start.ini

Here I set the access port to 8888

4. Upload the war package to the WebApps directory

5. Start Jetty

Nohup java -jar start. Jar & (running in the background)

6. Access Address

The appearance of the tablets has been successfully deployed.

centos6.5 installing jetty and deploying Java Web projects

Related Article

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.