CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Setup on Debian 6 (Squeeze) systems

This setup is similar to the Setup on *NIX systems, with the exception that Tomcat is installed from the Debian repositories (and is therefore automatically maintained by the Debian package management).

Prerequisites (installed from Debian repositories)

  • Sun Java 1.6 (Open JDK may or may not work)
  • Tomcat 6

If not yet installed, you can install these with the following command:

sudo apt-get install sun-java6-bin sun-java6-jdk sun-java6-jre tomcat6

Make sure sun-java is the default runtime:

sudo update-alternatives --config java
sudo update-alternatives --config javac

Installing and configuring solr

Use the attached solr install script, which is a modified version of the script in EXT:solr/resources/shell.
Download it to your server and run it (with the languages you want to install):

sudo ./install-solr-debian6-without-tomcat.sh english german french

Please use the updated script because EXT:solr moved to git and Apache Solr 3.5 is not available on mirrors anymore.

Now all there is left to do is configuring the cores you want to use in /opt/solr-tomcat/solr/solr.xml
Restart tomcat when you're finished:

Restarting tomcat

Because Tomcat is installed the standard Debian way, you can stop and start tomcat with these commands:

sudo service tomcat6 stop
sudo service tomcat6 start

install-solr-debian6-without-tomcat.sh (8.3 kB) Loek Hilgersom, 2012-02-17 23:18

install-solr-debian6-without-tomcat.sh - /* update, use git and apache-solr from typo3-solr.com as 3.5.0 was removed from the mirrors */ (8.5 kB) Peter Niederlag, 2012-07-25 13:49