I found the instructions and scripts on that page to be unclear and/or not work. Here's the script I've been using for solr 4.5.1: https://gist.github.com/gregwalters/7795791 Do note that you'll have to change a couple of paths to get things working correctly.
Thanks, Greg On Dec 4, 2013, at 3:15 PM, Eric Palmer <e...@ericfpalmer.com> wrote: > Hey all, > > I'm pretty new to solr. I'm installing it on an amazon linux (rpm based) > ec2 instance and have it running. I even have nutch feeding it pages from > a crawl. I'm very happy about that. > > I want solr to start on a reboot and am following the instructions at > http://wiki.apache.org/solr/SolrJetty#Starting > > I'm using solr 4.5.1 and when I check the jetty version I get this > > java -jar start.jar --version > Active Options: [default, *] > Version Information on 17 entries in the classpath. > Note: order presented here is how they would appear on the classpath. > changes to the OPTIONS=[option,option,...] command line option will > be reflected here. > 0: (dir) | ${jetty.home}/resources > 1: 8.1.10.v20130312 | ${jetty.home}/lib/jetty-xml-8.1.10.v20130312.jar > 2: 3.0.0.v201112011016 | ${jetty.home}/lib/servlet-api-3.0.jar > 3: 8.1.10.v20130312 | ${jetty.home}/lib/jetty-http-8.1.10.v20130312.jar > 4: 8.1.10.v20130312 | > ${jetty.home}/lib/jetty-continuation-8.1.10.v20130312.jar > 5: 8.1.10.v20130312 | > ${jetty.home}/lib/jetty-server-8.1.10.v20130312.jar > 6: 8.1.10.v20130312 | > ${jetty.home}/lib/jetty-security-8.1.10.v20130312.jar > 7: 8.1.10.v20130312 | > ${jetty.home}/lib/jetty-servlet-8.1.10.v20130312.jar > 8: 8.1.10.v20130312 | > ${jetty.home}/lib/jetty-webapp-8.1.10.v20130312.jar > 9: 8.1.10.v20130312 | > ${jetty.home}/lib/jetty-deploy-8.1.10.v20130312.jar > 10: 1.6.6 | ${jetty.home}/lib/ext/jcl-over-slf4j-1.6.6.jar > 11: 1.6.6 | ${jetty.home}/lib/ext/jul-to-slf4j-1.6.6.jar > 12: 1.2.16 | ${jetty.home}/lib/ext/log4j-1.2.16.jar > 13: 1.6.6 | ${jetty.home}/lib/ext/slf4j-api-1.6.6.jar > 14: 1.6.6 | ${jetty.home}/lib/ext/slf4j-log4j12-1.6.6.jar > 15: 8.1.10.v20130312 | ${jetty.home}/lib/jetty-util-8.1.10.v20130312.jar > 16: 8.1.10.v20130312 | ${jetty.home}/lib/jetty-io-8.1.10.v20130312.jar > > the instructions reference a jetty.sh script for version 6 and a different > one for 7. Does the version 7 one work with jetty 8? If not where can I get > the one for version 8? > > BTW - this is just the standard install of solr from the gzip file. > > thanks in advance for your help. > > -- > Eric Palmer > U of Richmond