Changes between Version 6 and Version 7 of waue/2009/0406


Ignore:
Timestamp:
Apr 6, 2009, 6:33:00 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0406

    v6 v7  
    126126
    127127=== 5.1 安裝tomcat ===
     128 * 下載
     129{{{
     130$ cd /opt/
     131$ wget http://ftp.twaren.net/Unix/Web/apache/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.tar.gz
     132}}}
    128133
    129 === 5.2 瀏覽crawl結果 ===
     134 * 解壓縮
     135{{{
     136$ tar -xzvf apache-tomcat-6.0.18.tar.gz
     137$ mv apache-tomcat-6.0.18 tomcat
     138}}}
     139
     140=== 5.2 將crawl結果匯入tomcat
     141
     142{{{
     143$ cd /opt/nutch
     144$ mkdir web
     145$ cd web
     146$ jar -xvf nutch-1.0.war
     147$ rm nutch-1.0.war
     148$ mv /opt/tomcat/webapps/ROOT /opt/tomcat/webapps/ROOT-ori
     149$ cd /opt/nutch
     150$ mv /opt/nutch/web /opt/tomcat/webapps/ROOT
     151$ vim /opt/tomcat/webapps/ROOT/WEB-INF/classes/nutch-site.xml
     152}}}
     153
     154=== 5.3 瀏覽crawl結果 ===
     155{{{
     156$ /opt/tomcat/bin/startup.sh
     157}}}
     158[http:gm1.nchc.org.tw:8080]