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:
-
Feb 25, 2011, 12:26:56 PM (15 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v13
|
v14
|
|
| 37 | 37 | ~$ sudo hostname -F /etc/hostname |
| 38 | 38 | }}} |
| 39 | | * 為了模擬一個電腦叢集,請各位向講師索取網路線,並將網路線連接到 node1 的第2張網卡與 node2 的第一張網卡。 |
| 40 | 39 | * 為 node1 與 node2 設定 /etc/hosts |
| 41 | 40 | {{{ |
| … |
… |
|
| 46 | 45 | ~$ sudo mv hosts /etc/hosts |
| 47 | 46 | }}} |
| 48 | | * 使用圖形介面為 node1 的第2張網卡設定 IP 位置 - 192.168.100.1 |
| | 47 | * 使用圖形介面為 node1 的第二張網卡設定 IP 位置 - 192.168.100.1 |
| 49 | 48 | {{{ |
| 50 | 49 | ~$ sudo ifconfig eth1 192.168.100.1 |
| 51 | 50 | }}} |
| 52 | | * 使用圖形介面為 node2 的第1張網卡設定 IP 位置 - 192.168.100.2 |
| 53 | | {{{ |
| 54 | | ~$ sudo ifconfig eth2 192.168.100.2 |
| 55 | | }}} |
| | 51 | * 使用圖形介面為 node2 的第二張網卡設定 IP 位置 - 192.168.100.2 |
| | 52 | {{{ |
| | 53 | ~$ sudo ifconfig eth1 192.168.100.2 |
| | 54 | }}} |
| | 55 | * 為了模擬一個電腦叢集,請各位向講師索取網路線,並將網路線連接到 node1 的第二張網卡與 node2 的第二張網卡。 |
| 56 | 56 | * 確認網路連線正確 |
| 57 | 57 | {{{ |