Article Title: Linux system diskless workstation sets up an instance. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The client is a blade that supports PXE startup and uses Linux as the server. The server configuration is as follows:
1) install the DHCP server dhcpd
2) configure the/etc/dhcpd. conf file. The following is the file on my machine.
Max-lease-time-1; default-lease-time-1; # Note: the IP address never expires. option subnet-mask expires 0.0.0; option routers 10.0.0.1; option domain-name-servers 10.10.10.10; # option netbios-name-servers 10.10.10.10; option broadcast-address 10.00000000255; # option dhcp-class-identifier "PXEClient"; # option vendor-encapsulated-options 01: 04: 00: 00: 00: 00: ff; # option-135 "start"; subnet 10.0.0.0 netmask 255.0.0.0 {range 10.10.12.131 10.12.150; host blade01 {hardware ethernet 00: e0: 43: 00: 02: 00; fixed-address 10.10.12.131; filename "/tftpboot/pxelinux.0"; # Note: Start the image file} host blade02 {hardware ethernet 00: e0: 43: 00: 02: 02; fixed-address 10.10.12.132; filename "/tftpboot/pxelinux.0";} host blade03 {hardware ethernet 00: e0: 43: 00: 02: 04; fixed-address 10.10.12.133; filename "/tftpboot/pxelinux.0";} host blade04 {hardware ethernet 00: e0: 43: 00: 02: 06; fixed-address 10.10.12.134; filename "/tftpboot/pxelinux.0 ";} host blade05 {hardware ethernet 00: e0: 43: 00: 02: 08; fixed-address 10.10.12.135; filename "/tftpboot/pxelinux.0 ";}}
|
Note: The dhcp Client obtains the IP address and uses the TFTP protocol to download the startup image file from the server. I use syslinux
The pxelinux in the Toolkit serves as the loder for remote startup.
3) configure the tftp server
To use pxelinux as a boot tool, you must support the tftp server with the TSIZE parameter. Download from http://www.kernel.org/pub/software/network/tftp.
[1] [2] Next page