http://lucene.apache.org/nutch/tutorial8.html 有如下的介紹:
Requirements
Java 1.4.x, either from Sun or IBM on Linux is preferred. Set NUTCH_JAVA_HOME to the root of your JVM installation.
Apache's Tomcat 4.x.
On Win32, cygwin , for shell support. (If you plan to use Subversion on Win32, be sure to select the subversion package when you install, in the "Devel" category.)
Up to a gigabyte of free disk space, a high-speed connection, and an hour or so.
所以需要的準備工作如下:
1、下載nutch,使用最新的0.9版本,放在D:\nutch\nutch-0.9下;
2、在環境變數中設定NUTCH_JAVA_HOME為jdk的安裝路徑;
3、安裝tomcat伺服器,不作介紹;
4、因為是在windows環境下,所以需要下載安裝cygwin來運行shell command。
準備工作完畢。
Getting Started
First, you need to get a copy of the Nutch code. You can download a release from http://lucene.apache.org/nutch/release/ . Unpack the release and connect to its top-level directory. Or, check out the latest source code from subversion and build it with Ant .
Try the following command:
bin/nutch
This will display the documentation for the Nutch command script.
這部分工作有如下幾步:
1、運行cygwin
安裝完成cygwin後運行,執行命令:
cd d:nutch
cd nutch-0.9
cygwin所示的目前的目錄為:
/cygdrive/d/nutch/nutch-0.9