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