[[PageOutline]] = OpenNEbula Installation = == 1.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) == 2.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 libwww-dev $ sudo aptitude install g++ flex bison }}} [[BR]] == 3.Installation == * Install ONE {{{ $ scons $ ./install.sh /home/one $ vim /etc/profile export ONE_LOCATION=/home/one/ export ONE_XMLRPC=http://localhost:2633/RPC2 export PATH=$ONE_LOCATION/bin:$PATH }}} [[BR]] == 4.Test ONE functios == [[BR]] == 5.Problem == * scons problem {{{ vim src/host/Host.cc 449 # vim src/template/Template.cc 49 # }}} * linker didn't find wwwxml {{{ $ vim /etc/apt/source.lst deb http://opensource.nchc.org.tw/debian/ unstable main contrib non-free }}}