close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jan 16, 2012, 9:05:04 PM (14 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v8
|
v9
|
|
| 2 | 2 | = 一、環境 = |
| 3 | 3 | (windows) |
| 4 | | 1. 安裝 apache web server 2 , java 6 |
| | 4 | 1. 安裝 java 6, apache web server 2 (假設安裝於 c:\Program Files\Apache2.2\) |
| 5 | 5 | 2. 安裝 hadoop4win 於 c:\hadoop4win\ |
| 6 | 6 | 3. 下載教材壓縮檔, 解壓縮內容,放到 c:\hadoop4win\tmp\ |
| | 7 | 4. 將 c:\hadoop4win\tmp\www-web\ 做捷徑到 c:\Program Files\Apache2.2\htdocs\www-web |
| | 8 | 並將捷徑 www-web 改名為 ProductEmp |
| 7 | 9 | |
| 8 | 10 | (linux) |
| 9 | | 1. 安裝 apache , hadoop, sun java 6 |
| 10 | | 2. 下載教材壓縮檔, 解壓縮內容,放到 /tmp/ |
| 11 | | |
| | 11 | 1&2. 安裝 apache , hadoop, sun java 6 |
| | 12 | 3. 下載教材壓縮檔, 解壓縮內容,放到 /tmp/ |
| | 13 | 4. |
| | 14 | {{{ |
| | 15 | ln -sf /tmp/ProductEmp/www-web/ /var/www/ProductEmp |
| | 16 | }}} |
| 12 | 17 | == 1.1 檢查 == |
| 13 | 18 | |
| … |
… |
|
| 49 | 54 | }}} |
| 50 | 55 | |
| 51 | | = 2. 運算 = |
| | 56 | = 二. 運算 = |
| 52 | 57 | |
| 53 | | |
| | 58 | (linux) |
| | 59 | {{{ |
| | 60 | cd /tmp/ProductEmp/ |
| | 61 | /opt/hadoop-0.20.2/bin/hadoop jar ProductEmp.jar |
| | 62 | }}} |
| 54 | 63 | |
| 55 | 64 | == 2.1 中間產物 == |
| … |
… |
|
| 62 | 71 | |
| 63 | 72 | |
| 64 | | = 3. 結果 = |
| | 73 | = 三. 結果 = |
| 65 | 74 | * /tmp/ProductEmp/www-web/db.js 內容約為 |
| 66 | 75 | {{{ |