On Debian.
100% complete guide + autostart: http://xdeb.org/node/1213 Thanks to mxistence for this link.
On RHEL and CentOS.
Attached is a startup script for RHEL / CentOS that will start your Apache Solr server at startup and cleanly shut it down at shutdown.
On Ubuntu Server 8.04 LTS. Using 'java -jar start.jar'.
What about when you reboot your Apache Solr server? Are you going to type in that java -jar start.jar after each reboot? There's an easier
