Hightide Debian Distribution
Packages and Installation Order
Having downloaded all of the hightide debian packages, you should install them using dpkg or synaptic or your favourite package installer in this order, where <version> is replaced by the version of hightide you want to install:
- libhightide-java_<version>_all.deb
- libhightide-jsp-java_<version>_all.deb
- libhightide-extra-java_<version>_all.deb
- hightide_<version>_all.deb
- hightide-examples_<version>_all.deb
Installation Directories
The home directory for the debian distribution of Hightide is /usr/share/hightide. Other directories under /var and /etc are linked to
from the /usr/share/hightide directory.
The configuration of the server is in /etc/hightide. The configuration files listed in /etc/hightide/jetty.conf are passed to the command line of Hightide when it is started by /etc/init.d/hightide.
Webapps can be deployed by placing them in /var/lib/hightide/webapps (linked from /usr/share/hightide/webapps). Additional contexts can be configured and (hot) deployed via the /etc/hightide/contexts directory (linked from /usr/share/hightide/contexts).
/usr/share/hightide - hightide.home directory
/contexts - webapp context files
/database - default database install dir
/etc - configuration files
/lib - jar files
/logs - log files
/resources - extra runtime config
start.jar
/webapps - webapp static deployment directory
/etc/init.d/hightide --> start/stop script
/etc/default/hightide --> default values read by start/stop script
/etc/hightide --> /usr/share/hightide/etc
/etc/hightide/contexts --> /usr/share/hightide/contexts
/var/lib/webapps --> /usr/share/hightide/webapps
/var/log/hightide --> /usr/share/hightide/logs
/var/run/hightide.pid --> running hightide process id
Starting/Stopping Hightide
If you have just installed the Hightide debian packages, then you will need to edit the /etc/default/hightide file. Make the change indicated in comment:
NO_START=1 # change to 0 to allow Jetty to start
You can now start hightide:
/etc/init.d/hightide start
To stop hightide:
/etc/init.d/hightide stop
You can list all of the commands to control hightide by typing:
/etc/init.d/hightide help