Kickstart Unattended Installation

Source: Internet
Author: User

Vim/etc/sysconfig/network-scripts/ifcfg-eth0

Service Network restart

Umount/dev/CDROM

Mount/dev/Drom/mnt

CD/mnt/Server/

Rpm-IVH dhcp-3.0.5-23.el5.i386.rpm

Rpm-IVH dhcp-devel-3.0.5-23.el5.i386.rpm

Rpm-IVH xinetd-2.3.14-10.el5.i386.rpm

Rpm-IVH tftp-server-0.49-2.i386.rpm

Rpm-IVH pykickstart-0.43.8-1.el5.noarch.rpm

Rpm-IVH system-config-kickstart-2.6.19.8-2.el5.noarch.rpm

 

Chkconfig NFS on

Chkconfig TFTP on

Chkconfig DHCPD on

Chkconfig xinetd on

Chkconfig Portmap on

Mkdir/kickstart

Mkdir/install

CP/usr/share/doc/dhcp-3.0.5/DHCPD. conf. Sample/etc/DHCPD. conf

Vim/etc/DHCPD. conf

Vim/etc/xinetd. d/TFTP

Vim/etc/exports

/Kickstart * (RO, sync)

/Install * (RO, sync)

/Tftpboot * (RO, sync)

 

System-config-kickstart

 

NFS 192.168.1.10

/Install

Vim ks. cfg

Clearpart -- all

{Zerombr Yes

# Skip the key number

Key -- Skip}

 

CP/usr/lib/syslinux/pxelinux.0/tftpboot

CP/mnt/images/pxeboot/initrd. img/tftpboot

CP/mnt/images/pxeboot/vmlinuz/tftpboot

Mkdir/tftpboot/pxelinux. cfg

CP/mnt/isolinux. cfg/tftpboot/pxelinux. cfg/Default

Vim/tftpboot/pxelinux. cfg/Default

{Timeout 5

Label Linux

Kernel vmlinuz

Append ksdevice = eth0 load_ramdisk = 1 initrd = initrd. IMG network KS noipv6

}

 

Mount/dev/CDROM/install/

Service NFS restart

Service DHCPD restart

Service Portmap restart

Service xinetd restart

CP-P ks. cfg/kickstart/

CD/kickstart

Chmod 777 ks. cfg

Vim ks. cfg

{Text

# Skip the key number

Key -- Skip}

The last step is to disable the firewall.~!!!!!

Ks = NFS: 192.168.1.10:/kickstart/KS. cfgTutorial path

This article is from the "disconnected man in Tianya" blog and will not be reproduced!

Kickstart Unattended Installation

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.