RHEL5 unattended installation graphic strategy (1)

Source: Internet
Author: User

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

------------------------------------------------


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.