Pxe automatically installed Linux systems
Pxe automatically installed Linux systems
First, what is the pxe
PXE (preboot execute environment, pre-boot execution environment) is the latest technology developed by Intel Corporation, working in network mode Client / Server, support for workstation download images from a remote server over the network, and thus support the launch of the operating system via the network, during startup, the terminal requires the server to assign an IP address, and then TFTP (trivial file transfer protocol) or MTFTP (multicast trivial file transfer protocol) protocol to download a package to start the machine's memory performed by this software package start terminal (client) basic software provided to guide the terminal operating system pre-installed in the server. PXE boot may be multiple operating systems, such as: Windows95 / 98/2000 / windows2003 / windows2008 / winXP / win7 / win8, linux series system.
pxe What are the advantages:
1, do not install winnt server4.0 + service park 6 or win2000 server, reduce installation time, if genuine, do not buy expensive software and services agreement;
2, no can not find or load required file krnl386.exe problem;
3, no problem tnt series graphics cards 16 colors;
4, did not add the issue of file and print sharing on error;
5, there is no time to modify the workstation crash problem;
6, can not shut down properly with no restart problem; (source Baidu)
Note the use of pxe:
1, PXE installation system is based on the way the network is installed, it is necessary to support PXE NIC can.
2, PXE server to provide DHCP or TFTP service contains a.
Second, the specific steps of the installed:
1, closed protective wall
systemctl stop firewalld
setenforce 0
2. Configure DHCP
(Dhcp provides network parameters and the TFTP BOOT LOADER location and user name)
we /etc/dhcp/dhcpd.conf
Enable DHCP Services
start dhcpd
enable dhcpd
3, configuration TFTB
TFTP file pxelinux.0 responsible for providing #boot loader and kernel-related configuration files
we /etc/xinetd.d/tftp
Set disable = no
Open TFTB Service
systemctl start xinetd
systemctl enable xinetd
4, the guide profile arranged pxe
1. Download
yum install syslinux
2, change directory
cd /var/lib/tftpboot/
3、
vi pxelinux.cfg /default
5, configure HTTP
download
yum install httpd
cp -rf / media / * / var / www / html
mkdir -p /var/ww/html/config
systenctl start httpd
kickstart
we /var/www/hhtml/config/ks.cfg
pxe automatically install Linux-related network configuration has been basically completed.
Pxe automatically installed Linux systems
First, what is the pxe
PXE (preboot execute environment, pre-boot execution environment) is the latest technology developed by Intel Corporation, working in network mode Client / Server, support for workstation download images from a remote server over the network, and thus support the launch of the operating system via the network, during startup, the terminal requires the server to assign an IP address, and then TFTP (trivial file transfer protocol) or MTFTP (multicast trivial file transfer protocol) protocol to download a package to start the machine's memory performed by this software package start terminal (client) basic software provided to guide the terminal operating system pre-installed in the server. PXE boot may be multiple operating systems, such as: Windows95 / 98/2000 / windows2003 / windows2008 / winXP / win7 / win8, linux series system.
pxe What are the advantages:
1, do not install winnt server4.0 + service park 6 or win2000 server, reduce installation time, if genuine, do not buy expensive software and services agreement;
2, no can not find or load required file krnl386.exe problem;
3, no problem tnt series graphics cards 16 colors;
4, did not add the issue of file and print sharing on error;
5, there is no time to modify the workstation crash problem;
6, can not shut down properly with no restart problem; (source Baidu)
Note the use of pxe:
1, PXE installation system is based on the way the network is installed, it is necessary to support PXE NIC can.
2, PXE server to provide DHCP or TFTP service contains a.
Second, the specific steps of the installed:
1, closed protective wall
systemctl stop firewalld
setenforce 0
2. Configure DHCP
(Dhcp provides network parameters and the TFTP BOOT LOADER location and user name)
we /etc/dhcp/dhcpd.conf
Enable DHCP Services
start dhcpd
enable dhcpd
3, configuration TFTB
TFTP file pxelinux.0 responsible for providing #boot loader and kernel-related configuration files
we /etc/xinetd.d/tftp
Set disable = no
Open TFTB Service
systemctl start xinetd
systemctl enable xinetd
4, the guide profile arranged pxe
1. Download
yum install syslinux
2, change directory
cd /var/lib/tftpboot/
3、
vi pxelinux.cfg /default
5, configure HTTP
download
yum install httpd
cp -rf / media / * / var / www / html
mkdir -p /var/ww/html/config
systenctl start httpd
kickstart
we /var/www/hhtml/config/ks.cfg
pxe automatically install Linux-related network configuration has been basically completed.