Xen Server
出自Centos
[root@xingke ~]# yum -y install kernel-xen xen xen-libs python-virtinst virt-manager Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
* addons: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package xen.i686 0:3.0.3-64.el5_2.1 set to be updated
--> Processing Dependency: libSDL-1.2.so.0 for package: xen
--> Processing Dependency: bridge-utils for package: xen
---> Package virt-manager.i386 0:0.5.3-8.el5 set to be updated
--> Processing Dependency: vte >= 0.12.2 for package: virt-manager
--> Processing Dependency: gtk-vnc-python for package: virt-manager
--> Processing Dependency: pygtk2-libglade for package: virt-manager
--> Processing Dependency: libvirt-python >= 0.3.3 for package: virt-manager
--> Processing Dependency: librsvg2 for package: virt-manager
--> Processing Dependency: gnome-python2-gnomekeyring >= 2.15.4 for package: virt-manager
--> Processing Dependency: scrollkeeper for package: virt-manager
---> Package python-virtinst.noarch 0:0.300.2-8.el5 set to be updated
--> Processing Dependency: virt-viewer for package: python-virtinst
---> Package xen-libs.i686 0:3.0.3-64.el5_2.1 set to be updated
---> Package kernel-xen.i686 0:2.6.18-92.1.10.el5 set to be installed
--> Running transaction check
---> Package pygtk2-libglade.i386 0:2.10.1-12.el5 set to be updated
---> Package libvirt-python.i386 0:0.3.3-7.el5 set to be updated
--> Processing Dependency: libvirt.so.0 for package: libvirt-python
--> Processing Dependency: libvirt = 0.3.3 for package: libvirt-python
---> Package vte.i386 0:0.14.0-2.el5 set to be updated
--> Processing Dependency: bitmap-fonts for package: vte
---> Package gnome-python2-gnomekeyring.i386 0:2.16.0-2.el5 set to be updated
--> Processing Dependency: gnome-python2-desktop = 2.16.0-2.el5 for package: gnome-python2-gnomekeyring
---> Package scrollkeeper.i386 0:0.3.14-9.el5 set to be updated
--> Processing Dependency: docbook-dtds for package: scrollkeeper
---> Package bridge-utils.i386 0:1.1-2 set to be updated
---> Package librsvg2.i386 0:2.16.1-1.el5 set to be updated
--> Processing Dependency: libcroco >= 0.6.1 for package: librsvg2
--> Processing Dependency: libgsf-1.so.114 for package: librsvg2
--> Processing Dependency: libcroco-0.6.so.3 for package: librsvg2
--> Processing Dependency: libgsf >= 1.6.0 for package: librsvg2
---> Package gtk-vnc-python.i386 0:0.3.2-3.el5 set to be updated
--> Processing Dependency: libgtk-vnc-1.0.so.0 for package: gtk-vnc-python
--> Processing Dependency: gtk-vnc = 0.3.2 for package: gtk-vnc-python
---> Package SDL.i386 0:1.2.10-8.el5 set to be updated
---> Package virt-viewer.i386 0:0.0.2-2.el5 set to be updated
--> Running transaction check
---> Package libgsf.i386 0:1.14.1-6.1 set to be updated
---> Package docbook-dtds.noarch 0:1.0-30.1 set to be updated
--> Processing Dependency: sgml-common >= 0.6.3-4 for package: docbook-dtds
--> Processing Dependency: openjade = 1.3.2 for package: docbook-dtds
--> Processing Dependency: xml-common >= 0.6.3-8 for package: docbook-dtds
--> Processing Dependency: xml-common for package: docbook-dtds
---> Package gtk-vnc.i386 0:0.3.2-3.el5 set to be updated
---> Package gnome-python2-desktop.i386 0:2.16.0-2.el5 set to be updated
---> Package libcroco.i386 0:0.6.1-2.1 set to be updated
---> Package libvirt.i386 0:0.3.3-7.el5 set to be updated
--> Processing Dependency: dnsmasq for package: libvirt
---> Package bitmap-fonts.noarch 0:0.3-5.1.1 set to be updated
--> Running transaction check
---> Package sgml-common.noarch 0:0.6.3-18 set to be updated
---> Package dnsmasq.i386 0:2.39-2.el5 set to be updated
---> Package openjade.i386 0:1.3.2-27 set to be updated
--> Processing Dependency: libosp.so.5 for package: openjade
---> Package xml-common.noarch 0:0.6.3-18 set to be updated
--> Running transaction check
---> Package opensp.i386 0:1.5.2-4 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
virt-manager i386 0.5.3-8.el5 base 1.2 M
xen i686 3.0.3-64.el5_2.1 updates 1.8 M
Installing for dependencies:
SDL i386 1.2.10-8.el5 base 233 k
bitmap-fonts noarch 0.3-5.1.1 base 906 k
bridge-utils i386 1.1-2 base 27 k
dnsmasq i386 2.39-2.el5 base 150 k
docbook-dtds noarch 1.0-30.1 base 677 k
gnome-python2-desktop i386 2.16.0-2.el5 base 43 k
gnome-python2-gnomekeyring i386 2.16.0-2.el5 base 15 k
gtk-vnc i386 0.3.2-3.el5 base 51 k
gtk-vnc-python i386 0.3.2-3.el5 base 9.7 k
kernel-xen i686 2.6.18-92.1.10.el5 updates 15 M
libcroco i386 0.6.1-2.1 base 127 k
libgsf i386 1.14.1-6.1 base 116 k
librsvg2 i386 2.16.1-1.el5 base 178 k
libvirt i386 0.3.3-7.el5 base 918 k
libvirt-python i386 0.3.3-7.el5 base 74 k
openjade i386 1.3.2-27 base 980 k
opensp i386 1.5.2-4 base 1.1 M
pygtk2-libglade i386 2.10.1-12.el5 base 18 k
python-virtinst noarch 0.300.2-8.el5 base 161 k
scrollkeeper i386 0.3.14-9.el5 base 294 k
sgml-common noarch 0.6.3-18 base 40 k
virt-viewer i386 0.0.2-2.el5 base 24 k
vte i386 0.14.0-2.el5 base 459 k
xen-libs i686 3.0.3-64.el5_2.1 updates 141 k
xml-common noarch 0.6.3-18 base 5.8 k
Transaction Summary
=============================================================================
Install 27 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 25 M
Downloading Packages:
http://centos.ustc.edu.cn/centos/5.2/os/i386/CentOS/virt-manager-0.5.3-8.el5.i386.rpm: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
(1/27): virt-manager-0.5. 100% |=========================| 1.2 MB 02:00
(2/27): xen-3.0.3-64.el5_ 100% |=========================| 1.8 MB 00:35
(3/27): kernel-xen-2.6.18 100% |=========================| 15 MB 04:58
(4/27): xen-libs-3.0.3-64 100% |=========================| 141 kB 00:02
(5/27): bitmap-fonts-0.3- 100% |=========================| 906 kB 01:21
(6/27): vte-0.14.0-2.el5. 100% |=========================| 459 kB 00:42
(7/27): pygtk2-libglade-2 100% |=========================| 18 kB 00:02
(8/27): SDL-1.2.10-8.el5. 100% |=========================| 233 kB 00:21
(9/27): libvirt-0.3.3-7.e 100% |=========================| 918 kB 01:37
(10/27): xml-common-0.6.3 100% |=========================| 5.8 kB 00:00
(11/27): libcroco-0.6.1-2 100% |=========================| 127 kB 00:12
(12/27): scrollkeeper-0.3 100% |=========================| 294 kB 00:27
(13/27): gnome-python2-gn 100% |=========================| 15 kB 00:01
(14/27): openjade-1.3.2-2 100% |=========================| 980 kB 01:32
(15/27): virt-viewer-0.0. 100% |=========================| 24 kB 00:01
(16/27): dnsmasq-2.39-2.e 100% |=========================| 150 kB 00:13
(17/27): gtk-vnc-python-0 100% |=========================| 9.7 kB 00:00
(18/27): librsvg2-2.16.1- 100% |=========================| 178 kB 00:16
(19/27): sgml-common-0.6. 100% |=========================| 40 kB 00:03
(20/27): gnome-python2-de 100% |=========================| 43 kB 00:03
(21/27): libvirt-python-0 100% |=========================| 74 kB 00:06
(22/27): gtk-vnc-0.3.2-3. 100% |=========================| 51 kB 00:05
(23/27): opensp-1.5.2-4.i 100% |=========================| 1.1 MB 01:44
(24/27): docbook-dtds-1.0 100% |=========================| 677 kB 01:06
(25/27): bridge-utils-1.1 100% |=========================| 27 kB 00:02
(26/27): python-virtinst- 100% |=========================| 161 kB 00:16
(27/27): libgsf-1.14.1-6. 100% |=========================| 116 kB 00:11
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xen-libs ####################### [ 1/27]
Installing: sgml-common ####################### [ 2/27]
Installing: gtk-vnc ####################### [ 3/27]
Installing: bridge-utils ####################### [ 4/27]
Installing: gtk-vnc-python ####################### [ 5/27]
Installing: opensp ####################### [ 6/27]
Installing: openjade ####################### [ 7/27]
Installing: kernel-xen ####################### [ 8/27]
Installing: bitmap-fonts ####################### [ 9/27]
Installing: vte ####################### [10/27]
Installing: pygtk2-libglade ####################### [11/27]
Installing: SDL ####################### [12/27]
Installing: xml-common ####################### [13/27]
Installing: docbook-dtds ####################### [14/27]
Installing: scrollkeeper ####################### [15/27]
Installing: libcroco ####################### [16/27]
Installing: dnsmasq ####################### [17/27]
Installing: libvirt ####################### [18/27]
Installing: libvirt-python ####################### [19/27]
Installing: virt-viewer ####################### [20/27]
Installing: python-virtinst ####################### [21/27]
Installing: gnome-python2-desktop ####################### [22/27]
Installing: gnome-python2-gnomekeyring ####################### [23/27]
Installing: libgsf ####################### [24/27]
Installing: librsvg2 ####################### [25/27]
Installing: xen ####################### [26/27]
Installing: virt-manager ####################### [27/27]
Installed: virt-manager.i386 0:0.5.3-8.el5 xen.i686 0:3.0.3-64.el5_2.1
Dependency Installed: SDL.i386 0:1.2.10-8.el5 bitmap-fonts.noarch 0:0.3-5.1.1 bridge-utils.i386 0:1.1-2 dnsmasq.i386 0:2.39-2.el5 docbook-dtds.noarch 0:1.0-30.1 gnome-python2-desktop.i386 0:2.16.0-2.el5 gnome-python2-gnomekeyring.i386 0:2.16.0-2.el5 gtk-vnc.i386 0:0.3.2-3.el5 gtk-vnc-python.i386 0:0.3.2-3.el5 kernel-xen.i686 0:2.6.18-92.1.10.el5 libcroco.i386 0:0.6.1-2.1 libgsf.i386 0:1.14.1-6.1 librsvg2.i386 0:2.16.1-1.el5 libvirt.i386 0:0.3.3-7.el5 libvirt-python.i386 0:0.3.3-7.el5 openjade.i386 0:1.3.2-27 opensp.i386 0:1.5.2-4 pygtk2-libglade.i386 0:2.10.1-12.el5 python-virtinst.noarch 0:0.300.2-8.el5 scrollkeeper.i386 0:0.3.14-9.el5 sgml-common.noarch 0:0.6.3-18 virt-viewer.i386 0:0.0.2-2.el5 vte.i386 0:0.14.0-2.el5 xen-libs.i686 0:3.0.3-64.el5_2.1 xml-common.noarch 0:0.6.3-18
Complete!
[root@xingke ~]#vi /boot/grub/menu.lst
1 # grub.conf generated by anaconda
2 #
3 # Note that you do not have to rerun grub after making changes to this file
4 # NOTICE: You do not have a /boot partition. This means that
5 # all kernel and initrd paths are relative to /, eg.
6 # root (hd0,0)
7 # kernel /boot/vmlinuz-version ro root=/dev/hda1
8 # initrd /boot/initrd-version.img
9 #boot=/dev/hda
10 default=0
11 timeout=5
12 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
13 hiddenmenu
14 title CentOS (2.6.18-92.1.10.el5xen)
15 root (hd0,0)
16 kernel /boot/xen.gz-2.6.18-92.1.10.el5
17 module /boot/vmlinuz-2.6.18-92.1.10.el5xen ro root=LABEL=/1
18 module /boot/initrd-2.6.18-92.1.10.el5xen.img
19 title CentOS (2.6.18-92.1.10.el5)
20 root (hd0,0)
21 kernel /boot/vmlinuz-2.6.18-92.1.10.el5 ro root=LABEL=/1
22 initrd /boot/initrd-2.6.18-92.1.10.el5.img
23 title CentOS (2.6.18-92.el5)
24 root (hd0,0)
25 kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/1
26 initrd /boot/initrd-2.6.18-92.el5.img
[root@xingke ~]# chkconfig --list | grep xen
xend 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xendomains 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@xingke ~]#
[root@xingke ~]# reboot
[root@xingke ~]# uname -r
2.6.18-92.1.10.el5xen
[root@xingke ~]# chkconfig --list | grep xen
xend 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xendomains 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@xingke ~]# pstree -p | grep xen
| |-xenbus(10)
| `-xenwatch(9)
|-xenconsoled(1943)---{xenconsoled}(1944)
|-xenstored(1933)
[root@xingke ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 465 1 r----- 27.7
[root@xingke ~]#
目录 |
使用Centos XEN安装虚拟服务器
启动与设定NFS服务器
[root@xingke os]# mount -o loop /home/software/os/centos/CentOS-5.2-i386-bin-DVD/CentOS-5.2-i386-bin-DVD.iso /disk1/nfs/ [root@xingke os]# vi /etc/exports /disk1/nfs *(ro) [root@xingke os]# /etc/init.d/portmap start Starting portmap: [ OK ] [root@xingke os]# /etc/init.d/nfs start Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] Starting RPC idmapd: [ OK ] [root@xingke os]# /etc/init.d/nfslock start Starting NFS statd: [ OK ] [root@xingke os]# showmount -e localhost Export list for localhost: /disk1/nfs *
利用virt-install命令安装干净的Centos虚拟机
[root@xingke xen]# dd if=/dev/zero of=/disk1/xen/centos5.samba.img bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 116.657 seconds, 36.8 MB/s [root@xingke xen]#
[root@xingke xen]# virt-install -n centos5_samba -r 256 -f /disk1/xen/centos5.samba.img --nographics -l nfs:192.168.1.13:/disk1/nfs/
语言的选择
Welcome to CentOS
+---------+ Choose a Language +---------+
| |
| What language would you like to use |
| during the installation process? |
| |
| Catalan ^ |
| Chinese(Simplified) : |
| Chinese(Traditional) # |
| Croatian : |
| Czech : |
| Danish : |
| Dutch : |
| English v |
| |
| +----+ |
| | OK | |
| +----+ |
| |
| |
+---------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+----------------+ Configure TCP/IP +----------------+
| |
| [*] Enable IPv4 support |
| (*) Dynamic IP configuration (DHCP) |
| ( ) Manual configuration |
| |
| [ ] Enable IPv6 support |
| (*) Automatic neighbor discovery (RFC 2461) |
| ( ) Dynamic IP configuration (DHCP) |
| ( ) Manual configuration |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+------------------+ CentOS +-------------------+
| |
| Welcome to CentOS! |
| |
| |
| +----+ |
| | OK | |
| +----+ |
| |
| |
+-----------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+-----------------+ Warning +-----------------+
| |
| The partition table on device xvda was |
| unreadable. To create new partitions it |
| must be initialized, causing the loss of |
| ALL DATA on this drive. |
| |
| This operation will override any previous |
| installation choices about which drives |
| to ignore. |
| |
| Would you like to initialize this drive, |
| erasing ALL DATA? |
| |
| +-----+ +----+ |
| | Yes | | No | |
| +-----+ +----+ |
| |
| |
+---------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS +-------------------------+ Partitioning Type +-------------------------+ | | | Installation requires partitioning of your hard drive. The | | default layout is reasonable for most users. You can either | | choose to use this or create your own. | | | | Remove all partitions on selected drives and create default layout. | | Remove linux partitions on selected drives and create default layout. | | Use free space on selected drives and create default layout. | | Create custom layout. | | | | Which drive(s) do you want to use for this installation? | | [*] xvda 4095 MB (Xen Virtual Block Device) ^ | | # | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +-----------------------------------------------------------------------+ < Space>,<+>,<-> selection | <F2> Add drive | <F12> next screen
Welcome to CentOS
+------------------------------+ Partitioning +------------------------------+
| |
| Device Start End Size Type Mount Point |
| /dev/xvda ^ |
| Free space 1 523 4096M Free space # |
| : |
| : |
| : |
| : |
| : |
| : |
| : |
| v |
| |
| +-----+ +------+ +--------+ +------+ +----+ +------+ |
| | New | | Edit | | Delete | | RAID | | OK | | Back | |
| +-----+ +------+ +--------+ +------+ +----+ +------+ |
| |
| |
+----------------------------------------------------------------------------+
F1-Help F2-New F3-Edit F4-Delete F5-Reset F12-OK
Welcome to CentOS
+--------+--------------------+ Add Partition +--------------------+---------+
| | | |
| | Mount Point:/___________________ | oint |
| /dev/xv| | ^ |
| Free | File System type: Allowable Drives: | # |
| | ext2 ^ [*] xvda ^ | : |
| | ext3 # # | : |
| | | : |
| | Size (MB): 3200___ (*) Fixed Size: | : |
| | ( ) Fill maximum size of (MB): 1____ | : |
| | ( ) Fill all available space: | : |
| | | : |
| | [*] Force to be a primary partition | v |
| | | |
| +-| +----+ +--------+ | |
| | | | OK | | Cancel | | |
| +-| +----+ +--------+ | |
| | | |
| | | |
+--------+---------------------------------------------------------+ --------+
F1-Help F2-New F3-Edit F4-Delete F5-Reset F12-OK
Welcome to CentOS
+------------------------------+ Partitioning +------------------------------+
| |
| Device Start End Size Type Mount Point |
| /dev/xvda ^ |
| xvda1 1 408 3200M ext3 / # |
| Free space 409 522 894M Free space : |
| : |
| : |
| : |
| : |
| : |
| : |
| v |
| |
| +-----+ +------+ +--------+ +------+ +----+ +------+ |
| | New | | Edit | | Delete | | RAID | | OK | | Back | |
| +-----+ +------+ +--------+ +------+ +----+ +------+ |
| |
| |
+----------------------------------------------------------------------------+
F1-Help F2-New F3-Edit F4-Delete F5-Reset F12-OK
Welcome to CentOS
+--------+--------------------+ Add Partition +--------------------+---------+
| | | |
| | Mount Point:<Not Applicable>____ | oint |
| /dev/xv| | ^ |
| xvda1| File System type: Allowable Drives: | # |
| Free | software RAID ^ [*] xvda ^ | : |
| | swap # # | : |
| | | : |
| | Size (MB): 256____ (*) Fixed Size: | : |
| | ( ) Fill maximum size of (MB): 1____ | : |
| | ( ) Fill all available space: | : |
| | | : |
| | [ ] Force to be a primary partition | v |
| | | |
| +-| +----+ +--------+ | |
| | | | OK | | Cancel | | |
| +-| +----+ +--------+ | |
| | | |
| | | |
+--------+---------------------------------------------------------+ --------+
F1-Help F2-New F3-Edit F4-Delete F5-Reset F12-OK
Welcome to CentOS
+------------------------------+ Partitioning +------------------------------+
| |
| Device Start End Size Type Mount Point |
| /dev/xvda ^ |
| xvda1 1 408 3200M ext3 / # |
| xvda2 409 441 258M swap : |
| Free space 442 522 635M Free space : |
| : |
| : |
| : |
| : |
| : |
| v |
| |
| +-----+ +------+ +--------+ +------+ +----+ +------+ |
| | New | | Edit | | Delete | | RAID | | OK | | Back | |
| +-----+ +------+ +--------+ +------+ +----+ +------+ |
| |
| |
+----------------------------------------------------------------------------+
F1-Help F2-New F3-Edit F4-Delete F5-Reset F12-OK
Welcome to CentOS
+-----------------+-------+ Partitioning Warning +--------+------------------+
| | | |
| Device | The following warnings exist with | Mount Point |
| /dev/xvda | your requested partition scheme. | ^ |
| xvda1 | | / # |
| xvda2 | You have allocated less swap space | : |
| Free space | (258M) than available RAM (272M) on | : |
| | your system. This could negatively | : |
| | impact performance. | : |
| | | : |
| | Would you like to continue with | : |
| | your requested partitioning scheme? | : |
| | | v |
| | +-----+ +----+ | |
| +-----+ +| | Yes | | No | | +------+ |
| | New | || +-----+ +----+ | | Back | |
| +-----+ +| | +------+ |
| | | |
| +---------------------------------------+ |
+------------------ -----------------+
F1-Help F2-New F3-Edit F4-Delete F5-Reset F12-OK
Welcome to CentOS
+----------+ Boot Loader Configuration +-----------+
| |
| Which boot loader would you like to use? |
| |
| (*) Use GRUB Boot Loader |
| ( ) No Boot Loader |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+--------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
在预设的情况中,domain-U 所使用的终端接口 (console) 为利用 xvc0 这个装置来处理的, 这个部分预设会出现,所以不必理会他!
Welcome to CentOS
+------------------+ Boot Loader Configuration +------------------+
| |
| A few systems will need to pass special options to the kernel |
| at boot time for the system to function properly. If you need |
| to pass boot options to the kernel, enter them now. If you |
| don't need any or aren't sure, leave this blank. |
| |
| console=xvc0____________________________________ |
| |
| [ ] Force use of LBA32 (not normally required) |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-----------------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+-------------+ Boot Loader Configuration +-------------+
| |
| A boot loader password prevents users from passing |
| arbitrary options to the kernel. For highest |
| security, we recommend setting a password, but this |
| is not necessary for more casual users. |
| |
| [ ] Use a GRUB Password |
| |
| Boot Loader Password: ________________________ |
| Confirm: ________________________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+-------------------+ Boot Loader Configuration +-------------------+
| |
| The boot manager CentOS uses can boot other operating systems |
| as well. You need to tell me what partitions you would like to |
| be able to boot and what label you want to use for each of them. |
| |
| Default Boot label Device |
| * CentOS /dev/xvda1 ^ |
| : |
| : |
| # |
| v |
| |
| +----+ +------+ +------+ |
| | OK | | Edit | | Back | |
| +----+ +------+ +------+ |
| |
| |
+-------------------------------------------------------------------+
< Space> select | <F2> select default | <F4> delete | <F12> next screen>
Welcome to CentOS
+----------+ Boot Loader Configuration +----------+
| |
| Where do you want to install the boot loader? |
| |
| /dev/xvda Master Boot Record (MBR) |
| /dev/xvda1 First sector of boot partition |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+----+ Configure Network Interface +-----+
| |
| Would you like to configure the eth0 |
| network interface in your system? |
| |
| +-----+ +----+ |
| | Yes | | No | |
| +-----+ +----+ |
| |
| |
+----------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
++ Network Configuration for eth0 ++
| |
| Xen Virtual Ethernet |
| 00:16:3E:00:C5:92 |
| |
| [*] Activate on boot |
| [*] Enable IPv4 support |
| [ ] Enable IPv6 support |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+-----+ IPv4 Configuration for eth0 +-----+
| |
| Xen Virtual Ethernet |
| 00:16:3E:00:C5:92 |
| |
| ( ) Dynamic IP configuration (DHCP) |
| (*) Manual address configuration |
| |
| IP Address Prefix (Netmask) |
| 192.168.1.22____ / 255.255.255.0___ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-----------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+------------+ Miscellaneous Network Settings +------------+
| |
| Gateway: 192.168.1.1______________________________ |
| Primary DNS: 202.96.128.166___________________________ |
| Secondary DNS: 202.96.128.86____________________________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+--------------------+ Hostname Configuration +--------------------+
| |
| If your system is part of a larger network where hostnames are |
| assigned by DHCP, select automatically via DHCP. Otherwise, |
| select manually and enter a hostname for your system. If you |
| do not, your system will be known as 'localhost.' |
| |
| ( ) automatically via DHCP |
| (*) manually samba.15099.net_________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+------------------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+-------+ Time Zone Selection +-------+
| |
| What time zone are you located in? |
| |
| [ ] System clock uses UTC |
| |
| Asia/Saigon ^ |
| Asia/Sakhalin : |
| Asia/Samarkand # |
| Asia/Seoul : |
| Asia/Shanghai v |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+--------------+ Root Password +---------------+
| |
| Pick a root password. You must type it |
| twice to ensure you know what it is and |
| didn't make a mistake in typing. Remember |
| that the root password is a critical part |
| of system security! |
| |
| Password: *********_______________ |
| Password (confirm): *********_______________ |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+----------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+----------------+ Installation Progress +----------------+
| |
| Retrieving installation information... |
| |
| 80% |
| |
+---------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+----------------------+ Package selection +----------------------+
| |
| The default installation of CentOS includes a set of software |
| applicable for general internet usage. What additional tasks |
| would you like your system to include support for? |
| |
| [ ] Server ^ |
| [ ] Server - GUI : |
| [ ] Clustering # |
| [ ] Storage Clustering v |
| |
| [*] Customize software selection |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-----------------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
Welcome to CentOS
+----------+ Package Group Selection +----------+
| |
| Please select the package groups you would |
| like to have installed. |
| |
| [ ] Administration Tools ^ |
| [ ] Authoring and Publishing # |
| [*] Base : |
| [ ] Cluster Storage : |
| [ ] Clustering : |
| [ ] DNS Name Server v |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+-----------------------------------------------+
< Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen
Welcome to CentOS
+----------------------+ Dependency Check +-----------------------+
| |
| Checking dependencies in packages selected for installation... |
| |
| 2% |
| |
+-----------------------------------------------------------------+
< Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen
Welcome to CentOS
+---------+ Installation to begin +----------+
| |
| A complete log of your installation will |
| be in /root/install.log after rebooting |
| your system. You may want to keep this |
| file for later reference. |
| |
| +----+ +------+ |
| | OK | | Back | |
| +----+ +------+ |
| |
| |
+--------------------------------------------+
< Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen
Welcome to CentOS
+---------------------+ Formatting +----------------------+
| |
| Formatting / file system... |
| |
| 96% |
| |
+---------------------------------------------------------+
< Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen
Welcome to CentOS
+------------------+ Package Installation +------------------+
| |
| Name : glibc-common-2.5-24-i386 |
| Size : 65081k |
| Summary: Common binaries and locale data for glibc |
| |
| |
| 100% |
| |
| Packages Bytes Time |
| Total : 345 541M 0:07:20 |
| Completed: 10 13M 0:00:10 |
| Remaining: 335 528M 0:07:09 |
| |
| 2% |
| |
+------------------------------------------------------------+
< Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen
Welcome to CentOS
+----------------------+ Complete +-----------------------+
| |
| Congratulations, your CentOS installation is complete. |
| |
| Remove any media used during the installation process |
| and press <Enter> to reboot your system. |
| |
| |
| +--------+ |
| | Reboot | |
| +--------+ |
| |
| |
+---------------------------------------------------------+
<Enter> to reboot
pyGRUB version 0.6
..............................................
. CentOS (2.6.18-92.1.10.el5xen) .
. .
. .
. .
. .
. .
. .
. .
..............................................
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS. 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.
Starting system message bus: [ OK ]
[ OK ] Bluetooth services:[ OK ]
Mounting other filesystems: [ OK ]
Starting PC/SC smart card daemon (pcscd): [ OK ]
Starting hidd: [ OK ]
Starting autofs: Loading autofs4: [ OK ]
Starting automount: [ OK ]
[ OK ]
Starting sshd: [ OK ]
Starting cups: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Starting console mouse services: [ OK ]
Starting crond: [ OK ]
Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting yum-updatesd: [ OK ]
Starting HAL daemon: [ OK ]
Starting smartd: [ OK ]
+--------+ Choose a Tool +---------+
| |
| Authentication configuration |
| Firewall configuration |
| Network configuration |
| System services |
| |
| +----------+ +------+ |
| | Run Tool | | Quit | |
| +----------+ +------+ |
| |
| |
+----------------------------------+
<Tab>/<Alt-Tab> between elements | < Space> selects | <F12> next screen
[ OK ]
Starting smartd: [ OK ]
CentOS release 5.2 (Final)
Kernel 2.6.18-92.el5xen on an i686
samba.15099.net login:
