WoodWing Help Center

Step 1. Installing Solr 3.6

Step 1. Installing Solr 3.6


This is step 1 of setting up Solr 3.6 in Enterprise Server 9.0 or 9.1 (see a list of all steps.) When using Enterprise Server 9.2 or higher, see Setting up Solr 4.5.


On Mac OS X

Step 1. Download the Apache Tomcat 7.x Binary Distribution file.

Step 2. Unpack the file to an installation directory, for example \Applications\Tomcat.

Note: From here on, this installation directory is referenced as <tomcat>.

Step 3. Edit the <tomcat>/conf/tomcat-users.xml file to:

<xml version='1.0' encoding='utf-8'?>

<tomcat-users>

<role rolename="manager-gui"/>

<role rolename="standard"/>

<user username="woodwing" password="ww" roles="standard,manager-gui"/>

</tomcat-users>

Note: The user specified in “username” is needed to manage Tomcat; it is not an Enterprise user).

Step 4. Edit the <tomcat>/conf/server.xml file to:

<Service name="Catalina”>

<!--Comments ........ -->

<Connector URIEncoding="UTF-8" port="8787" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />

Note: In case the URIEncoding is already set in your file, make sure that its value is set to 'UTF-8'.

Step 5. Download Apache Solr 3.6.

Step 6. Unpack the file to a temporary directory.

Note: From here on, this directory is referenced as <temp>.

Step 7. Copy the file apache-solr-3.6.x.war from <temp>/dist/ to <tomcat>/webapps/.

Tip: For ease of use, the file can be renamed to solr.war.

Step 8. Copy <temp>/example/solr to the installation directory \Application\Solr.

Note: From here on, this directory is referenced as <solr>.

On Windows

Step 1. Download the Java Virtual Machine 6.0.

Step 2. Download and install the Apache Tomcat 7.x Windows Service Installer.

Note: From here on, this installation is referenced as <tomcat>.

Step 3. Edit the <tomcat>/conf/tomcat-users.xml file to:

<xml version='1.0' encoding='utf-8'?>

<tomcat-users>

<role rolename="manager-gui"/>

<role rolename="standard"/>

<user username="woodwing" password="ww" roles="standard,manager-gui"/>

</tomcat-users>

Note: The user specified in “username” is needed to manage Tomcat; it is not an Enterprise user.

Step 4. Edit the <tomcat>/conf/server.xml file to:

<Service name="Catalina”>

<!--Comments ........ -->

<Connector URIEncoding="UTF-8" port="8787" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />

Note: In case the URIEncoding is already set in your file, make sure that its value is set to 'UTF-8'.

Step 5. Download Apache Solr 3.6.

Step 6. Unpack the file to a temporary directory.

Note: From here on, this directory is referenced as <temp>.

Step 7. Copy the file apache-solr.war from <temp>/dist/ to <tomcat>/webapps/.

Tip: For ease of use, the file can be renamed to solr.war.

Step 8. Copy <temp>/example/solr to the installation directory C:\Solr.

Note: From here on, this directory is referenced as <solr>.

Step 9. Use the System Tray icon to configure Tomcat (Configure > Java) so that it starts with the following Java option:

-Dsolr.solr.home=<solr>

On Linux

Step 1. Download the Apache Tomcat 7.x Binary Distribution file.

Step 2. Unpack the file to an installation directory, for example \Applications\Tomcat.

Note: From here on, this installation directory is referenced as <tomcat>.

Step 3. Edit the <tomcat>/conf/tomcat-users.xml file to:

<xml version='1.0' encoding='utf-8'?>

<tomcat-users>

<role rolename="manager-gui"/>

<role rolename="standard"/>

<user username="woodwing" password="ww" roles="standard,manager-gui"/>

</tomcat-users>

Note: The user specified in “username” is needed to manage Tomcat; it is not an Enterprise user).

Step 4. Edit the <tomcat>/conf/server.xml file to:

<Service name="Catalina”>

<!--Comments ........ -->

<Connector URIEncoding="UTF-8" port="8787" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />

Note: In case the URIEncoding is already set in your file, make sure that its value is set to 'UTF-8'.

Step 5. Download Apache Solr 3.6.

Step 6. Unpack the file to a temporary directory.

Note: From here on, this directory is referenced as <temp>.

Step 7. Copy the file apache-solr-3.6.x.war from <temp>/dist/ to <tomcat>/webapps/.

Tip: For ease of use, the file can be renamed to solr.war.

Step 8. Copy <temp>/example/solr to the installation directory, for example \opt\Solr.

Note: From here on, this directory is referenced as <solr>.

Next step

Step 2. Starting Apache Tomcat

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.