Change to the 'example' directory, run java -jar start.jar and visit localhost:8983/solr/admin to test that the example works with the Jetty container. Build the example for the Solr tutorial by running ant example. In the source directory, run ant dist to build the. Assumes that you have JDK 1.6 already installed. These instructions are for building Solr from source, if you have a nightly tarball or have checked out the trunk from subversion at. Skip this section if you have a binary distribution of Solr. Use chkconfig to enable the tomcat6 service to start on boot. The startup script tomcat6 can be placed in /etc/init.d/tomcat6 on CentOS/RedHat/Fedora so that you can start Tomcat using service tomcat6 start. Tomcat runs on the port defined $CATALINA_HOME/conf/server.xml, configured by default to port 8080. Start Tomcat with $CATALINA_HOME/bin/catalina.sh run. As solr, extract the Tomcat 6.0 download into /opt/tomcat6, hereafter referred to as the $CATALINA_HOME directory.Įdit $CATALINA_HOME/conf/tomcat-users.xml to enable the manager login as user "tomcat" with password "tomcat" (insecure): These are instructions for manually installing Tomcat 6 on Linux, recommended because distribution Tomcats are either old or quirky.Ĭreate the solr user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |