Changes between Version 1 and Version 2 of GTD_Cloud_xen_ubuntu


Ignore:
Timestamp:
Oct 20, 2008, 11:57:52 AM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GTD_Cloud_xen_ubuntu

    v1 v2  
    11= Install Xen-3.1.3 on ubuntu Server 8.04 (AMD64) =
    2 == 1. ==
     2== 0.Software Information ==
     3== 1.Requirement packages ==
     4{{{
     5sudo aptitude install build-essential libncurses5-dev kernel-package 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 quilt
     6}}}
    37
    4 == 2. ==
     8[[BR]]
     9== 2. Install Xen-3.1.3 ==
     10 * [http://www.xen.org/download/dl_31tarballs.html Xen-3.1.3]
     11{{{
     12$ cd /usr/src ; wget http://bits.xensource.com/oss-xen/release/3.1.3/xen-3.1.3.tar.gz
     13$ tar zxvf xen-3.1.3.tar.gz
     14$ cd xen-3.1.3
     15$ make -j 4 world
     16$ make install
     17$ update-grub
     18
     19###  If your loop is build-in kernel ###
     20$ vim /boot/grub/menu.lst
     21netloop.nloopbacks=200
     22}}}
     23
     24[[BR]]
     25== 3. Install xen-tools ==
     26 * [http://www.xen-tools.org/software/xen-tools/ xen-tools]
     27{{{
     28$ wget http://www.xen-tools.org/software/xen-tools/xen-tools-3.9.tar.gz
     29$ tar xen-tools-3.9.tar.gz
     30$ cd xen-tools-3.9 ; make install
     31
     32###  Edit xen-tools config ###
     33$ vim /etc/xen-tools/xen-tools.conf
     34}}}
     35
     36[[BR]]
     37== 4. Test Xen ==
     38{{{
     39###  Edit xen config for you demand  ###
     40$ vim /etc/xen/xend-config.sxp
     41
     42###  Startup Xen  ###
     43$ xend start
     44
     45###  Check Xen  ###
     46$ ifconfig
     47$ less /var/log/xen/xend.log
     48$ less /var/log/xen/xend-debug.log
     49//If xend and xen networking can normal startuped, you can go to next step. If you meet problem, check your xen config, network, loop device and log message.
     50
     51###  Create VM  ###
     52$ xen-create-image --hostname vm01 --ip 140.110.X.X
     53
     54###  Booting VM01  ###
     55$ cd /etc/xen
     56$ xm create vm01.cfg -c
     57//If vm01 can normal booting! God job!
     58}}}
     59