Changes between Version 12 and Version 13 of Hadoop_Lab7
- Timestamp:
- Feb 25, 2011, 12:16:58 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hadoop_Lab7
v12 v13 38 38 }}} 39 39 * 為了模擬一個電腦叢集,請各位向講師索取網路線,並將網路線連接到 node1 的第2張網卡與 node2 的第一張網卡。 40 * 使用圖形介面為 node1 的第2張網卡設定 IP 位置 - 192.168.100.141 * 使用圖形介面為 node2 的第1張網卡設定 IP 位置 - 192.168.100.242 40 * 為 node1 與 node2 設定 /etc/hosts 43 41 {{{ … … 47 45 EOF 48 46 ~$ sudo mv hosts /etc/hosts 47 }}} 48 * 使用圖形介面為 node1 的第2張網卡設定 IP 位置 - 192.168.100.1 49 {{{ 50 ~$ sudo ifconfig eth1 192.168.100.1 51 }}} 52 * 使用圖形介面為 node2 的第1張網卡設定 IP 位置 - 192.168.100.2 53 {{{ 54 ~$ sudo ifconfig eth2 192.168.100.2 55 }}} 56 * 確認網路連線正確 57 {{{ 49 58 ~$ ping node1 50 59 ~$ ping node2