service tftp { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot per_source = 11 cps = 100 2 flags = IPv4 } |
option domain-name "example.com"; option domain-name-servers 210.52.207.2,210.52.149.2; ddns-update-style interim; max-lease-time 43200; default-lease-time 21600; server-name "server"; allow booting; allow bootp; subnet 192.168.1.0 netmask 255.255.255.0 { # --- default gateway option routers 192.168.1.254; option subnet-mask 255.255.255.0; deny unknown-clients; range 192.168.1.10 192.168.1.250; host hx01 { filename "pxelinux.0"; #文件 pxelinux.0(在 TFTP 服务器的根目录中)将作为 #启动映像被网卡ROM里的PXE客户端载入内存并运行 hardware ethernet 00:0C:29:BE:4D:9A; fixed-address 192.168.1.10; # IP 地址 192.168.1.10 将分配给以太网卡 # 00:0C:29:BE:4D:9A(待安装机器) } } |
export------rhel------RedHat------\---------base (启动时需要的部分文件) \-------RPMS (安装时所需要的所有rpm包) |
/location/of/disk/space client.ip.address(ro,no_root_squash) /location/of/disk/space *(ro,no_root_squash) #导出到所有机器(不适用于所有 NFS 系统) |
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |