wiki:ONE_Insatll

Version 11 (modified by rock, 16 years ago) (diff)

--

OpenNEbula Installation

Our Testbed

  • OS: Debian testing version (Because OpenNEbula used the new packages, so we recommanded to use debian testing)
  • Xen: 3.2.1 version (OpenONbula support Xen>=3.1)

Requirements

  • Quick Install Xen
    $ sudo apt-get install iproute bridge-utils python-twisted gcc binutils make zlib1g-dev python-dev transfig bzip2 screen ssh debootstrap libcurl3-dev libncurses5-dev x-dev libsdl1.2-dev  bin86 bcc python-pam patch latex-make  qemu qemu-launcher qemuctl graphviz graphviz-dev lvm2 libvncserver-dev libjpeg62-dev libjpeg62 gettext python-xml gawk tetex-extra tetex-base openssl libssl-dev mercurial
    
    $ mkdir /home/xen ; cd /home/xen
    $ wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz 
    $ tar zxvf xen-3.2.1.tar.gz
    $ hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
    
    $ cd cd xen-3.2.1/ ; make prep-kernels
    $ make dist && make install
    $ depmod 2.6.18.8-xen
    $ mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen
    $ update-grub
    
    $ vim /etc/xen/xend-config.sxp
    (xend-relocation-server yes)
    (xend-relocation-port 8002)
    (xend-relocation-hosts-allow 'host*')
    
  • Install fllowing Tools for OpenNEbula
    $ sudo aptitude install ruby sqlite3 libsqlite3-0 libsqlite3-dev libsqlite3-ruby libxmlrpc-c3 libxmlrpc-c3-dev scons
    $ sudo aptitude install g++ flex bison
    


Installation