Kickstart + PXE Network Installations 【原创】

899阅读 0评论2011-12-22 linux_kaige
分类:

 
个人笔记,转载时请注明出处.如需商业利用请联系作者。By Richard Liu

1.       install kickstart tools (RHEL4 AS U2 disk2 )

2.       Creating the Kickstart File

Run: system-config-kickstart

 

1.       Configure the NFS server to export the installation tree(i.e:/iso/rhel4)

mkdir –p /iso/rhel4

cat /etc/exports

/iso/rhel4 *(ro,async,root_squash)

Service nfs start

Exportfs –av

2.       Installation tftp server and PXE tools (RHEL4 AS U2 disk1 and 2 )

3.       Configure the files on the tftp server necessary for PXE booting.

Run: system-config-netboot  --à networking install

 

 

Adding PXE Hosts

1.       copy necessary file to installation tree

cp  -rf  /media/cdrom/images /iso/rhel4

cp RHEL*.iso /iso

2.       start the tftp service ( /etc/xinetd.d/tftpd)

3.       Configure DHCP

Make sure the con_guration

_le contains the following so that PXE booting is enabled for systems which support it:

allow booting;

allow bootp;

class "pxeclients" {

match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";

next-server <server-ip>;

filename "linux-install/pxelinux.0";

}

where <next-server> option should be replaced with the IP address of the tftp serve

4.       start dhcpd service

5.       Ok,pleases boot the client,and start the installation.

 

 

上一篇:RedHat AS4 U2下Mysql 5.0.22集群配置【转】
下一篇:批量创建ftp用户——手机CMS