wiki:Eucalyptus/Install/package

2.2 從套件檔安裝 (deb)


2.2.1 環境設定

  • Euc 套件檔依賴 Rampart, Axis2C, and Java libraries
    apt-get install gcc make apache2-threaded-dev ant openjdk-6-jdk\
       libvirt-dev libcurl4-dev dhcp3-server vblade apache2 unzip curl vlan\
       bridge-utils libvirt-bin kvm sudo 
    
  • Front-end、Node 和 Client 的時鐘需同步
  • 防火牆需允許 8443、8773、8774(Front-end) 和 8775(Node)
  • 正確的 locales (dpkg-reconfigure locales)
  • Euc 的需由 root 執行
  • Cloud Controller: eucalyptus-cloud
    • Fix cacerts for openjdk-6-jdk (missing from the package).
      $ su -
      $ echo deb http://debian.osuosl.org/debian lenny non-free >> /etc/apt/sources.list
      $ apt-get update
      
    • Install sun-java6-jre and create link for cacerts
      $ su -
      $ apt-get install ca-certificates sun-java6-jre
      $ mkdir -p /etc/ssl/certs/java/
      $ ln -sf /etc/java-6-sun/security/cacerts /etc/ssl/certs/java/cacerts
      
  • Node Controllers: eucalyptus-nc
    • 確認 Xen 的設定
      $ su -
      $ vim /etc/xend/xend-config.sxp
      (xend-http-server yes)
      (xend-unix-server yes)
      (xend-unix-path /var/lib/xend/xend-socket)
      (xend-address localhost)
      (network-script network-bridge)
      (vif-script vif-bridge)
      (dom0-min-mem 196)
      (dom0-cpus 0)
      (vncpasswd '')
      

2.2.2 下載 DEB 檔

  • 下載網址
  • 將 Euc 套件新增到 apt source
    $ tar zxvf eucalyptus-1.5.1-*.tar.gz
    $ cd eucalyptus-1.5.1-*
    $ su -
    $ echo deb file://${PWD} ./ >> /etc/apt/sources.list
    $ apt-get update
    

2.2.3 安裝 DEB 檔

  • Front-end
    $ aptitude install eucalyptus-cc eucalyptus-cloud
    
  • Nodes
    $ aptitude install eucalyptus-nc
    
Last modified 15 years ago Last modified on Jul 23, 2009, 5:22:59 PM