| 62 | ### 3.2 Apache(httpd) ### |
| 63 | $ tar zvxf httpd-2.2.8.tar.gz |
| 64 | $ cd httpd-2.2.8 |
| 65 | $ CFLAGS="-DBIG_SECURITY_HOLE" ./configure --prefix=$EUCALYPTUS/packages/httpd-2.2.8 --with-included-apr |
| 66 | $ make ; make install |
| 67 | |
| 68 | ### 3.3 Axis2/C ### |
| 69 | $ cd $EUCALYPTUS_SRC/eucalyptus-src-deps/ |
| 70 | $ export AXIS2C_HOME=$EUCALYPTUS/packages/axis2c-1.5.0 |
| 71 | $ tar zvxf axis2c-src-1.5.0.tar.gz |
| 72 | $ cd axis2c-src-1.5.0 |
| 73 | $ ./configure --with-apache2=$EUCALYPTUS/packages/httpd-2.2.8/include --prefix=${AXIS2C_HOME} |
| 74 | $ make ; make install |
| 75 | |
| 76 | ### 3.4 Rampart/C ### |
| 77 | $ cd $EUCALYPTUS_SRC/eucalyptus-src-deps/ |
| 78 | $ export AXIS2C_HOME=$EUCALYPTUS/packages/axis2c-1.5.0 |
| 79 | $ export LD_LIBRARY_PATH=${AXIS2C_HOME}/lib:$LD_LIBRARY_PATH |
| 80 | $ tar zvxf rampartc-src-1.2.0.tar.gz |
| 81 | $ cd rampartc-src-1.2.0 |
| 82 | $ ./configure --prefix=${AXIS2C_HOME} --enable-static=no --with-axis2=${AXIS2C_HOME}/include/axis2-1.5.0 |
| 83 | $ make ; make install |
| 84 | $ vim $AXIS2C_HOME/axis2.xml |
| 85 | <phase name="Security"/> |
| 86 | |
| 87 | ### 3.5 Libvirt ### |
| 88 | $ cd $EUCALYPTUS_SRC/eucalyptus-src-deps/ |
| 89 | $ tar zvxf libvirt-0.4.6.tar.gz |
| 90 | $ cd libvirt-0.4.6 |
| 91 | $ ./configure --prefix=$EUCALYPTUS/packages/libvirt-0.4.6 --without-storage-disk --without-storage-iscsi --without-storage-fs --without-storage-lvm --without-libvirtd --without-remote --without-lxc --without-kvm --without-qemu --without-sasl --without-openvz |
| 92 | $ make ; make install |
| 93 | |
| 94 | ### 3.6 Other software ### |
| 95 | * Java Development Kit (JDK), version 1.6 or above |
| 96 | * Apache ant, version 1.6 or above |
| 97 | * GNU C compiler |
| 98 | * Make |
| 101 | * __2.2.2__ Building Eucalyptus |
| 102 | {{{ |
| 103 | $ cd $EUCALYPTUS_SRC |
| 104 | $ ./configure --with-axis2=$EUCALYPTUS/packages/axis2-1.4 --with-axis2c=$EUCALYPTUS/packages/axis2c-1.5.0 --with-libvirt=$EUCALYPTUS/packages/libvirt-0.4.6/ --prefix=$EUCALYPTUS |
| 105 | $ make ; make install |
| 106 | }}} |
| 107 | |
| 108 | * __2.2.3__ Eucalyptus on multiple machines |
| 109 | {{{ |
| 110 | ### 設定 Euc 設定檔的位置 ### |
| 111 | $ $EUCALYPTUS/usr/sbin/euca_conf -d $EUCALYPTUS $EUCALYPTUS/etc/eucalyptus/eucalyptus.conf |
| 112 | |
| 113 | ### 將 $EUCALYPTUS/ 同步複製到其他 nodes ### |
| 114 | $ rsync -a $EUCALYPTUS/ hostname1:$EUCALYPTUS/ |
| 115 | $ rsync -a $EUCALYPTUS/ hostname2:$EUCALYPTUS/ |
| 116 | $ ... |
| 117 | }}} |
| 118 | |
| 119 | === '''''__『2.3 配置』__''''' === |
| 120 | * __2.3.1__ 系統配置 |
| 121 | * __2.3.2__ 網路配置 |