This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| xen:installation_of_dom0 [2011/03/25 14:38] Luc Nieland | xen:installation_of_dom0 [2011/03/27 20:38] (current) Luc Nieland [Debian 6.0 (Squeeze)] | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Install a minimal OpenSuse system, choose "other" graphical system, and choose text based server). | Install a minimal OpenSuse system, choose "other" graphical system, and choose text based server). | ||
| - | Use Yast: Virtualization -> Install Hypervisor and Tools -> Xen to install the Xen hypervisor and dom0 patched kernel. | ||
| - | Optionally change the default runlevel to 3, and change the default boot-option to Xen, and use fixed IP-numbers etc. | + | Now the system will come up with a graphical-screen (ROTFL). With ctrl-alt-F1 change to text-mode and log in with the created non-root user during install. Use: | 
| + | sudo su - root | ||
| + | passwd root | ||
| + | to go to a more comfortable area. | ||
| + | Use yast: | ||
| + | * system -> System Services (expert): to the default runlevel to 3 | ||
| + | * security -> firewall: to disable the firewall | ||
| + | * system -> System Services: to enable sshd in runlevel 3 (and optionally 4 and 5) | ||
| + | * network -> to change the hostname and make the IP static | ||
| + | |||
| + | |||
| + | Update the repository cache and install generic usefull stuff: | ||
| + | zypper up | ||
| + | zypper install  mc iputils man bind-util vim-enhanced tcpdump rsync wget iftop | ||
| + | |||
| + | |||
| + | De-install conflicting patterns-openSUSE-minimal_base because it conflicts with python-base (which is a requirement for xen-tools). As a replacment for the package, some other packages need to be installed: | ||
| + | zypper remove  patterns-openSUSE-minimal_base | ||
| + | zypper install  python-base | ||
| + | |||
| + | Install the Xen hypervisor and a Xen-enabled Linux dom0 kernel: | ||
| + | zypper install  libvirt  xen-libs  xen kernel-xen  xen-tools | ||
| + | |||
| + | Extra stuff: | ||
| + | zypper install  libvirt-python  vm-install  xen-tools-ioemu | ||
| + | |||
| + | |||
| + | The required linux-bridging stuff has come as dependency. | ||
| + | |||
| + | |||
| + | Change the default boot-option to the Xen hypervisor in /boot/grub/menu.lst | ||
| + | default 0 | ||
| + | |||
| + | |||
| + | |||
| + | As an alternative for cmdline zypper; use Yast: Virtualization -> Install Hypervisor and Tools -> Xen to install the Xen hypervisor and dom0 patched kernel. Resolve the python dependency also. | ||
| Line 82: | Line 116: | ||
| #!/bin/sh | #!/bin/sh | ||
| BASEPATH=/etc/xen/scripts | BASEPATH=/etc/xen/scripts | ||
| - | ${BASEPATH}/network-bridge "$@" vifnum=0 netdev=eth0 bridge=xenbr0 | + | ${BASEPATH}/network-bridge "$@" vifnum=0 bridge=xenbr0 netdev=eth0 | 
| - | ${BASEPATH}/network-bridge "$@" vifnum=1 netdev=eth1 bridge=xenbr1 | + | ${BASEPATH}/network-bridge "$@" vifnum=1 bridge=xenbr1 netdev=eth1 | 
| - | ${BASEPATH}/network-bridge "$@" vifnum=2 netdev=eth2 bridge=xenbr2 | + | ${BASEPATH}/network-bridge "$@" vifnum=2 bridge=xenbr2 netdev=eth2 | 
| - | ${BASEPATH}/network-bridge "$@" vifnum=3 netdev=eth3 bridge=xenbr3 | + | ${BASEPATH}/network-bridge "$@" vifnum=3 bridge=xenbr3 netdev=eth3 |