You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/10 23:08:27 UTC

[Solr Wiki] Update of "SolrTomcat" by CollinAnderson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by CollinAnderson:
http://wiki.apache.org/solr/SolrTomcat

The comment on the change is:
Changed Version from apache-tomcat-5.5.25 to apache-tomcat-5.5.27

------------------------------------------------------------------------------
  #if you copy this to a shell script, make sure to run dos2unix on it to ensure correct line-endings
  mkdir solr-tomcat
  cd solr-tomcat/
- wget http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.zip
+ wget http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
  NIGHTLY=solr-`/bin/date +%F`
  wget http://people.apache.org/builds/lucene/solr/nightly/$NIGHTLY.zip
- unzip apache-tomcat-5.5.25.zip
+ unzip apache-tomcat-5.5.27.zip
  unzip $NIGHTLY.zip
- cp apache-solr-nightly/dist/apache-solr-nightly.war apache-tomcat-5.5.25/webapps/solr.war
+ cp apache-solr-nightly/dist/apache-solr-nightly.war apache-tomcat-5.5.27/webapps/solr.war
  cp -r apache-solr-nightly/example/solr .
- chmod a+x apache-tomcat-5.5.25/bin/*
+ chmod a+x apache-tomcat-5.5.27/bin/*
- ./apache-tomcat-5.5.25/bin/startup.sh
+ ./apache-tomcat-5.5.27/bin/startup.sh
  echo "Now browse to http://localhost:8080/solr/admin/"
  #Note that the startup.sh script is run from the directory containing your solr home ./solr
  #since the solr webapp looks for $CWD/solr by default.