Jetty installation

From Oxxus Wiki

Jump to: navigation, search

We have prepared several versions of Jetty you can install on your VPS by using the package manager.

  • Jetty 6
  • Jetty 7
  • Jetty 8

These packages come as already configured and ready to run Jetty services.


Installing packages

Make sure to use the appropriate package manager for your distribution.

Fedora and CentOS

[root@test ~]# yum install eroute-jetty7
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons:
 * base:
 * extras:
 * rpmforge:
 * updates:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package eroute-jetty7.i386 0:7.0.0.M2-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package                Arch          Version             Repository       Size
 eroute-jetty7          i386          7.0.0.M2-1          eroute          7.3 M

Transaction Summary
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
eroute-jetty7-7.0.0.M2-1.i386.rpm                        | 7.3 MB     00:04     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : eroute-jetty7                                            1/1 

Brought to you by:

type: service jetty7 start - to lounch Jetty

  eroute-jetty7.i386 0:7.0.0.M2-1                                               


Debian and Ubuntu

For Debian and Ubuntu use apt-get install command, rest of the installation procedure is same.

Starting and stopping Jetty

To start Jetty, use the following command:

service jetty7 start

To stop Jetty, use:

service jetty7 stop

In case you encounter problems while stopping Jetty service, you can always use the kill command:

killall -9 java

Jetty service can be restarted by either issuing a combination of stop and start commands or:

service jetty7 restart

Changing Jetty version

Prior to changing the Jetty version, it is necessary to stop the running of Jetty service, if any.

service jetty7 stop

... or ...

killall -9 java

After service has been stopped, you can proceed with removal of the existing installation, make sure to backup any files you may want to keep.

yum remove eroute-jetty7

In case of Debian/Ubuntu, you would be using apt-get remove instead.

After Jetty has been removed successfully, you can proceed with installation of the new version.


We advise against updating Jetty versions from usual repositories and waiting on our official installation packages as they are preconfigured for optimal performance on our VPS servers and they are very easy to setup.

Contact About Us Support Network Servers Java Hosting Order Now! Dedicated Servers VPS Hosting Tomcat Hosting Java Hosting Money Back Guarantee Privacy Policy Terms of 
Service Contact About Us Servers Networks Support Domain Names SSL Certificates Java Wiki Tutorials E-learning