4 version of the
CentOS server.
1. Download the iso image from the mirror closest to you.
http://mirror.linux.duke.edu/pub/centos/4.4/isos/i386/
CentOS-4.4.ServerCD-i386.iso
We are going to use a VNC to connect to the install screen in qemu. If your
system does not have it, please install a VNC viewer first (http://www.
tightvnc.com/). Most distributions provide VNC support out of the box.
Install qemu, which will be used for the actual installation.
# yum install qemu vnc
2. Create a qemu file image that we will use for our installation.
~ qemu-img create centos_domU.img 2G
3. Start qemu with the following parameters to make it boot the CentOS server
installation cd.
~ qemu -no-kqemu -hda /home/pchaganti/xen-images/centos_domU.img -
cdrom /home/pchaganti/CentOS-4.4.ServerCD-i386.iso -boot d -vnc 2
4. Use the vncviewer to connect to the display specified in the options
provided to qemu in the above step. In my case the IP address of my Xen
server is 192.168.1.186. This is how I connect to the display with the
qemu screen.
~ vncviewer 192.168.1.186:2
???
?° ?° ?° ?° ?° ?° ?° ?° ?°
Creating Virtual Machines
[ 46 ]
5. The installation screen for CentOS will be displayed as shown in the
following screenshot:
6. Go through the CentOS install following the documentation from
the manual.
http://www.centos.org/docs/4/html/rhel-ig-x8664-multi-en-4/
ch-guimode.html
7. Once the installation is complete, select the Reboot. This will shutdown your
qemu session and take you back to the command prompt.
Pages:
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57