You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2012/11/01 11:42:03 UTC
[Nutch Wiki] Update of "NutchTutorial" by SebastianNagel
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The "NutchTutorial" page has been changed by SebastianNagel:
http://wiki.apache.org/nutch/NutchTutorial?action=diff&rev1=58&rev2=59
Comment:
(because of recent request on the user mailing list): link to 2.x tutorial, description how to compile and run from the source package
<<TableOfContents(3)>>
== Steps ==
+
+ {{{#!wiki caution
+ This tuturial describes the installation and use of Nutch 1.x (current release is 1.5.1). How to compile and set up Nutch 2.x, see Nutch2Tutorial.
+ }}}
+
- == 1 Setup Nutch from binary distribution ==
+ == 1. Setup Nutch from binary distribution ==
- * Unzip your binary Nutch package to `$HOME/nutch-1.X/`
- * `cd $HOME/nutch-1.X/`
+ * Download a binary package (`apache-nutch-1.X-bin.zip`) from [[http://www.apache.org/dyn/closer.cgi/nutch/|here]].
+ * Unzip your binary Nutch package. There should be a folder `apache-nutch-1.X`.
+ * `cd apache-nutch-1.X/`
- From now on, we are going to use `${NUTCH_RUNTIME_HOME}` to refer to the current directory.
+ From now on, we are going to use `${NUTCH_RUNTIME_HOME}` to refer to the current directory (`apache-nutch-1.X/`).
+
+ === Set up from the source distribution ===
+ Advanced users may also use the source distribution:
+ * Download a source package (`apache-nutch-1.X-src.zip`)
+ * Unzip
+ * `cd apache-nutch-1.X/`
+ * Run `ant` in this folder (cf. RunNutchInEclipse)
+ * Now there is a directory `runtime/local` which contains a ready to use Nutch installation.
+
+ When the source distribution is used `${NUTCH_RUNTIME_HOME}` refers to `apache-nutch-1.X/runtime/local/`. Note that
+ * config files should be modified in `apache-nutch-1.X/runtime/local/conf/`
+ * `ant clean` will remove this directory (keep copies of modified config files)
== 2. Verify your Nutch installation ==
* run "`bin/nutch`" - You can confirm a correct installation if you seeing the following: