LINUX--PXE Installation System

Source: Internet
Author: User


PXE (Preboot execute environment, pre-boot execution Environment)

Is the latest technology developed by Intel Corporation, working in Client/server network mode, supporting workstations to download images from remote servers over the network, and thus support booting the operating system through the network, during the boot process, the terminal requires the server to assign IP addresses, and then TFTP (trivial File Transfer Protocol) or MTFTP (multicast trivial File Transfer Protocol) protocol to download a boot package to native memory execution, completed by this boot package terminal (client) basic software setup, This directs the terminal operating system to be pre-installed in the server. PXE can boot multiple operating systems

The main realization of automatic system installation from the network card start

In the 60 host

Copy Isolinux to/westos

Add/westos to the default publishing directory for VSFTPD

(Service side)

Download the Isolinux from the 60 host to this machine via the LFTP service

Installing the Software

View the configuration file for the Tftp-server service

[Email protected] ~]# vim/etc/xinetd.d/tftp

disable = no # #将14行yes改为no

[[email protected] ~]# systemctl restart Xinetd.service Restart Service

See if Port 60 is turned on

[Email protected] tftpboot]# mkdir pxelinux.cfg

[Email protected] tftpboot]# CP isolinux.cfg Pxelinux.cfg/default

[Email protected] tftpboot]# cp/usr/share/syslinux/pxelinux.0.

[Email protected] ~]# systemctl start httpd

[Email protected] ~]# systemctl stop Firewalld.service

[Email protected] ~]# cp/usr/share/doc/dhcp-4.2.5/dhcpd.conf.example/etc/dhcp/dhcpd.conf

[[Email protected] ~] # vim/etc/dhcp/dhcpd.conf

[Email protected] ~]# systemctl restart DHCPD

[Email protected] tftpboot]# vim Pxelinux.cfg/default

Modify the 65 rows

Change the wait Time

Menu title to change the title

Menu Default startup location

Default boot as check, change to Linux

Menu background here to change the background map

[Email protected] tftpboot]# systemctl start xinetd

Test: You need to disconnect the network segment you set, so as not to affect the experimental effect

Start-up mode for NIC

Fully automatic installation

[Email protected] ~]# yum system-config-kickstart-y

[[email protected] ~]# system-config-kickstart Open Graphics

The following actions are specifically described in starting the installation virtual machine

(file saved to/var/www/html)

[Email protected] ~]# vim/var/www/html/ks.cfg

(This file can also be written in the pre-installation script, and the boot will run automatically)

[[email protected] ~]# ksvalidator ks.cfg detection program is correct

[Email protected] ~]# systemctl restart httpd

[[email protected] ~]# systemctl Restart DHCP

Results

LINUX--PXE Installation 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.