pxe linux

Posted realplay

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pxe linux相关的知识,希望对你有一定的参考价值。

dhcp(client+server): isc dhcp(iso.org) 3.1.3比较小巧且能在2.6.32.27下编译通过,可用于pxe boot。
root [ /etc ]# cat dhcpd.conf 
#allow booting;
#allow bootp;

default-lease-time 3600;
max-lease-time 9200;
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.56.255;
option routers 192.168.56.2;
option domain-name-servers 192.168.1.1;

subnet 192.168.56.0 netmask 255.255.255.0 {
    range 192.168.56.130 192.168.56.139;
}

option space PXE;
class "PXEclients" {
    match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
    #where the next-server <server-ip> should be replaced with the IP address of the tftp server.
    filename "pxelinux.0";
    next-server 192.168.56.1;
    #option tftp-server-name "192.168.56.1";
}
 
inetutils: including ftpd, inetd, rexecd, rlogind, rshd, talkd, telnetd, tftpd, uucpd and whois
inetutils-1.5.tar.gz is in the lfs-6.3 live cd
./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --disable-clients --disable-logger --disable-syslogd
root [ /mnt/sdb1/src/inetutils-1.5 ]# cat /etc/inetd.conf 
tftp           dgram   udp   wait   root  /usr/sbin/tftpd       -l /boot




























以上是关于pxe linux的主要内容,如果未能解决你的问题,请参考以下文章

LinuxLinux博客汇总

Linuxlinux命令大全

linuxlinux 安装 protobuf 2.5.0 版本

LinuxLinux使用简单密码|短密码

linuxlinux shell 判断是安装了某个软件

Linuxlinux压缩和解压缩命令大全