close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsvn_swig_py2.7-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jan 25, 2010, 8:28:49 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v44
|
v45
|
|
| 32 | 32 | ---- |
| 33 | 33 | = 【Step 1:從套件庫安裝 Eucalyptus】 = |
| | 34 | * '''pcXXX''' 和 '''pcYYY''' 安裝 Eucalyptus 相依的套件 |
| | 35 | {{{ |
| | 36 | $ sudo su |
| | 37 | # echo deb http://debian.osuosl.org/debian lenny non-free >> /etc/apt/sources.list |
| | 38 | CTRL + D |
| | 39 | |
| | 40 | $ sudo aptitude updte |
| | 41 | $ sudo aptitude -y install ca-certificates sun-java6-jre |
| | 42 | $ sudo mkdir -p /etc/ssl/certs/java/ |
| | 43 | $ sudo ln -sf /etc/java-6-sun/security/cacerts /etc/ssl/certs/java/cacerts |
| | 44 | }}} |
| 34 | 45 | * 新增 Eucalyptus 套件庫 |
| 35 | 46 | {{{ |
| 36 | 47 | $ su root |
| 37 | | # cd tar zxvf eucalyptus-1.5.2-lenny-amd64.tar.gz\ |
| | 48 | # cd |
| | 49 | # tar zxvf eucalyptus-1.5.2-lenny-amd64.tar.gz |
| 38 | 50 | # cd eucalyptus-1.5.2-lenny-amd64 |
| 39 | 51 | # echo deb file://${PWD} ./ >> /etc/apt/sources.list |
| 40 | 52 | }}} |
| 41 | | * 使用 ''aptitude search'' 指令搜尋 Eucalyptus 有哪些套件 (套件庫已預先幫學員加入 menu.lst,若想知道如何加入請[http://trac.nchc.org.tw/grid/wiki/Eucalyptus/Install/package#a2.2.2%E |
| | 53 | * 使用 ''aptitude search'' 指令搜尋 Eucalyptus 有哪些套件 |
| 42 | 54 | {{{ |
| 43 | 55 | $ sudo aptitude update |
| 44 | 56 | $ sudo aptitude search eucalyptus |
| 45 | | }}} |
| 46 | | {{{ |
| 47 | | #!sh |
| 48 | 57 | p eucalyptus-cc - Elastic Utility Computing Architecture - Cluster controller |
| 49 | 58 | p eucalyptus-cloud - Elastic Utility Computing Architecture - Cloud controller |
| … |
… |
|
| 52 | 61 | p eucalyptus-javadeps - Eucalyptus Java libraries dependencies |
| 53 | 62 | p eucalyptus-nc - Elastic Utility Computing Architecture - Node controller |
| 54 | | }}} |
| 55 | | * pcXXX 和 pcYYY 安裝 eucalyptus 相依的套件 |
| 56 | | {{{ |
| 57 | | $ sudo su |
| 58 | | # echo deb http://debian.osuosl.org/debian lenny non-free >> /etc/apt/sources.list |
| 59 | | CTRL + D |
| 60 | | |
| 61 | | $ sudo aptitude -y install ca-certificates sun-java6-jre |
| 62 | | $ sudo mkdir -p /etc/ssl/certs/java/ |
| 63 | | $ sudo ln -sf /etc/java-6-sun/security/cacerts /etc/ssl/certs/java/cacerts |
| 64 | 63 | }}} |
| 65 | 64 | * 想一下我們的架構設計: |
| … |
… |
|
| 88 | 87 | {{{ |
| 89 | 88 | #!sh |
| 90 | | 132 VNET_INTERFACE="eth1" |
| | 89 | 132 VNET_INTERFACE="eth0" |
| 91 | 90 | 139 #VNET_BRIDGE="eth0" |
| 92 | 91 | |
| … |
… |
|
| 94 | 93 | |
| 95 | 94 | 193 VNET_MODE="STATIC" |
| 96 | | 194 VNET_SUBNET="192.168.100.0" |
| | 95 | 194 VNET_SUBNET="192.168.168.0" |
| 97 | 96 | 195 VNET_NETMASK="255.255.255.0" |
| 98 | | 196 VNET_BROADCAST="192.168.100.255" |
| 99 | | 197 VNET_ROUTER="192.168.100.254" |
| | 97 | 196 VNET_BROADCAST="192.168.168.255" |
| | 98 | 197 VNET_ROUTER="192.168.168.254" |
| 100 | 99 | 198 VNET_DNS="140.110.16.1" |
| 101 | | 199 VNET_MACMAP="00:16:00:00:00:XX=192.168.100.X 00:16:00:00:00:YY=192.168.100.Y 00:16:00:00:00:ZZ=192.168.100.Z" |
| | 100 | 199 VNET_MACMAP="00:16:00:00:00:XX=192.168.168.X 00:16:00:00:00:YY=192.168.168.Y 00:16:00:00:00:ZZ=192.168.168.Z" |
| 102 | 101 | }}} |
| 103 | 102 | * '''__pcYYY'''__ |
| … |
… |
|
| 107 | 106 | {{{ |
| 108 | 107 | #!sh |
| 109 | | 132 VNET_INTERFACE="peth1" |
| 110 | | 139 VNET_BRIDGE="eth1" |
| | 108 | 132 VNET_INTERFACE="peth0" |
| | 109 | 139 VNET_BRIDGE="eth0" |
| 111 | 110 | |
| 112 | 111 | 181 #VNET_MODE="SYSTEM" |