PXE

SUSE Linux 12SP5 安装和配置PXE服务器

zypper in tftp xinetd dhcp nfs-kernel-server


vi /etc/dhcpd.conf

option domain-name "gbca.cn";
option domain-name-servers 202.96.64.68, 114.114.114.114;
option routers 192.168.11.99;
ddns-update-style none;
default-lease-time 14400;

option arch code 93 = unsigned integer 16; # RFC4578
subnet 192.168.11.0 netmask 255.255.255.0 {
 next-server 192.168.11.131;
 range 192.168.11.200 192.168.11.220;
  default-lease-time 14400;
  max-lease-time 172800;

标签

PXE defaluts files

default vesamenu.c32


label install1
menu label ^Install Ubuntu 18.04.5 Desktop
menu default
kernel ubuntu1804/vmlinuz
append initrd=ubuntu1804/initrd boot=casper netboot=nfs nfsroot=192.168.1.11:/netboot/nfs/ubuntu1804/ splash toram ---

label install2
menu label ^Install Ubuntu 18.04.5 Server

kernel ubuntu1804/vmlinuz
append initrd=ubuntu1804/initrd boot=casper netboot=nfs nfsroot=192.168.1.11:/netboot/nfs/ubuntu1804server/ splash toram ---

标签

CentOS 7.6 PXE方式安装和配置

以下配置文档亲手配置有效,其中为了省事关闭了selinux和防火墙。

yum -y install dhcp tftp-server syslinux httpd xinetd
systemctl disable firewalld

vi /etc/selinux/config
disabled selinux

systemctl enable dhcpd
systemctl enable httpd
systemctl enable tftp

vi /etc/dhcp/dhcpd.conf

标签
订阅 PXE