Linux kickstart Unattended Installation

Source: Internet
Author: User

1. Configure the SERVER address as 192.168.0.10, mount the image to/mnt, and install tftp and dhcp, nfs service # rpm-ivh dhcp-* # rpm-ivh tftp-* # rpm-ivh nfs-utils portmap 3, configure to start the dhcp server add the last two lines of filename "pxelinux.0"; Next-server 192 .. 168.0.10; The dhcpd service cannot be started out of braces to copy the Linux kernel file to the/tftpboot directory, modify the tftp parameters, and start the service. # vi/etc/xinetd. d/tftp: Change the selected yes to no to enable tftp to modify/tftpboot/pxelinux, cfg/default. Change the time of the third row to a smaller value, and specify ks in row 12th. add ks = nfs: 192.168.0.10:/pub/ks to the position of the cfg file. Cfg next install kickstart to generate ks. run system-config-kickstart In the cfg file to start an interface and configure ks as needed. cfg file set root password set installation mode nfs/mnt for the disk image location install mbr add partition select dhcp allocation IP disable firewall and seliunx installation version select gnome graphics environment install x window system <! -- [If! SupportEmptyParas] --> <! -- [Endif] --> Save ks. create a new/pub folder in the cfg file and run the generated ks. move the cfg file to the/put folder to modify ks. add a key-skip line under the bootloader In the cfg file to skip the installation serial number. Do you want to skip the configuration nfs add record by default? Start nfs preparation. Complete the next step to start installing a new machine, generally, you do not need to select pxe for startup. It is enough to select a network segment with the server. <! -- [If! Vml] -->
<! -- [Endif] --> the installation process is complete without any action. The installation is complete. Reboot and enter the root user name and password to log on successfully. <! -- [If! SupportEmptyParas] --> <! -- [Endif] --> This article is from the "Technical Exchange" blog.

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.