Introduction to the principle of PXE diskless network and its actual application

Source: Internet
Author: User

First, the principle of PXE operation:

PXE (preboot Execution Environment) is called Remote boot technology, which facilitates the simple installation of large quantities of computer systems by administrators. The DHCP,FTP,TFTP service is erected on the server, first the client obtains the IP address from the address pool of the DHCP server, and then the client downloads the kernel, kernel driver and the boot file of the hard disk from the server via TFTP. Then boot the operating system to start the installation.

Second, the advantages of PXE:

1. Reduce the system installation personnel error operation

2. Save time to facilitate the installation of large quantities of bare metal operating systems

Three, PXE use scope:

Often used in enterprises, the installation of the bare-metal system of Internet bar Group

Four, the PXE installs the procedure brief introduction:

1 Create mount Directory folder Mount CD execution

Mkdir/mnt/cdorm

Mount/dev/cdrom/mnt/cdrom

2 Installing local Yum

Edit/etc/yum.repos.d/rehl File

[ROOT@ZHANGC ~]# Vim/etc/yum.repos.d/rhel-debuginfo.repo

Rewrite as:

1 [Rhel-server]

2 name=red Hat Enterprise Linux Server

3 Baseurl=file:///mnt/cdrom/server

4 enabled=1

5 gpgcheck=1

6 Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release

7 [RHEL-VT]

8 name=red Hat Enterprise Linux VT

9 BASEURL=FILE:///MNT/CDROM/VT

Ten enabled=1

One gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release

[Rhel-cluster]

name=red Hat Enterprise Linux Cluster

Baseurl=file:///mnt/cdrom/cluster

Enabled=1

Gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release

[Rhel-clusterstorage]

name=red Hat Enterprise Linux clusterstorage

Baseurl=file:///mnt/cdrom/clusterstorage

Enabled=1

Gpgcheck=1

Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release

~

: Wq

[ROOT@ZHANGC ~]# Yum Repolist

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.