Hi all.
Centos install use to xen,nfs and virt-install script.
. First step.
Install xen, nfs, portmap.
#> yum update
#> yum install xen kernel-xen
. Second step.
nfs setting and service start
#> vim /etc/exrpots
write share point in exports file (/etc/exports)
/media/CentOS_5.2_Final *(rw) # all ip approach
. Third step.
start nfs service and portmap
#> service nfs restart
#> service portmap restart
#> rpcinfo -p
runing check nfs and portmap.
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 potmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 800 mountd
100005 1 tcp 803 mountd
100005 2 udp 800 mountd
100005 2 tcp 803 mountd
100005 3 udp 800 mountd
100005 3 tcp 803 mountd
. Fourth step.
mount directory (CentOS CD path)
#> mount your_pc_ip_address:/media/CentOS_5.2_Final/ /mnt/centos
. Fiveth step.
Start CentOS install .
#> virt-install
What is the name of your virtaul machine? vm01
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /vm/vm01.img
What would you like the disk to be (in gigabytes)? 8
Would you like to enable graphics support? (yes or no) no
What is the install locatio? /mnt/centos
Start install.
. Sixth step.
1. Select 'NFS imge'
2. Select 'DHCP'
3. Input your IP and install locaion path.
- NFS server name : your_pc_ip_address <enter>
- CentOS directory : /media/CentOS_5.2_Final <enter>
- The end -