User Tools

Site Tools


virt:xen_4.4_14.04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
virt:xen_4.4_14.04 [2014/03/11 14:20]
tschulz [Compile and Install Xen 4.4 from source]
virt:xen_4.4_14.04 [2014/03/11 14:54]
tschulz [Enable Network Bridging]
Line 8: Line 8:
 apt-get build-dep xen apt-get build-dep xen
  
 +cd /usr/src
 wget http://​bits.xensource.com/​oss-xen/​release/​4.4.0/​xen-4.4.0.tar.gz wget http://​bits.xensource.com/​oss-xen/​release/​4.4.0/​xen-4.4.0.tar.gz
 tar xvzf xen-4.4.0.tar.gz tar xvzf xen-4.4.0.tar.gz
Line 15: Line 16:
 make install make install
  
 +</​file>​
 +
 +===== Enable Network Bridging =====
 +<file network /​etc/​network/​interfaces>​
 +iface eth0 inet manual
 +
 +auto xenbr0
 +iface xenbr0 inet dhcp
 +  bridge_ports eth0
 +
 +</​file>​
 +
 +
 +===== Enable startup services and install virt-manager =====
 +<​file>​
 update-rc.d xencommons defaults update-rc.d xencommons defaults
 update-rc.d xendomains defaults update-rc.d xendomains defaults
 update-rc.d xen-watchdog defaults update-rc.d xen-watchdog defaults
  
-update-grub+apt-get install virt-manager 
 +mkdir /​var/​log/​libvirt/​libxl/​
 </​file>​ </​file>​
 +notes: for some reason libvirt-bin needs /​var/​log/​libvirt/​libxl/​ created otherwise libvirtd will not start. ​ You also need to add a new xen hypervisor connection to virt-manager the first time you start virt-manager.
  
-[[ubuntu:​gub2|Force ​boot menu to be displayed]] +===== Update Grub Loader ===== 
 +<​file>​ 
 +cd /boot/ 
 +rm xen-4.4.gz xen-4.gz xen.gz
  
 +update-grub
 +</​file>​
 +Notes: By default ubuntu will not boot xen so you either need to change the default boot entry or [[ubuntu:​gub2|force grub boot menu to be displayed]]
  
 ===== Build libvirt ===== ===== Build libvirt =====
virt/xen_4.4_14.04.txt · Last modified: 2014/03/11 15:28 by tschulz