Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, no user has access to the Tomcat Manager App. 

Code Block
vim /usr/localetc/tomcat/conf/tomcat-users.xml

Define a user in tomcat-users.xml with access to the manager-gui role. Below is a very basic example.

...

Code Block
wget http://archive.apache.org/dist/lucene/solr/4.2.0/solr-4.2.0.tgz
tar xvf solr-4.2.0.tgz
mv solr-4.2.0 /usr/local/solr
cd /usr/local/solr/dist/
cp solr-4.2.0.war /usr/localshare/tomcat/webapps/solr.war
mv solr-4.2.0.war /usr/local/solr/solr.war

Add XML configurations

Edit /usretc/local/tomcat/conf/Catalina/localhost/solr.xml and add

...