2014-04-28 36 views
1

我想配置Windows 7 Nutch的,我已經跟着follwing步驟如何在Windows錯誤配置Nutch的1.8:Nutch的:命令未找到

我有下載和解壓的Apache的Nutch的1.8, 我有在CONF/Nutch的-site.xml中指定的代理名稱,如

<configuration> 
<property> 
<name>http.agent.name</name> 
<value>My Nutch Spider</value> 
</property> 
</configuration> 

和阿帕奇家follwing命令我做了 - >

的mkdir -p網址

cd網址

touch seed.txt - >在urls /下面創建一個文本文件seed.txt,內容如下(每個網站每行一個URL,您希望Nutch抓取)。

nutch.apache.org/

在CONF與/正則表達式-urlfilter.txt編輯 - > + ^([A-Z0-9] *)* nutch.apache.org/

但斌,當我在做什麼

斌/ Nutch的抓取網址-dir爬-depth發生3 -topN 5

錯誤 - >擊:Nutch的:命令未找到

爲什麼呢?

回答