Linux system diskless workstation setup instance

Source: Internet
Author: User
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

Related Article

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.