| 13 | }}} |
| 14 | |
| 15 | == <補充> 拿 Ubuntu 12.04 Live CD 當自習環境 == |
| 16 | |
| 17 | * 備註:經測試 Ubuntu 12.04 Live CD 在虛擬機器環境下運行,需要__'''至少 3GB RAM '''__才能正常執行後續的實作!! |
| 18 | * 若您是使用自己的 Ubuntu 12.04 Live CD 請先安裝 git |
| 19 | {{{ |
| 20 | user@node1:~$ sudo apt-get install git |
| 21 | }}} |
| 22 | |
| 23 | == STEP 2 : 從 github 取得本次課程的範例 == |
| 24 | |
| 25 | {{{ |
| 26 | user@node1:~$ git clone https://github.com/jazzwang/hadoop_labs.git |
| 27 | }}} |
| 28 | |
| 29 | * 您應該會看到類似底下的結果: |
| 30 | {{{ |
| 31 | #!text |
| 32 | user@node1:~$ git clone https://github.com/jazzwang/hadoop_labs.git |
| 33 | Cloning into 'hadoop_labs'... |
| 34 | remote: Counting objects: 249, done. |
| 35 | remote: Compressing objects: 100% (166/166), done. |
| 36 | remote: Total 249 (delta 115), reused 176 (delta 44) |
| 37 | Receiving objects: 100% (249/249), 53.64 KiB, done. |
| 38 | Resolving deltas: 100% (115/115), done. |
| 39 | }}} |
| 40 | * 檢查是否有 hadoop_labs 目錄 |
| 41 | {{{ |
| 42 | user@node1:~$ cd hadoop_labs/ |
| 43 | user@node1:~/hadoop_labs$ ls -al |