- Download Jetty.
- Extract it to some location. We will call this JETTY_HOME.
- Set JETTY_BASE environment variable. This is a separate directory where your configurations live.
- Copy $JETTY_HOME/start.ini into $JETTY_BASE.
- Create $JETTY_BASE/webapps directory.
- Create $JETTY_BASE/webapps/scratch.xml with the content explained here.
- Start Jetty by running $JETTY_HOME/bin/jetty.sh start.
- Stop Jetty by running $JETTY_HOME/bin/jetty.sh stop.
No comments:
Post a Comment