Nutch項目配置之內部網搜尋

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.