| 16 | | == 5st (5/28) == |
| 17 | | === rock === |
| 18 | | Slave 安裝程式demo |
| 19 | | === fafa === |
| 20 | | Master 安裝程式demo |
| 21 | | === waue === |
| 22 | | * 討論 web 要用 [http://wiki.apache.org/tomcat/UsingPhp tomcat 5 + php 4 ] 或 tomcat 6 + jsp |
| 23 | | * 討論 目錄架構 |
| 24 | | |
| 25 | | * [http://trac.nchc.org.tw/cloud/export/124/nutchez-0.2/package/nutchez-0.2-20100524.tar.gz 下載修改後 nutch 叢集版 的壓縮檔] |
| 26 | | * 設定叢集驅動模式( /opt/nutchez/nutch/conf/ 的 hadoop-site.xml ) |
| 27 | | {{{ |
| 28 | | #!xml |
| 29 | | <configuration> |
| 30 | | <property> |
| 31 | | <name>fs.default.name</name> |
| 32 | | <value>hdfs://localhost:9000</value> |
| 33 | | </property> |
| 34 | | <property> |
| 35 | | <name>mapred.job.tracker</name> |
| 36 | | <value>localhost:9001</value> |
| 37 | | </property> |
| 38 | | <property> |
| 39 | | <name>hadoop.tmp.dir</name> |
| 40 | | <value>/var/nutchez/nutch-nutchuser</value> |
| 41 | | </property> |
| 42 | | </configuration> |
| 43 | | }}} |
| 44 | | * 設定 最後的搜尋結果 ( /opt/nutchez/tomcat/webapps/ROOT/WEB-INF/classes/ 的 nutch-site.xml ) |
| 45 | | {{{ |
| 46 | | #!xml |
| 47 | | <configuration> |
| 48 | | <property> |
| 49 | | <name>searcher.dir</name> |
| 50 | | <value>/home/nutchuser/nutchez/search</value> |
| 51 | | </property> |
| 52 | | </configuration> |
| 53 | | }}} |
| 54 | | * 使 nutch 主程式引入環境變數 (改 /opt/nutchez/nutch/bin/nutch ) |
| 55 | | {{{ |
| 56 | | #!sh |
| 57 | | NUTCH_HOME=/opt/nutchez/nutch |
| 58 | | NUTCH_CONF_DIR=/opt/nutchez/nutch/conf |
| 59 | | NUTCH_LOG_DIR=/var/nutchez/logs |
| 60 | | }}} |
| 61 | | * 叢集版的 nutch ,要使用之前,要先執行 hadoop format 與 start-all.sh |
| 62 | | |
| 63 | | == 6st (6/4) == |
| | 17 | * 流程演練與討論 |
| | 18 | * 報名 & 企劃書 修改 |
| | 19 | * nutchez 叢集總管介面 開發討論 |
| | 20 | * nutchez web管理頁面 開發討論 |