=Install Apache Solr under Ubuntu= This Tutorial describes how to install a local Tomcat Server with the newest Solr Version. ==Java Runtime Environment installieren== At First we need a Java Runtime Environment. You can use OpenJdk or Oracle (Sun) Java Version 6+ aptitude install default-jre or apt-get install openjdk-6-jdk ==Tomcat downloading and install== At Firts we need the newest Tomcat Version from Apache.org. If this link isn't working anymore go to tomcat.apache.org cd /opt wget http://artfiles.org/apache.org/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-7.0.23.tar.gz tar xvfz apache-tomcat-7.0.23.tar.gz ln -s apache-tomcat-7.0.23 tomcat rm apache-tomcat-7.0.23.tar.gz ==Solr downloading and install== Now we need the Newest Version of Solr. You can find it on the Apache Site (http://www.apache.org/dyn/closer.cgi/lucene/solr/) cd /opt wget http://apache.imsam.info//lucene/solr/3.5.0/apache-solr-3.5.0.tgz tar xvfz apache-solr-3.5.0.tgz rm apache-solr-3.5.0.tgz Now we deploy Apache Solr to the Tomcat Server. Copy the war File from the "dist" dir to your Tomcat webapps folder. cd /opt cp apache-solr-3.5.0/dist/apache-solr-3.5.0.war tomcat/webapps/solr.war Now copy the Multicore Example to your Solr Folder /opt/solr. Now you can delete the other solr files, we dont need them. cd /opt cp -R apache-solr-3.5.0/example/multicore/ solr rm -R apache-solr-3.5.0 Now we can start your new Tomcat server. Note: It's important to strat the Tomcat Server from /opt, otherwise the Tomcat Server will not find your solr dir. cd /opt ./tomcat/bin/startup.sh Now you can see your solr Cores and the admin interface under the url http://yourserver:8080/solr Your Solr Server is now ready to use, but you should maybe add some security configuration ==Secure your Installation== Your have just to do a few steps to scure your server. Move your Data: Create a new dir and change it in your Solr config. If you use 2 cores you have to change it for eache of them: mkdir /var/solr vi /opt/solr/solr.xml bevore : after: ==Tomcat logging.properties:== Your Logging Properties should be reduced to SEVERE, otherwise it will be realy big realy fast. Edit the logging.properties File in /opt/tomcat/conf vi /opt/tomcat/conf/logging.properties Default is "FINE". You should change it from "FINE" to "SEVERE"