Dear Wiki user, You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The following page has been changed by Gal Nitzan: http://wiki.apache.org/nutch/FAQ ------------------------------------------------------------------------------ There are at least two choices to do that: First you need to copy the .WAR file to the servlet container webapps folder. - % cp nutch-0.7.war $CATALINA_HOME/webapps/ROOT.war + {{{% cp nutch-0.7.war $CATALINA_HOME/webapps/ROOT.war}}} 1) After building your first index, start Tomcat from the index folder. Assuming your index is located at /index : @@ -34, +34 @@ Now you can search. 2) After building your first index, start Tomcat and stop Tomcat which will make Tomcate extrat the Nutch webapp. Than you need to edit the nutch-site.xml and put in it the location of the index folder. {{{% $CATATALINA_HOME/bin/startup.sh - % $CATATALINA_HOME/bin/startup.sh}}} + % $CATATALINA_HOME/bin/shutdown.sh}}} {{{% vi $CATATALINA_HOME/bin/webapps/ROOT/WEB-INF/classes/nutch-site.xml <?xml version="1.0"?> @@ -51, +51 @@ <value>/your_index_folder_path</value> </property> - </nutch-conf>}}} + </nutch-conf> + + % $CATATALINA_HOME/bin/startup.sh}}} + ==== I have two XML files, nutch-default.xml and nutch-site.xml, why? ==== nutch-default.xml is the out of the box configuration for nutch. Most configuration can (and should unless you know what your doing) stay as it is.
