Ubuntu 13.04-install jetty 9

Source: Internet
Author: User

Note: To install jetty and run it as a service, refer to the following post:

Http://pietervogelaar.nl/ubuntu-12-04-install-jetty-9/

The following describes how to install jetty on ubuntu13.04 as a green version:

Java

Refer to the following post to install and configure Java.

Install and configure JDK 7 in Ubuntu 11.04

Download the latest
Jetty distribution (9.x). download the latest jetty version from the following website and decompress it. Http://download.eclipse.org/jetty/stable-9/dist/

Settings adds the jetty installation directory to the environment variable. For example, add the following statement to the end of the. bashrc file.

Run the following command to make the bashrc file take effect

source  ~/.bashrc
Start/stop switch to the jetty installation directory on the terminal and start or close jetty through the jetty. Sh script.
snowdream@ubuntu:~/bin/jetty-9/bin$ cd ~/bin/jetty-9/bin/snowdream@ubuntu:~/bin/jetty-9/bin$ ./jetty.sh startStarting Jetty: 2013-08-07 11:08:21.134:WARN::main: test-realm is deployed. DO NOT USE IN PRODUCTION!2013-08-07 11:08:21.264:INFO::main: Redirecting stderr/stdout to /home/snowdream/bin/jetty-9/logs/2013_08_07.stderrout.log. OK Wed Aug  7 11:08:27 CST 2013snowdream@ubuntu:~/bin/jetty-9/bin$ ./jetty.sh stopStopping Jetty: OK
For more information about jetty, refer to the following two websites: 1. jetty Official Website: http://www.eclipse.org/jetty/2?jetty :http://webtide.intalio.com /:

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.