wiki:ONE_Insatll

Version 10 (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 gcc make gawk build-essential python-dev libncurses-dev libssl-dev gettext xorg-dev iproute bridge-utils 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