In the comments to the topic
System Administration. Start. I read that the community would be interested in virtualization articles. For a long time, I have on my hard drive a description of the installation process for Xen hypervisor and the guest OS on a server running Ubuntu / Debian.
Most people use VmWare or VirtualBox for virtualization rarely with Qemu.
Including under the Win x32 \ x64 platform, they are very popular. The Sun's creation even understands Intel VT hardware support.
But I would like to talk about a real alternative on Linux platforms - Xen.
Especially since it is present in the repositories of Ubuntu \ Debian.
We put Xen on the server
For full compatibility and the ability to use all the features we need hardware support from the server.
Intel VT (Virtualization Technology, aka Vanderpool) : Selected Pentium 4 and Pentium D, Xeon 5000 and later, Xeon LV, Core Duo, Core 2 Duo, and Core 2 Quad processors
AMD - V / SVM (Virtualization / Secure Virtual Machine, aka Pacifica) : Selected Athlon, Opteron, and Turion Socket F and AM2 processors
')
Intel VT is supported in all Core2Duo, so this is not a problem. It is advisable to go into the BIOS and check whether it is enabled.
Hardware compatibility will allow us to run unmodified OS (read Win XP and others)
uname -a
We get the kernel version - in my case 2.6.24-19-generic, this will come in handy later.
We put Xen on our Ubuntu server 8.04.1 x64.
All the commands listed below require root privileges, so to save time, go to the root console completely:
sudo su -
We put Xen:
aptitude install ubuntu-xen-server
confirm the installation of all requested packages.
We are waiting for the end of the installation.
sudo reboot
After starting the server in a successful case, you should see that the system is on the new Xen kernel.
uname -a
We see that now the kernel is called - 2.6.24-19-xen - just what we need.
The Xen hypervisor runs Ubuntu OS itself at its core.
# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 2048 8 r----- 167826.8
This command shows that the Xend daemon is up and running by starting the main system and showing its status.
The system is ready to install the guest OS (hereinafter referred to as DomU)
Continuation