Ubuntu 13.04 – Install Jetty 9

简介:

注:如果需要将jetty安装,并作为服务启动运行,请参考以下帖子:

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


下面我主要介绍作为jetty作为绿色版本在ubuntu13.04上的安装过程:

Java

请参考以下帖子,安装配置java。

Ubuntu 11.04 下安装配置 JDK 7   


Download the latest Jetty distribution (9.x).

从下面的网站下载最新版本jetty,并解压。

Settings

将jetty安装目录加入到环境变量中,例如:将下面语句加入.bashrc文件末尾

运行以下命令使bashrc文件生效
source  ~/.bashrc


Start /Stop

在终端切换到jetty安装目录,通过jetty.sh 脚本启动或者关闭jetty。
snowdream@ubuntu:~/bin/jetty-9/bin$ cd ~/bin/jetty-9/bin/
snowdream@ubuntu:~/bin/jetty-9/bin$ ./jetty.sh start
Starting 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 2013
snowdream@ubuntu:~/bin/jetty-9/bin$ ./jetty.sh stop
Stopping Jetty: OK


最后,有关jetty更多知识,请参考以下两个网站:
1、jetty官方网站: http://www.eclipse.org/jetty/
2、jetty官方博客: http://webtide.intalio.com/

截图:

相关文章
|
6月前
|
NoSQL MongoDB Docker
Ubuntu18 Install MongoDB
Ubuntu18 Install MongoDB
65 0
|
Ubuntu Linux Windows
Install KDE Plasma and XRDP on Ubuntu Server
Install KDE Plasma and XRDP on Ubuntu Server
315 0
Install KDE Plasma and XRDP on Ubuntu Server
|
Ubuntu
how to install xlsx in R on ubuntu?
how to install xlsx in R on ubuntu?
79 0
|
Ubuntu
【Ubuntu】apt-get install 报错 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
【Ubuntu】apt-get install 报错 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
178 0
|
NoSQL MongoDB Docker
Ubuntu18 Install MongoDB
主要介绍Install MongoDB Community Edition,WebSite,Docker Use MongoDB这三个部分·。
122 0
|
Ubuntu Apache Docker
How to Install and Deploy Kubernetes on Ubuntu 16.04
In this tutorial, we are going to setup multi-node Kubernetes Cluster on Ubuntu 16.04 server using Alibaba Cloud Elastic Compute Service (ECS).
6785 0
How to Install and Deploy Kubernetes on Ubuntu 16.04
|
关系型数据库 Java 应用服务中间件
Database Visualization using Metabase Part 1 - Install Metabase on Ubuntu 16.04
In this tutorial, we will install Metabase on an Alibaba Cloud ECS Ubuntu 16.04 server to achieve data visualization.
1942 0
Database Visualization using Metabase Part 1 - Install Metabase on Ubuntu 16.04
|
弹性计算 Ubuntu 网络安全
How to Install and Use Ansible on Ubuntu 16.04
In this tutorial, we will learn how to set up Ansible on an Alibaba Cloud ECS Ubuntu 16.04 instance.
2510 0
How to Install and Use Ansible on Ubuntu 16.04
|
Ubuntu 关系型数据库 MySQL
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04
In this tutorial, we will explore how to install Docker on Alibaba Cloud and learn some important Docker commands to help you deploy and manage your container services.
3049 0
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04