To install jetty, type on the shell:
sudo apt-get install jetty libjetty-java libjetty-extra libjetty-extra-javaafter installation, edit the file:
/etc/default/jettymodify the line:
NO_START=1to be:
NO_START=0To listen to connections from localhost uncomment the line:
JETTY_HOST=$(uname -n)The jetty home directory is in the sharable folder of the user binaries:
/usr/share/jettyTo stop jetty, type on the shell:
/etc/init.d/jetty stopTo start jetty, type on the shell:
/etc/init.d/jetty startTo deploy a web app, copy the WAR file to the folder
/var/lib/jetty/webappsTo configure the jetty server, edit the file:
/etc/jetty/jetty.xml
Thanks . How to change jetty home path?
ReplyDeleteOk, I change symbolic link for "webapps".
Delete