A text version was released earlier. Now we have a detailed graphic version to help everyone implement RHEL5 unattended installation.
Test environment: Redhat 5.3 disable iptables and Selinux
Required services: Dhcp Vsftp Tftp Xinted
1. Set up the Yum Source:
For detailed method, see: http://iminmin.blog.51cto.com/689308/162666 using the second method, the CD image to build YUM)
Ii. Install the Vsftp service:
----------------------------------------------
[Root @ rhce ~] # Yum install vsftpd *-y
[Root @ rhce ~] # Chkconfig vsftpd on
[Root @ rhce ~] # Service vsftpd restart
Disable vsftpd: [failed]
Start vsftpd For vsftpd: [OK]
-----------------------------------------------
3. copy the file required for PXE startup:
1. Copy necessary files:
----------------------------------------------
[Root @ rhce ~] # Cp/usr/lib/syslinux/pxelinux.0/tftpboot/
[Root @ rhce ~] # Mkdir/tftpboot/pxelinux. cfg
[Root @ rhce ~] # Cp/cdrom/isolinux. cfg/tftpboot/pxelinux. cfg/default
[Root @ rhce ~] # Cp/cdrom/images/pxeboot/initrd. img/tftpboot/
[Root @ rhce ~] # Cp/cdrom/images/pxeboot/vmlinuz/tftpboot/
----------------------------------------------
2. Modify the/tftpboot/pxelinux. cfg/default file.
----------------------------------------------
[Root @ rhce ~] # Chmod u + w/tftpboot/pxelinux. cfg/default // default file read-only
[Root @ rhce ~] # Vim/tftpboot/pxelinux. cfg/default
Default linux
Prompt 1
Timeout 6 // timeout. The default value is 600.
Display boot. msg
F1 boot. msg
F2 options. msg
F3 general. msg
F4 param. msg
F5 rescue. msg
Label linux
Kernel vmlinuz
Append initrd = initrd. img ks = ftp: // 192.168.1.8/ks. cfg // ks. cfg is the kickstart installation configuration file, which is installed according to ks. cfg. We will configure him later
... Is omitted below
------------------------------------------------