Wind Network (ithov.com) original article: TYPO3 The default search extension is "http://www.aliyun.com/zixun/aggregation/16666.html" >indexed search index searches for small web sites , if your site is larger than 500 pages, it will become very slow. You can use the ultra-fast Apache search server to accelerate the replacement of its search extensions, and this tutorial describes how to use TYPO3 Apache SOLR on Debian wheezy. Because the article is a bit long, divided into three articles, this is the first article.
1. Preliminary notes
In this tutorial we use two servers:
server1.example.com (ip:192.168.0.100): A Web server (www.example.com virtual host) with the TYPO3 4.7 profile package installed.
server2.example.com (ip:192.168.0.101): Separate server, where we will install Apache SOLR.
Of course, it can be used as a Web server to install SOLR on the same system, but we divide the two services so that they do not affect each other's performance.
2. Install SOLR
The first type of server server2.example.com:
First install Java:
Apt Install openjdk-6-jdk openjdk-6-jre unzip update-alternatives--config java update-alternatives--config javac
The TYPO3 project provides a SOLR installation script, as follows:
wget http://forge.typo3.org/projects/extension-solr/repository/revisions/master/raw/resources/shell/install-solr.sh
chmod 755 install-solr.sh
Next visit http://tomcat.apache.org/download-60.cgi to check the current Apache Tomcat 6 version. In writing this article, it is version 6.0.37. Now open install-solr.sh:
VI install-solr.sh
Make sure that the variable tomcat_ver holds the correct version number and can be changed as needed:
[...] tomcat_ver=6.0.37 [...]