{"id":40566,"date":"2025-05-29T11:16:19","date_gmt":"2025-05-29T03:16:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/40566.html"},"modified":"2025-05-29T11:16:19","modified_gmt":"2025-05-29T03:16:19","slug":"pxe%e6%89%b9%e9%87%8f%e5%ae%89%e8%a3%85%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/40566.html","title":{"rendered":"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668"},"content":{"rendered":"<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#2d4fc9\">KickStart\u81ea\u52a8\u5316\u5b89\u88c5\u90e8\u7f72<\/span><\/p>\n<ul>\n<li style=\"text-align:left\"><span style=\"color:#2d4fc9\">PXE\u539f\u7406<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#464646\">PXE(preboot execute environment&#xff0c;\u9884\u542f\u52a8\u6267\u884c\u73af\u5883)\u662f\u7531<\/span>Intel\u516c\u53f8<span style=\"background-color:#ffffff\"><span style=\"color:#464646\">\u5f00\u53d1\u7684\u6700\u65b0\u6280\u672f&#xff0c;\u5de5\u4f5c\u4e8eClient\/Server\u7684\u7f51\u7edc\u6a21\u5f0f&#xff0c;\u652f\u6301<\/span><\/span>\u5de5\u4f5c\u7ad9<span style=\"background-color:#ffffff\"><span style=\"color:#464646\">\u901a\u8fc7\u7f51\u7edc\u4ece\u8fdc\u7aef\u670d\u52a1\u5668\u4e0b\u8f7d\u6620\u50cf&#xff0c;\u5e76\u7531\u6b64\u652f\u6301\u901a\u8fc7\u7f51\u7edc\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d&#xff0c;\u7ec8\u7aef\u8981\u6c42\u670d\u52a1\u5668\u5206\u914dIP\u5730\u5740&#xff0c;\u518d\u7528<\/span><\/span>TFTP<span style=\"color:#464646\">&#xff08;trivial file transfer protocol&#xff09;\u6216<\/span>MTFTP<span style=\"color:#464646\">(multicast trivial file transfer protocol)\u534f\u8bae\u4e0b\u8f7d\u4e00\u4e2a\u542f\u52a8\u8f6f\u4ef6\u5305\u5230\u672c\u673a\u5185\u5b58\u4e2d\u6267\u884c&#xff0c;\u7531\u8fd9\u4e2a\u542f\u52a8\u8f6f\u4ef6\u5305\u5b8c\u6210\u7ec8\u7aef&#xff08;\u5ba2\u6237\u7aef&#xff09;\u57fa\u672c\u8f6f\u4ef6\u8bbe\u7f6e&#xff0c;\u4ece\u800c\u5f15\u5bfc\u9884\u5148\u5b89\u88c5\u5728\u670d\u52a1\u5668\u4e2d\u7684\u7ec8\u7aef\u64cd\u4f5c\u7cfb\u7edf<\/span><\/p>\n<li style=\"text-align:left\"><span style=\"color:#464646\">PXE\u00a0Client\u4ecePXE\u7f51\u5361\u542f\u52a8&#xff0c;\u901a\u8fc7PXE\u00a0BootRom\u4ee5UDP\u7684\u5f62\u5f0f\u53d1\u9001\u4e00\u4e2a\u5e7f\u64ad\u8bf7\u6c42&#xff0c;\u5411\u672c\u7f51\u7edc\u4e2dDHCP\u670d\u52a1\u5668\u6240\u6c42IP<\/span><\/li>\n<li style=\"text-align:left\"><span style=\"color:#464646\">DHCP\u670d\u52a1\u5668\u6536\u5230\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42&#xff0c;\u9a8c\u8bc1\u662f\u5426\u6765KickStart\u81ea\u52a8\u5316\u5b89\u88c5\u90e8\u7f72\u81ea\u5408\u6cd5\u7684PXEClient\u7684\u8bf7\u6c42&#xff0c;\u9a8c\u8bc1\u901a\u8fc7\u8fd4\u56de\u54cd\u5e94&#xff0c;\u54cd\u5e94\u5185\u5bb9\u5305\u542b&#xff1a;\u5206\u914d\u7684IP\u5730\u5740\u3001pxelinux\u542f\u52a8\u7a0b\u5e8f\u7684\u4f4d\u7f6e\u4ee5\u53ca\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e<\/span><\/li>\n<li style=\"text-align:left\"><span style=\"color:#464646\">\u5ba2\u6237\u7aef\u6536\u5230\u670d\u52a1\u5668\u7684\u56de\u5e94\u540e&#xff0c;\u53d1\u9001\u4e00\u4e2a\u5e27\u5230TFTP\u670d\u52a1\u7aef&#xff0c;\u8bf7\u6c42\u4f20\u8f93\u542f\u52a8\u6240\u9700\u6587\u4ef6&#xff0c;\u5305\u62ec&#xff1a;pxelinux.0\u3001pxelinux.cfg\/default\u3001vmlinuz\u3001initrd.img\u7b49\u6587\u4ef6<\/span><\/li>\n<li style=\"text-align:left\"><span style=\"color:#464646\">\u5f53\u670d\u52a1\u5668\u6536\u5230\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42\u540e&#xff0c;\u4ed6\u4eec\u4e4b\u95f4\u4e4b\u540e\u5c06\u6709\u66f4\u591a\u7684\u4fe1\u606f\u5728\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u4f5c\u5e94\u7b54&#xff0c;\u7528\u4ee5\u51b3\u5b9a\u542f\u52a8\u53c2\u6570\u3002BootROM\u7531TFTP\u901a\u8baf\u534f\u8bae\u4eceBoot Server\u4e0b\u8f7d\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f\u9501\u5fc5\u987b\u7684\u6587\u4ef6&#xff08;pxelinux.0<\/span>\u00a0<span style=\"color:#464646\">pxelinux.cfg\/default&#xff09;\u3002default\u6587\u4ef6\u4e0b\u8f7d\u5b8c\u6210\u540e&#xff0c;\u4f1a\u6839\u636e\u8be5\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7684\u5f15\u5bfc\u987a\u5e8f&#xff0c;\u542f\u52a8Linux\u5b89\u88c5\u7a0b\u5e8f\u7684\u5f15\u5bfc\u5185\u6838<\/span><\/li>\n<li style=\"text-align:left\"><span style=\"color:#464646\">\u5ba2\u6237\u7aef\u901a\u8fc7pxelinux.cfg\/default\u6587\u4ef6\u6210\u529f\u7684\u5f15\u5bfcLinux\u5b89\u88c5\u5185\u6838\u540e&#xff0c;\u5b89\u88c5\u7a0b\u5e8f\u9996\u5148\u5fc5\u987b\u786e\u5b9a\u4f60\u901a\u8fc7\u4ec0\u4e48\u5b89\u88c5\u4ecb\u8d28\u6765\u5b89\u88c5Linux&#xff0c;\u5982\u679c\u662f\u901a\u8fc7\u7f51\u7edc\u5b89\u88c5&#xff08;NFS\u3001FTP\u3001HTTP&#xff09;&#xff0c;\u5219\u4f1a\u5728\u8fd9\u4e2a\u65f6\u5019\u521d\u59cb\u5316\u7f51\u7edc&#xff0c;\u5e76\u5b9a\u4f4d\u5b89\u88c5\u6e90\u4f4d\u7f6e\u3002\u63a5\u7740\u4f1a\u8bfb\u53d6default\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u81ea\u52a8\u5e94\u7b54\u6587\u4ef6ks.cfg\u6240\u5728\u4f4d\u7f6e&#xff0c;\u6839\u636e\u8be5\u4f4d\u7f6e\u8bf7\u6c42\u4e0b\u8f7d\u8be5\u6587\u4ef6<\/span><\/li>\n<li style=\"text-align:left\"><span style=\"color:#464646\">\u5c06ks.cfg\u6587\u4ef6\u4e0b\u8f7d\u56de\u6765\u540e&#xff0c;\u901a\u8fc7\u8be5\u6587\u4ef6\u627e\u5230OSServer&#xff0c;\u5e76\u6309\u7167\u8be5\u6587\u4ef6\u7684\u914d\u7f6e\u8bf7\u6c42\u4e0b\u8f7d\u5b89\u88c5\u8fc7\u7a0b\u9700\u8981\u7684\u8f6f\u4ef6\u5305\u3002OS Server\u548c\u5ba2\u6237\u7aef\u5efa\u7acb\u8fde\u63a5\u540e&#xff0c;\u5c06\u5f00\u59cb\u4f20\u8f93\u8f6f\u4ef6\u5305&#xff0c;\u5ba2\u6237\u7aef\u5c06\u5f00\u59cb\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\u3002\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5c06\u63d0\u793a\u91cd\u65b0\u5f15\u5bfc\u8ba1\u7b97\u673a\u3002<\/span><\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"419\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250529031618-6837d1823df60.png\" width=\"831\" \/><\/p>\n<ul>\n<li style=\"text-align:left\"><span style=\"color:#2d4fc9\">DHCP\u670d\u52a1\u5b89\u88c5\u914d\u7f6e<\/span><\/li>\n<\/ul>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u5b89\u88c5DHCP\u670d\u52a1<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0#\u00a0yum -y install dhcp*<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0# rpm -ql | grep &#034;dhcpd.conf&#034;<\/span><\/p>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u7f16\u8f91DHCP\u914d\u7f6e\u6587\u4ef6<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">#\u00a0vim \/etc\/dhcpd\/dhcpd.conf<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 default-lease-time 21600;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 max-lease-time 43200;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 subnet 192.168.245.0 netmask 255.255.255.0 {<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0range dynamic-bootp 192.168.245.180 192.168.245.200;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0option subnet-mask 255.255.255.0;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0option routers 192.168.245.2;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0default-lease-time 21600;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0max-lease-time 43200;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0next-server 192.168.245.129;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0filename &#034;\/pxelinux.0&#034;;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0host InstallOS {<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0hardware ethernet 00:0C:29:BA:18:17;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0fixed-address 192.168.245.185;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0}<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0}<\/span><\/p>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u542f\u52a8dhcp\u670d\u52a1<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0 \u00a0 #\u00a0systemctl restart dhcpd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# netstat -lntup | grep dhcpd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<ul>\n<li style=\"text-align:left\"><span style=\"color:#2d4fc9\">TFTP\u5b89\u88c5\u914d\u7f6e<\/span><\/li>\n<\/ul>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u00a0\u5b89\u88c5TFTP\u670d\u52a1\u5668<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0#\u00a0yum -y install tftp-server<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u00a0\u7f16\u8f91TFTP\u670d\u52a1\u914d\u7f6e\u6587\u4ef6<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0 \u00a0 #\u00a0vim \/etc\/xinetd.d\/tftp<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0service tftp<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0{<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0socket_type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; dgram<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0protocol\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; udp<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0wait\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; yes<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0user\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; root<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0server\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; \/usr\/sbin\/in.tftpd<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0server_args\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; -s \/var\/lib\/tftpboot<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0disable\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; no<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0per_source\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; 11<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0cps\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; 100 2<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0flags\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#061; IPv4<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0}<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u542f\u52a8TFTP\u670d\u52a1<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0 \u00a0 #\u00a0systemctl restart tftp<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0 \u00a0 # netstat -lntup | grep 69<\/span><\/p>\n<ul>\n<li style=\"text-align:left\"><span style=\"color:#2d4fc9\">HTTP\u5b89\u88c5\u914d\u7f6e<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u00a0\u5b89\u88c5HTTP<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0# yum -y install httpd<\/span><\/p>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u00a0 \u6302\u8f7d\u7cfb\u7edf\u955c\u50cf&#xff0c;\u4f7f\u955c\u50cf\u53ef\u4ee5\u901a\u8fc7web\u8bbf\u95ee<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0 \u00a0 \u00a0# mkdir\u00a0\/var\/www\/html\/centos7.6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0# mount \/dev\/cdrom \/var\/www\/html\/centos7.6<\/span><\/p>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u542f\u52a8httpd,\u8bbf\u95ee\u955c\u50cf<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0 \u00a0 # systemctl restart httpd<\/span><\/p>\n<ul>\n<li style=\"text-align:left\"><span style=\"color:#2d4fc9\">PXE\u5f15\u5bfc\u914d\u7f6e&#xff08;bootstrap&#xff09;<\/span><\/li>\n<\/ul>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0\u5b89\u88c5syslinux<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color:#4b505a\">syslinux\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f&#xff0c;\u800c\u4e14\u517c\u5bb9\u5404\u79cd\u4ecb\u8d28\u3002SYSLINUX\u662f\u4e00\u4e2a\u5c0f\u578b\u7684Linux\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u5b83\u7684\u76ee\u7684\u662f\u7b80\u5316\u9996\u6b21\u5b89\u88c5Linux\u7684\u65f6\u95f4&#xff0c;\u5e76\u5efa\u7acb\u4fee\u62a4\u6216\u5176\u5b83\u7279\u6b8a\u7528\u9014\u7684\u542f\u52a8\u76d8\u3002\u5982\u679c\u6ca1\u6709\u627e\u5230pxelinux.0\u8fd9\u4e2a\u6587\u4ef6,\u53ef\u4ee5\u5b89\u88c5\u4e00\u4e0b\u3002<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color:#4b505a\">\u00a0# yum -y install syslinux<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color:#4b505a\">\u00a0# cp \/usr\/share\/syslinux\/pxelinux.0 \/var\/lib\/tftpboot<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color:#4b505a\">\u00a0#<\/span>\u00a0<span style=\"color:#4b505a\">cp \/var\/www\/html\/centos7.6\/isolinux\/* \/var\/lib\/tftpboot\/<\/span>\u00a0<\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0\u00a0\u00a0<span style=\"color:#4b505a\">#<\/span>\u00a0<span style=\"color:#383838\">mkdir\u00a0\/var\/lib\/tftpboot\/pxelinux.cfg\/<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0#\u00a0cp \/var\/www\/html\/centos7.6\/isolinux\/isolinux.cfg \/var\/lib\/tftpboot\/pxelinux.cfg\/default<\/span><\/p>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u7f16\u8f91\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6default<\/span><\/li>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\"># vim\u00a0\/var\/lib\/tftpboot\/pxelinux.cfg\/default<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">default ks<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">prompt 0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#4b505a\">label ks<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0<span style=\"color:#4b505a\">kernel vmlinuz<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0<span style=\"color:#4b505a\">append initrd&#061;initrd.img ks&#061;<\/span>http:\/\/192.168.245.129\/ks_config\/Centos7.6-ks.cfg\u00a0<span style=\"color:#4b505a\">#cfg\u6587\u4ef6\u8bbf\u95ee\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#2d4fc9\">\u521b\u5efaKS\u6587\u4ef6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\">\u00a0\u00a0 \u00a0<\/p>\n<ul>\n<li style=\"text-align:left\"><span style=\"color:#383838\">\u7f16\u5199ks\u6587\u4ef6<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0 \u00a0 #\u00a0ks_config<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0 \u00a0 # vim\u00a0\/var\/www\/html\/ks_config\/Centos7.6-ks.cfg<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0install<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0url &#8211;url&#061;&#034;<\/span>http:\/\/192.168.245.129\/centos7.6\/<span style=\"color:#383838\">&#034;\u00a0 #\u955c\u50cf\u8bbf\u95ee\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0text<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0lang en_US.UTF-8<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0keyboard us\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0zerombr<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0bootloader &#8211;location&#061;mbr &#8211;driveorder&#061;sda &#8211;append&#061;&#034;crashkernel&#061;auto rhgb quiet&#034;<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0network &#8211;bootproto&#061;dhcp &#8211;device&#061;eth0 &#8211;onboot&#061;yes &#8211;noipv6 &#8211;hostname&#061;CentOS6<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">timezone &#8211;utc Asia\/Shanghai<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">authconfig &#8211;enableshadow &#8211;passalgo&#061;sha512<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">rootpw\u00a0\u00a0&#8211;iscrypted $6$X20eRtuZhkHznTb4$dK0BJByOSAWSDD8jccLVFz0CscijS9ldMWwpoCw\/ZEjYw2BTQYGWlgKsn945fFTjRC658UXjuocwJbAjVI5D6\/<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">clearpart &#8211;all &#8211;initlabel<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">part \/boot &#8211;fstype&#061;xfs &#8211;asprimary &#8211;size&#061;500<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">part swap &#8211;size&#061;2048<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">part \/ &#8211;fstype&#061;xfs &#8211;grow &#8211;asprimary &#8211;size&#061;20000<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">firstboot &#8211;disable<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">selinux &#8211;disabled<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">firewall &#8211;disabled<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">logging &#8211;level&#061;info<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">reboot<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">%packages<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">&#064;base<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">&#064;compat-libraries<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">&#064;debugging<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">&#064;development<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">tree<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">nmap<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">sysstat<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">lrzsz<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">dos2unix<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">telnet<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:left\"><span style=\"color:#383838\">%end<\/span><\/p>\n<p style=\"margin-left:.0001pt;margin-right:0;text-align:justify\">\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5ba2\u6237\u7aef\u901a\u8fc7pxelinux.cfg\/default\u6587\u4ef6\u6210\u529f\u7684\u5f15\u5bfcLinux\u5b89\u88c5\u5185\u6838\u540e\uff0c\u5b89\u88c5\u7a0b\u5e8f\u9996\u5148\u5fc5\u987b\u786e\u5b9a\u4f60\u901a\u8fc7\u4ec0\u4e48\u5b89\u88c5\u4ecb\u8d28\u6765\u5b89\u88c5Linux\uff0c\u5982\u679c\u662f\u901a\u8fc7\u7f51\u7edc\u5b89\u88c5\uff08NFS\u3001FTP\u3001HTTP\uff09\uff0c\u5219\u4f1a\u5728\u8fd9\u4e2a\u65f6\u5019\u521d\u59cb\u5316\u7f51\u7edc\uff0c\u5e76\u5b9a\u4f4d\u5b89\u88c5\u6e90\u4f4d\u7f6e\u3002DHCP\u670d\u52a1\u5668\u6536\u5230\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u662f\u5426\u6765KickStart\u81ea\u52a8\u5316\u5b89\u88c5\u90e8\u7f72\u81ea\u5408\u6cd5\u7684PXEClient\u7684\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u901a\u8fc7\u8fd4\u56de\u54cd\u5e94\uff0c\u54cd\u5e94\u5185\u5bb9\u5305\u542b\uff1a\u5206\u914d\u7684IP\u5730\u5740\u3001pxelinux\u542f\u52a8\u7a0b\u5e8f\u7684\u4f4d\u7f6e\u4ee5\u53ca\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e\u3002\u5f00\u53d1\u7684\u6700\u65b0\u6280\u672f\uff0c\u5de5\u4f5c\u4e8eClient\/Server\u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u652f\u6301\u3002<\/p>\n","protected":false},"author":2,"featured_media":40565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-40566","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/40566.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5ba2\u6237\u7aef\u901a\u8fc7pxelinux.cfg\/default\u6587\u4ef6\u6210\u529f\u7684\u5f15\u5bfcLinux\u5b89\u88c5\u5185\u6838\u540e\uff0c\u5b89\u88c5\u7a0b\u5e8f\u9996\u5148\u5fc5\u987b\u786e\u5b9a\u4f60\u901a\u8fc7\u4ec0\u4e48\u5b89\u88c5\u4ecb\u8d28\u6765\u5b89\u88c5Linux\uff0c\u5982\u679c\u662f\u901a\u8fc7\u7f51\u7edc\u5b89\u88c5\uff08NFS\u3001FTP\u3001HTTP\uff09\uff0c\u5219\u4f1a\u5728\u8fd9\u4e2a\u65f6\u5019\u521d\u59cb\u5316\u7f51\u7edc\uff0c\u5e76\u5b9a\u4f4d\u5b89\u88c5\u6e90\u4f4d\u7f6e\u3002DHCP\u670d\u52a1\u5668\u6536\u5230\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u662f\u5426\u6765KickStart\u81ea\u52a8\u5316\u5b89\u88c5\u90e8\u7f72\u81ea\u5408\u6cd5\u7684PXEClient\u7684\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u901a\u8fc7\u8fd4\u56de\u54cd\u5e94\uff0c\u54cd\u5e94\u5185\u5bb9\u5305\u542b\uff1a\u5206\u914d\u7684IP\u5730\u5740\u3001pxelinux\u542f\u52a8\u7a0b\u5e8f\u7684\u4f4d\u7f6e\u4ee5\u53ca\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e\u3002\u5f00\u53d1\u7684\u6700\u65b0\u6280\u672f\uff0c\u5de5\u4f5c\u4e8eClient\/Server\u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u652f\u6301\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/40566.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-29T03:16:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250529031618-6837d1823df60.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40566.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/40566.html\",\"name\":\"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-29T03:16:19+00:00\",\"dateModified\":\"2025-05-29T03:16:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/40566.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/40566.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40566.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/40566.html","og_locale":"zh_CN","og_type":"article","og_title":"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u5ba2\u6237\u7aef\u901a\u8fc7pxelinux.cfg\/default\u6587\u4ef6\u6210\u529f\u7684\u5f15\u5bfcLinux\u5b89\u88c5\u5185\u6838\u540e\uff0c\u5b89\u88c5\u7a0b\u5e8f\u9996\u5148\u5fc5\u987b\u786e\u5b9a\u4f60\u901a\u8fc7\u4ec0\u4e48\u5b89\u88c5\u4ecb\u8d28\u6765\u5b89\u88c5Linux\uff0c\u5982\u679c\u662f\u901a\u8fc7\u7f51\u7edc\u5b89\u88c5\uff08NFS\u3001FTP\u3001HTTP\uff09\uff0c\u5219\u4f1a\u5728\u8fd9\u4e2a\u65f6\u5019\u521d\u59cb\u5316\u7f51\u7edc\uff0c\u5e76\u5b9a\u4f4d\u5b89\u88c5\u6e90\u4f4d\u7f6e\u3002DHCP\u670d\u52a1\u5668\u6536\u5230\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u662f\u5426\u6765KickStart\u81ea\u52a8\u5316\u5b89\u88c5\u90e8\u7f72\u81ea\u5408\u6cd5\u7684PXEClient\u7684\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u901a\u8fc7\u8fd4\u56de\u54cd\u5e94\uff0c\u54cd\u5e94\u5185\u5bb9\u5305\u542b\uff1a\u5206\u914d\u7684IP\u5730\u5740\u3001pxelinux\u542f\u52a8\u7a0b\u5e8f\u7684\u4f4d\u7f6e\u4ee5\u53ca\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e\u3002\u5f00\u53d1\u7684\u6700\u65b0\u6280\u672f\uff0c\u5de5\u4f5c\u4e8eClient\/Server\u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u652f\u6301\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/40566.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-29T03:16:19+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250529031618-6837d1823df60.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/40566.html","url":"https:\/\/www.wsisp.com\/helps\/40566.html","name":"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-29T03:16:19+00:00","dateModified":"2025-05-29T03:16:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/40566.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/40566.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/40566.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"PXE\u6279\u91cf\u5b89\u88c5\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=40566"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40566\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/40565"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=40566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=40566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=40566"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=40566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}