RHCE7 Learning Note 14--kickstart installation system

Source: Internet
Author: User

First, automatic installation system Tools

1, Cobbler

Another automated installation tool;

2, Kickstart

Second, the use of Kickstart automated installation system


Server-installed software:

1. DHCP Service

[email protected] ~]# Yum install dhcp-y

Configuration file for dhcpd:

1 Subnet 192.168.10.0 netmask 255.255.255.0 {2 range 192.168.10.100 192.168.10.120;  3 option domain-name-servers 8.8.8.8;  4 option Domain-name "clz.seagate.com";  5 option routers 192.168.10.10;  6 option broadcast-address 192.168.10.255; 7 next-server 192.168.10.10; Set the address of the TFTPD server 8 filename "pxelinux.0"; TFTPD Server filename 9 default-lease-time 600; Ten max-lease-time 7200; 11}

2. TFTPD Service

[email protected] dhcp]# Yum install Tftp-server

File directory for TFTPD services:

[Email protected] tftpboot]# Pwd/var/lib/tftpboot

Modify/ETC/XINETD.D/TFTP Enable TFTPD service:

  6 service tftp  7 {  8          socket_type             =  dgram  9         protocol                 = udp 10          wait                     = yes 11          user                     = root 12          server                   = /usr/sbin/in.tftpd 13         server_args              = -s /var/lib/tftpboot 14          disable                  = no 15         per_ Source              = 11 16          cps                      = 100 2 17          flags                    = ipv4 18 }


3, install the Syslinux service, extract the boot file pxelinux.0 file to the tftpd file directory:

[email protected] tftpboot]# Yum provides */pxelinux.0syslinux-4.05-8.el7.x86_64:simple kernel loader which boots from A FAT filesystemrepo:minematched from:filename:/usr/share/syslinux/pxelinux.0
[email protected] tftpboot]# Yum install syslinux-4.05-8.el7.x86_64-y
[email protected] syslinux]# CP pxelinux.0/var/lib/tftpboot/

4. Copy the Initrd.img,vmlinuz file to the tftpd file directory from the/images/pxeboot directory of the installation CD image

[email protected] pxeboot]# CP initrd.img vmlinuz/var/lib/tftpboot/

5. Create the Pxelinux directory below the tftpd file directory

[Email protected] tftpboot]# mkdir pxelinux.cfg

6, copy the installation disc image/isolinux/directory under the isolinux.cfg,boot.msg to tftpd file directory, and named Default, write permissions to the user

[[email protected] isolinux]# CP Isolinux.cfg/var/lib/tftpboot/pxelinux.cfg/default[[email protected] isolinux]# chmod U+w/var/lib/tftpboot/pxelinux.cfg/default
[email protected] isolinux]# CP boot.msg/var/lib/tftpboot/


This article is from the "Ordinary Road" blog, please be sure to keep this source http://linjohn.blog.51cto.com/1026193/1606233

RHCE7 Learning Note 14--kickstart Installing the system

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.