{"id":181450,"date":"2021-04-30T00:32:16","date_gmt":"2021-04-29T16:32:16","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=181450"},"modified":"2021-08-27T19:06:18","modified_gmt":"2021-08-27T11:06:18","slug":"basic-learning-19","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/basic-learning-19.html","title":{"rendered":"\u7b2c19\u7ae0 \u4f7f\u7528PXE+Kickstart\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u670d\u52a1"},"content":{"rendered":"

\u7ae0\u8282\u6982\u8ff0\uff1a<\/strong><\/span><\/p>\n

\u521a\u5165\u804c\u7684\u8fd0\u7ef4\u65b0\u624b\u7ecf\u5e38\u4f1a\u88ab\u8981\u6c42\u53bb\u505a\u4e00\u4e9b\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\u7684\u5de5\u4f5c\u3002\u5982\u679c\u6309\u7167\u7b2c1\u7ae0\u8bb2\u89e3\u7684\u7528\u5149\u76d8\u955c\u50cf\u6765\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5176\u6548\u7387\u4f1a\u76f8\u5f53\u4f4e\u4e0b\u3002\u672c\u7ae0\u5c06\u4ecb\u7ecd\u80fd\u591f\u7528\u6765\u5b9e\u73b0\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u670d\u52a1\u7684PXE + Kickstart\u670d\u52a1\u7a0b\u5e8f\uff0c\u5e76\u5e26\u9886\u5927\u5bb6\u52a8\u624b\u5b89\u88c5\u90e8\u7f72PXE + TFTP + FTP + DHCP + Kickstart\u7b49\u670d\u52a1\u7a0b\u5e8f\uff0c\u4ece\u800c\u642d\u5efa\u51fa\u4e00\u5957\u53ef\u6279\u91cf\u5b89\u88c5Linux\u7cfb\u7edf\u7684\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u3002\u5728\u5b66\u5b8c\u672c\u7ae0\u5185\u5bb9\u4e4b\u540e\uff0c\u8fd0\u7ef4\u65b0\u624b\u5c31\u53ef\u4ee5\u907f\u514d\u67af\u71e5\u4e4f\u5473\u7684\u91cd\u590d\u6027\u5de5\u4f5c\uff0c\u5927\u5927\u63d0\u9ad8\u7cfb\u7edf\u5b89\u88c5\u7684\u6548\u7387\u3002<\/p>\n

19.1 \u65e0\u4eba\u503c\u5b88\u7cfb\u7edf<\/strong><\/span><\/h5>\n

\u672c\u4e66\u5728\u7b2c1\u7ae0\u8bb2\u89e3\u4e86\u4f7f\u7528\u5149\u76d8\u955c\u50cf\u6765\u5b89\u88c5Linux<\/a>\u7cfb\u7edf\u7684\u65b9\u6cd5\uff0c\u5766\u767d\u8bb2\uff0c\u8be5\u65b9\u6cd5\u9002\u7528\u4e8e\u53ea\u5b89\u88c5\u5c11\u91cfLinux\u7cfb\u7edf\u7684\u60c5\u51b5\u3002\u5982\u679c\u751f\u4ea7\u73af\u5883\u4e2d\u6709\u6570\u767e\u53f0\u670d\u52a1\u5668\u90fd\u9700\u8981\u5b89\u88c5\u7cfb\u7edf\uff0c\u8fd9\u79cd\u65b9\u5f0f\u5c31\u4e0d\u5408\u65f6\u5b9c\u4e86\u3002\u8fd9\u65f6\uff0c\u5c31\u9700\u8981\u4f7f\u7528PXE + TFTP + FTP + DHCP + Kickstart\u670d\u52a1\u642d\u5efa\u51fa\u4e00\u4e2a\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u3002\u8fd9\u79cd\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u53ef\u4ee5\u81ea\u52a8\u5730\u4e3a\u6570\u5341\u53f0\u751a\u81f3\u4e0a\u767e\u53f0\u7684\u670d\u52a1\u5668\u5b89\u88c5\u7cfb\u7edf\uff0c\u8fd9\u4e00\u65b9\u9762\u5c06\u8fd0\u7ef4\u4eba\u5458\u4ece\u91cd\u590d\u6027\u7684\u5de5\u4f5c\u4e2d\u89e3\u6551\u51fa\u6765\uff0c\u53e6\u5916\u4e00\u65b9\u9762\u4e5f\u5927\u5927\u63d0\u5347\u4e86\u7cfb\u7edf\u5b89\u88c5\u7684\u6548\u7387\u3002<\/p>\n

\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u7684\u5de5\u4f5c\u6d41\u7a0b\u5982\u56fe19-1\u6240\u793a\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-1\u00a0 \u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u7684\u5de5\u4f5c\u6d41\u7a0b<\/p>\n

PXE\uff08Preboot eXecute Environment\uff0c\u9884\u542f\u52a8\u6267\u884c\u73af\u5883\uff09\u662f\u7531Intel\u516c\u53f8\u5f00\u53d1\u7684\u6280\u672f\uff0c\u80fd\u591f\u8ba9\u8ba1\u7b97\u673a\u901a\u8fc7\u7f51\u7edc\u6765\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf\uff08\u524d\u63d0\u662f\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u7684\u7f51\u5361\u652f\u6301PXE\u6280\u672f\uff09\uff0c\u4e3b\u8981\u7528\u4e8e\u5728\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u4e2d\u5f15\u5bfc\u5ba2\u6237\u7aef\u4e3b\u673a\u5b89\u88c5Linux\u64cd\u4f5c\u7cfb\u7edf\u3002Kickstart\u662f\u4e00\u79cd\u65e0\u4eba\u503c\u5b88\u7684\u5b89\u88c5\u65b9\u5f0f\uff0c\u5176\u5de5\u4f5c\u539f\u7406\u662f\u9884\u5148\u628a\u539f\u672c\u9700\u8981\u8fd0\u7ef4\u4eba\u5458\u624b\u5de5\u586b\u5199\u7684\u53c2\u6570\u4fdd\u5b58\u6210\u4e00\u4e2aks.cfg\u6587\u4ef6\uff0c\u5f53\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u586b\u5199\u53c2\u6570\u65f6\u5219\u81ea\u52a8\u5339\u914dKickstart\u751f\u6210\u7684\u6587\u4ef6\u3002\u6240\u4ee5\u53ea\u8981Kickstart\u6587\u4ef6\u5305\u542b\u4e86\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u4eba\u5de5\u586b\u5199\u7684\u6240\u6709\u53c2\u6570\uff0c\u90a3\u4e48\u4ece\u7406\u8bba\u4e0a\u6765\u8bb2\u5b8c\u5168\u4e0d\u9700\u8981\u8fd0\u7ef4\u4eba\u5458\u7684\u5e72\u9884\uff0c\u5c31\u53ef\u4ee5\u81ea\u52a8\u5b8c\u6210\u5b89\u88c5\u5de5\u4f5c\u3002TFTP\u3001FTP\u4ee5\u53caDHCP\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u4e0e\u90e8\u7f72\u5df2\u7ecf\u5728\u7b2c11\u7ae0\u548c\u7b2c14\u7ae0\u8fdb\u884c\u4e86\u8be6\u7ec6\u8bb2\u89e3\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n

\u7531\u4e8e\u5f53\u524d\u7684\u5ba2\u6237\u7aef\u4e3b\u673a\u5e76\u6ca1\u6709\u5b8c\u6574\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u56e0\u6b64\u4e5f\u5c31\u4e0d\u80fd\u5b8c\u6210FTP\u534f\u8bae\u7684\u9a8c\u8bc1\u4e86\uff0c\u6240\u4ee5\u9700\u8981\u4f7f\u7528TFTP\u534f\u8bae\u5e2e\u52a9\u5ba2\u6237\u7aef\u83b7\u53d6\u5f15\u5bfc\u53ca\u9a71\u52a8\u6587\u4ef6\u3002vsftpd\u670d\u52a1\u7a0b\u5e8f\u7528\u4e8e\u5c06\u5b8c\u6574\u7684\u7cfb\u7edf\u5b89\u88c5\u955c\u50cf\u901a\u8fc7\u7f51\u7edc\u4f20\u8f93\u7ed9\u5ba2\u6237\u7aef\u3002\u5f53\u7136\uff0c\u53ea\u8981\u80fd\u5c06\u7cfb\u7edf\u5b89\u88c5\u955c\u50cf\u6210\u529f\u4f20\u8f93\u7ed9\u5ba2\u6237\u7aef\u5373\u53ef\uff0c\u56e0\u6b64\u4e5f\u53ef\u4ee5\u4f7f\u7528httpd\u6765\u66ff\u4ee3vsftpd\u670d\u52a1\u7a0b\u5e8f\u3002<\/p>\n

19.2 \u90e8\u7f72\u76f8\u5173\u670d\u52a1\u7a0b\u5e8f<\/strong><\/span><\/h5>\n

\u5728\u672c\u7ae0\uff0c\u6211\u4eec\u6765\u4f1a\u90e8\u7f72\u591a\u6b3e\u670d\u52a1\uff0c\u8fd9\u4e9b\u670d\u52a1\u4ee5\u53ca\u4f5c\u7528\u5982\u886819-1\u6240\u793a\u3002\u7531\u4e8e\u5176\u4e2d\u67d0\u4e9b\u670d\u52a1\u7684\u914d\u7f6e\u8fc7\u7a0b\u5728\u524d\u9762\u7684\u7ae0\u8282\u4e2d\u6709\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff0c\u56e0\u6b64\u4e0b\u6587\u5728\u6d89\u53ca\u76f8\u5e94\u670d\u52a1\u7684\u914d\u7f6e\u90e8\u7f72\u65f6\uff0c\u8282\u594f\u4f1a\u6bd4\u8f83\u5feb\u3002\u5982\u6709\u9700\u8981\uff0c\u5927\u5bb6\u53ef\u4ee5\u8fd4\u56de\u5230\u524d\u9762\u7684\u7ae0\u8282\u8fdb\u884c\u91cd\u6e29\u3002<\/p>\n

\u886819-1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u63a5\u4e0b\u6765\u5b9e\u9a8c\u4e2d\u5373\u5c06\u7528\u5230\u7684\u670d\u52a1\u53ca\u4f5c\u7528<\/p>\n\n\n\n\n\n\n\n\n
\u670d\u52a1\u540d\u79f0<\/td>\n\u4e3b\u8981\u4f5c\u7528<\/td>\n<\/tr>\n
dhcpd<\/td>\n\u5206\u914d\u7f51\u5361\u4fe1\u606f\u53ca\u6307\u5f15\u83b7\u53d6\u9a71\u52a8\u6587\u4ef6<\/td>\n<\/tr>\n
tftp-server<\/td>\n\u63d0\u4f9b\u9a71\u52a8\u53ca\u5f15\u5bfc\u6587\u4ef6\u7684\u4f20\u8f93<\/td>\n<\/tr>\n
SYSLinux<\/td>\n\u63d0\u4f9b\u9a71\u52a8\u53ca\u5f15\u5bfc\u6587\u4ef6<\/td>\n<\/tr>\n
VSFtpd<\/td>\n\u63d0\u4f9b\u5b8c\u6574\u7cfb\u7edf\u955c\u50cf\u7684\u4f20\u8f93<\/td>\n<\/tr>\n
KickStart<\/td>\n\u63d0\u4f9b\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u9879\u7684\u95ee\u7b54\u8bbe\u7f6e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/p>\n

19.2.1 \u914d\u7f6eDHCP\u670d\u52a1\u7a0b\u5e8f<\/span><\/strong><\/h6>\n

DHCP\u670d\u52a1\u7a0b\u5e8f\u7528\u4e8e\u4e3a\u5ba2\u6237\u7aef\u4e3b\u673a\u5206\u914d\u53ef\u7528\u7684IP\u5730\u5740\uff0c\u800c\u4e14\u8fd9\u662f\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u4e3b\u673a\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\u7684\u57fa\u7840\uff0c\u56e0\u6b64\u8981\u5148\u884c\u914d\u7f6eDHCP\u670d\u52a1\u7a0b\u5e8f\u3002\u9996\u5148\u6309\u7167\u886819-2\u4e3a\u65e0\u4eba\u503c\u5b88\u7cfb\u7edf\u8bbe\u7f6eIP\u5730\u5740\uff0c\u7136\u540e\u6309\u7167\u56fe19-2\u548c\u56fe19-3\u5728\u865a\u62df\u673a\u7684\u865a\u62df\u7f51\u7edc\u7f16\u8f91\u5668\u4e2d\u5173\u95ed\u81ea\u8eab\u7684DHCP\u670d\u52a1\uff0c\u907f\u514d\u4e0e\u81ea\u5df1\u914d\u7f6e\u7684\u670d\u52a1\u51b2\u7a81\u3002<\/p>\n

\u886819-2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u65e0\u4eba\u503c\u5b88\u7cfb\u7edf\u4e0e\u5ba2\u6237\u7aef\u7684\u8bbe\u7f6e<\/p>\n\n\n\n\n\n
\u4e3b\u673a\u540d\u79f0<\/td>\n\u64cd\u4f5c\u7cfb\u7edf<\/td>\nIP\u5730\u5740<\/td>\n<\/tr>\n
\u65e0\u4eba\u503c\u5b88\u7cfb\u7edf<\/td>\nRHEL 8<\/td>\n192.168.10.10<\/td>\n<\/tr>\n
\u5ba2\u6237\u7aef<\/td>\n\u672a\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf<\/td>\n-<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

<\/p>\n

\"\"<\/p>\n

\u56fe19-2\u00a0 \u6253\u5f00\u865a\u62df\u673a\u7684\u865a\u62df\u7f51\u7edc\u7f16\u8f91\u5668<\/p>\n

\"\"<\/p>\n

\u56fe19-3\u00a0 \u5173\u95ed\u865a\u62df\u673a\u81ea\u5e26\u7684DHCP\u670d\u52a1<\/p>\n

\u9664\u4e86\u4e0a\u9762\u63d0\u53ca\u7684\u670d\u52a1\u4e4b\u5916\uff0cPXE + KickStart\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u8fd8\u4f1a\u7528\u5230\u8bf8\u5982sips\u3001slp\u3001mountd\u7b49\u591a\u9879\u76f8\u5173\u7684\u670d\u52a1\u534f\u8bae\uff0c\u56e0\u6b64\u672c\u5b9e\u9a8c\u4f1a\u4e34\u65f6\u5173\u95edfirewalld\u9632\u706b\u5899\uff0c\u4ee5\u4fbf\u6570\u636e\u80fd\u591f\u6b63\u5e38\u5730\u4f20\u9001\uff1a<\/p>\n

[root@linuxprobe pub]# iptables -F\r\n[root@linuxprobe pub]# systemctl stop firewalld<\/pre>\n

\u5f53\u6302\u8f7d\u597d\u5149\u76d8\u955c\u50cf\u5e76\u628a\u4ed3\u5e93\u6587\u4ef6\u914d\u7f6e\u59a5\u5f53\u540e\uff0c\u5c31\u53ef\u4ee5\u5b89\u88c5DHCP\u670d\u52a1\u7a0b\u5e8f\u8f6f\u4ef6\u5305\u4e86\uff1a<\/p>\n

[root@linuxprobe ~]# dnf install -y dhcp-server\r\nUpdating Subscription Management repositories.\r\nUnable to read consumer identity\r\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\r\nLast metadata expiration check: 0:00:22 ago on Fri 30 Apr 2021 01:03:26 AM CST.\r\nDependencies resolved.\r\n================================================================================\r\n Package            Arch          Version                   Repository     Size\r\n================================================================================\r\nInstalling:\r\n dhcp-server        x86_64        12:4.3.6-30.el8           BaseOS        529 k\r\n\r\nTransaction Summary\r\n================================================================================\r\nInstall  1 Package\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\nInstalled:\r\n  dhcp-server-12:4.3.6-30.el8.x86_64                                                                                                        \r\n\r\nComplete!\r\n<\/pre>\n

\u7b2c14\u7ae0\u5df2\u7ecf\u8be6\u7ec6\u8bb2\u89e3\u4e86DHCP\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u4ee5\u53ca\u90e8\u7f72\u65b9\u6cd5\uff0c\u76f8\u4fe1\u5404\u4f4d\u8bfb\u8005\u5bf9\u76f8\u5173\u7684\u914d\u7f6e\u53c2\u6570\u8fd8\u6709\u4e00\u4e9b\u5370\u8c61\u3002\u4f46\u662f\uff0c\u6211\u4eec\u5728\u8fd9\u91cc\u4f7f\u7528\u7684\u914d\u7f6e\u6587\u4ef6\u4e0e\u7b2c14\u7ae0\u4e2d\u7684\u914d\u7f6e\u6587\u4ef6\u6709\u4e24\u4e2a\u4e3b\u8981\u533a\u522b\uff1a\u5141\u8bb8\u4e86BOOTP\u5f15\u5bfc\u7a0b\u5e8f\u534f\u8bae\uff0c\u65e8\u5728\u8ba9\u5c40\u57df\u7f51\u5185\u6682\u65f6\u6ca1\u6709\u64cd\u4f5c\u7cfb\u7edf\u7684\u4e3b\u673a\u4e5f\u80fd\u83b7\u53d6\u9759\u6001IP\u5730\u5740\uff1b\u5728\u914d\u7f6e\u6587\u4ef6\u7684\u6700\u4e0b\u9762\u52a0\u8f7d\u4e86\u5f15\u5bfc\u9a71\u52a8\u6587\u4ef6pxelinux.0\uff08\u8fd9\u4e2a\u6587\u4ef6\u4f1a\u5728\u4e0b\u9762\u7684\u6b65\u9aa4\u4e2d\u521b\u5efa\uff09\uff0c\u5176\u76ee\u7684\u662f\u8ba9\u5ba2\u6237\u7aef\u4e3b\u673a\u83b7\u53d6\u5230IP\u5730\u5740\u540e\u4e3b\u52a8\u83b7\u53d6\u5f15\u5bfc\u9a71\u52a8\u6587\u4ef6\uff0c\u81ea\u884c\u8fdb\u5165\u4e0b\u4e00\u6b65\u7684\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n

[root@linuxprobe ~]# vim \/etc\/dhcp\/dhcpd.conf\r\nallow booting;\r\nallow bootp;\r\nddns-update-style none;\r\nignore client-updates;\r\nsubnet 192.168.10.0 netmask 255.255.255.0 {\r\n        option subnet-mask                 255.255.255.0;\r\n        option domain-name-servers         192.168.10.10;\r\n        range dynamic-bootp 192.168.10.100 192.168.10.200;\r\n        default-lease-time                 21600;\r\n        max-lease-time                     43200;\r\n        next-server                        192.168.10.10;\r\n        filename                           \"pxelinux.0\";\r\n}<\/pre>\n
\n
\n

Tips<\/strong><\/h3>\n<\/div>\n
\n

\u5f53\u524dpxelinux.0\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u4e0d\u8fc7\u4e0d\u7528\u62c5\u5fc3\uff0c\u540e\u9762\u4f1a\u627e\u5230\u5b83\u7684\u3002<\/p>\n<\/div>\n<\/div>\n

\u5728\u786e\u8ba4DHCP\u670d\u52a1\u7a0b\u5e8f\u7684\u53c2\u6570\u90fd\u586b\u5199\u6b63\u786e\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u8be5\u670d\u52a1\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u5f00\u673a\u542f\u52a8\u9879\u4e2d\u3002\u8fd9\u6837\u5728\u8bbe\u5907\u4e0b\u4e00\u6b21\u91cd\u542f\u4e4b\u540e\uff0c\u53ef\u4ee5\u5728\u65e0\u987b\u4eba\u5de5\u5e72\u9884\u7684\u60c5\u51b5\u4e0b\uff0c\u81ea\u52a8\u4e3a\u5ba2\u6237\u7aef\u4e3b\u673a\u5b89\u88c5\u7cfb\u7edf\u3002<\/p>\n

[root@linuxprobe ~]# systemctl restart dhcpd\r\n[root@linuxprobe ~]# systemctl enable  dhcpd\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/dhcpd.service \u2192 \/usr\/lib\/systemd\/system\/dhcpd.service.\r\n<\/pre>\n

\u4e0e\u4ee5\u5f80\u7684\u7ea2\u5e3d<\/a>\u4f01\u4e1a\u7248\u4e0d\u540c\uff0cRHEL 8\u7cfb\u7edf\u4e2d\u5b58\u5728\u4e00\u4e9b\u201c\u8ba8\u538c\u201d\u7684\u670d\u52a1\uff0c\u5b83\u4eec\u7684\u53c2\u6570\u9519\u8bef\u4f1a\u5bfc\u81f4\u670d\u52a1\u542f\u52a8\u5931\u8d25\uff0c\u4f46\u6709\u65f6\u5374\u4e0d\u4f1a\u5728\u5c4f\u5e55\u4e0a\u5411\u7528\u6237\u663e\u793a\u4efb\u4f55\u63d0\u793a\u4fe1\u606f\u3002\u5efa\u8bae\u5728\u542f\u52a8dhcpd\u540e\u67e5\u770b\u4e00\u4e0b\u670d\u52a1\u72b6\u6001\uff0c\u4ee5\u514d\u540e\u7eed\u5b9e\u9a8c\u4e2d\u5ba2\u6237\u7aef\u5206\u914d\u4e0d\u5230\u7f51\u5361\u4fe1\u606f\u3002\u82e5\u8f93\u51fa\u72b6\u6001\u4e3a\u201cactive (running)<\/strong>\u201d\u5219\u8868\u793a\u670d\u52a1\u5df2\u7ecf\u6b63\u5e38\u8fd0\u884c\uff1a<\/p>\n

[root@linuxprobe ~]# systemctl status dhcpd\r\n\u25cf dhcpd.service - DHCPv4 Server Daemon\r\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/dhcpd.service; enabled; vendor preset: disabled)\r\n   Active: active (running) <\/strong>since Fri 2021-04-30 01:10:51 CST; 3min 15s ago\r\n     Docs: man:dhcpd(8)\r\n           man:dhcpd.conf(5)\r\n Main PID: 30964 (dhcpd)\r\n   Status: \"Dispatching packets...\"\r\n    Tasks: 1 (limit: 12390)\r\n   Memory: 8.8M\r\n   CGroup: \/system.slice\/dhcpd.service\r\n           \u2514\u250030964 \/usr\/sbin\/dhcpd -f -cf \/etc\/dhcp\/dhcpd.conf -user dhcpd -group dhcpd --no-pid\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n<\/pre>\n
19.2.2 \u914d\u7f6eTFTP\u670d\u52a1\u7a0b\u5e8f<\/span><\/strong><\/h6>\n

\u6211\u4eec\u66fe\u7ecf\u5728\u7b2c11\u7ae0\u4e2d\u5b66\u4e60\u8fc7vsftpd\u670d\u52a1\u4e0eTFTP\u670d\u52a1\u3002vsftpd\u662f\u4e00\u6b3e\u529f\u80fd\u4e30\u5bcc\u7684\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u7a0b\u5e8f\uff0c\u5141\u8bb8\u7528\u6237\u4ee5\u533f\u540d\u5f00\u653e\u6a21\u5f0f\u3001\u672c\u5730\u7528\u6237\u6a21\u5f0f\u3001\u865a\u62df\u7528\u6237\u6a21\u5f0f\u6765\u8fdb\u884c\u8bbf\u95ee\u8ba4\u8bc1\u3002\u4f46\u662f\uff0c\u5f53\u524d\u7684\u5ba2\u6237\u7aef\u4e3b\u673a\u8fd8\u6ca1\u6709\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\uff0c\u8be5\u5982\u4f55\u8fdb\u884c\u767b\u5f55\u8ba4\u8bc1\u5462\uff1fTFTP\u4f5c\u4e3a\u4e00\u79cd\u57fa\u4e8eUDP\u534f\u8bae\u7684\u7b80\u5355\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff0c\u4e0d\u9700\u8981\u8fdb\u884c\u7528\u6237\u8ba4\u8bc1\u5373\u53ef\u83b7\u53d6\u5230\u6240\u9700\u7684\u6587\u4ef6\u8d44\u6e90\u3002\u56e0\u6b64\u63a5\u4e0b\u6765\u914d\u7f6eTFTP\u670d\u52a1\u7a0b\u5e8f\uff0c\u4e3a\u5ba2\u6237\u7aef\u4e3b\u673a\u63d0\u4f9b\u5f15\u5bfc\u53ca\u9a71\u52a8\u6587\u4ef6\u3002\u5f53\u5ba2\u6237\u7aef\u4e3b\u673a\u6709\u4e86\u57fa\u672c\u7684\u9a71\u52a8\u7a0b\u5e8f\u4e4b\u540e\uff0c\u518d\u901a\u8fc7vsftpd\u670d\u52a1\u7a0b\u5e8f\u5c06\u5b8c\u6574\u7684\u5149\u76d8\u955c\u50cf\u6587\u4ef6\u4f20\u8f93\u8fc7\u53bb\u3002<\/p>\n

[root@linuxprobe ~]# dnf install -y tftp-server xinetd\r\nUpdating Subscription Management repositories.\r\nUnable to read consumer identity\r\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\r\nLast metadata expiration check: 0:00:34 ago on Fri 30 Apr 2021 01:38:09 AM CST.\r\nDependencies resolved.\r\n================================================================================\r\n Package           Arch      Version             Repository          Size\r\n================================================================================\r\nInstalling:\r\n tftp-server       x86_64    5.2-24.el8          AppStream           50 k\r\n xinetd            x86_64    2:2.3.15-23.el8     AppStream          135 k\r\n\r\nTransaction Summary\r\n================================================================================\r\nInstall  2 Packages\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n\r\nInstalled:\r\n  tftp-server-5.2-24.el8.x86_64                xinetd-2:2.3.15-23.el8.x86_64               \r\n\r\nComplete!\r\n<\/pre>\n

TFTP\u662f\u4e00\u79cd\u975e\u5e38\u7cbe\u7b80\u7684\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u7a0b\u5e8f\uff0c\u5b83\u7684\u8fd0\u884c\u548c\u5173\u95ed\u662f\u7531xinetd\u7f51\u7edc\u5b88\u62a4\u8fdb\u7a0b\u670d\u52a1\u6765\u7ba1\u7406\u7684\u3002xinetd\u670d\u52a1\u7a0b\u5e8f\u4f1a\u540c\u65f6\u76d1\u542c\u7cfb\u7edf\u7684\u591a\u4e2a\u7aef\u53e3\uff0c\u7136\u540e\u6839\u636e\u7528\u6237\u8bf7\u6c42\u7684\u7aef\u53e3\u53f7\u8c03\u53d6\u76f8\u5e94\u7684\u670d\u52a1\u7a0b\u5e8f\u6765\u54cd\u5e94\u7528\u6237\u7684\u8bf7\u6c42\u3002\u9700\u8981\u5f00\u542fTFTP\u670d\u52a1\u7a0b\u5e8f\u65f6\uff0c\u53ea\u9700\u5728xinetd\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u628adisable\u53c2\u6570\u6539\u6210no\u5c31\u53ef\u4ee5\u4e86\u3002\u5982\u679c\u914d\u7f6e\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u5219\u590d\u5236\u4e0b\u9762\u7684\u5185\u5bb9\u8fdb\u6765\uff0c\u624b\u52a8\u521b\u5efa\u4e00\u4e0b\uff1a<\/p>\n

[root@linuxprobe ~]# vim \/etc\/xinetd.d\/tftp\r\nservice tftp\r\n{\r\n        socket_type             = dgram\r\n        protocol                = udp\r\n        wait                    = yes\r\n        user                    = root\r\n        server                  = \/usr\/sbin\/in.tftpd\r\n        server_args             = -s \/var\/lib\/tftpboot\r\n        disable                 = no<\/strong>\r\n        per_source              = 11\r\n        cps                     = 100 2\r\n        flags                   = IPv4\r\n}<\/pre>\n

\u4fdd\u5b58\u914d\u7f6e\u6587\u4ef6\u5e76\u9000\u51fa\uff0c\u7136\u540e\u91cd\u542fxinetd\u670d\u52a1\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u52a0\u5165\u5230\u5f00\u673a\u542f\u52a8\u9879\u4e2d\u3002<\/p>\n

[root@linuxprobe ~]# systemctl restart xinetd\r\n[root@linuxprobe ~]# systemctl enable  xinetd\r\n<\/pre>\n
19.2.3 \u914d\u7f6eSYSLinux\u670d\u52a1\u7a0b\u5e8f<\/span><\/strong><\/h6>\n

SYSLinux\u662f\u4e00\u4e2a\u7528\u4e8e\u63d0\u4f9b\u5f15\u5bfc\u52a0\u8f7d\u7684\u670d\u52a1\u7a0b\u5e8f\u3002\u4e0e\u5176\u8bf4SYSLinux\u662f\u4e00\u4e2a\u670d\u52a1\u7a0b\u5e8f\uff0c\u4e0d\u5982\u8bf4\u662f\u4e00\u4e2a\u5305\u542b\u4e86\u5f88\u591a\u5f15\u5bfc\u6587\u4ef6\u7684\u6587\u4ef6\u5939\u3002\u5728\u5b89\u88c5\u597dSYSLinux\u670d\u52a1\u7a0b\u5e8f\u540e\uff0c\/usr\/share\/syslinux\u76ee\u5f55\u4e2d\u4f1a\u51fa\u73b0\u5f88\u591a\u5f15\u5bfc\u6587\u4ef6\u3002<\/p>\n

[root@linuxprobe ~]# dnf install -y syslinux\r\nUpdating Subscription Management repositories.\r\nUnable to read consumer identity\r\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\r\nLast metadata expiration check: 0:07:57 ago on Fri 30 Apr 2021 01:47:18 AM CST.\r\nDependencies resolved.\r\n================================================================================\r\n Package                     Arch       Version         Repository     Size\r\n================================================================================\r\nInstalling:\r\n syslinux                    x86_64     6.04-1.el8      BaseOS        576 k\r\nInstalling dependencies:\r\n syslinux-nonlinux           noarch     6.04-1.el8      BaseOS        554 k\r\n\r\nTransaction Summary\r\n================================================================================\r\nInstall  2 Packages\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n\r\nInstalled:\r\n  syslinux-6.04-1.el8.x86_64              syslinux-nonlinux-6.04-1.el8.noarch             \r\n\r\nComplete!\r\n<\/pre>\n

\u6211\u4eec\u9996\u5148\u9700\u8981\u628aSYSLinux\u63d0\u4f9b\u7684\u5f15\u5bfc\u6587\u4ef6\uff08\u4e5f\u5c31\u662f\u524d\u6587\u63d0\u5230\u7684\u6587\u4ef6pxelinux.0\uff09\u590d\u5236\u5230TFTP\u670d\u52a1\u7a0b\u5e8f\u7684\u9ed8\u8ba4\u76ee\u5f55\u4e2d\uff0c\u8fd9\u6837\u5ba2\u6237\u7aef\u4e3b\u673a\u5c31\u80fd\u591f\u987a\u5229\u5730\u83b7\u53d6\u5230\u5f15\u5bfc\u6587\u4ef6\u4e86\u3002\u53e6\u5916\u5728RHEL 8\u7cfb\u7edf\u5149\u76d8\u955c\u50cf\u4e2d\u4e5f\u6709\u4e00\u4e9b\u9700\u8981\u8c03\u53d6\u7684\u5f15\u5bfc\u6587\u4ef6\u3002\u786e\u8ba4\u5149\u76d8\u955c\u50cf\u5df2\u7ecf\u88ab\u6302\u8f7d\u5230\/media\/cdrom\u76ee\u5f55\u540e\uff0c\u4f7f\u7528\u590d\u5236\u547d\u4ee4<\/a>\u5c06\u5149\u76d8\u955c\u50cf\u4e2d\u81ea\u5e26\u7684\u4e00\u4e9b\u5f15\u5bfc\u6587\u4ef6\u4e5f\u590d\u5236\u5230TFTP\u670d\u52a1\u7a0b\u5e8f\u7684\u9ed8\u8ba4\u76ee\u5f55\u4e2d\u3002<\/p>\n

[root@linuxprobe ~]# cd \/var\/lib\/tftpboot\r\n[root@linuxprobe tftpboot]# cp \/usr\/share\/syslinux\/pxelinux.0 .\r\n[root@linuxprobe tftpboot]# cp \/media\/cdrom\/images\/pxeboot\/* .\r\n[root@linuxprobe tftpboot]# cp \/media\/cdrom\/isolinux\/* .\r\ncp: overwrite '.\/initrd.img'? y\r\ncp: overwrite '.\/TRANS.TBL'? y\r\ncp: overwrite '.\/vmlinuz'? y\r\n<\/pre>\n

cp\u547d\u4ee4<\/a>\u540e\u9762\u63a5\u7684\u53e5\u70b9\uff08.\uff09\u8868\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0a\u8ff0cp\u547d\u4ee4\u8868\u793a\u5c06\u6587\u4ef6\u590d\u5236\u5230\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\uff08\u5373\/var\/lib\/tftpboot\uff09\u4e2d\u3002\u5728\u590d\u5236\u8fc7\u7a0b\u4e2d\uff0c\u82e5\u591a\u4e2a\u76ee\u5f55\u4fdd\u5b58\u7740\u76f8\u540c\u7684\u6587\u4ef6\uff0c\u5219\u53ef\u624b\u52a8\u6572\u51fby\u952e\u8fdb\u884c\u8986\u76d6\u5373\u53ef\u3002<\/p>\n

\u7136\u540e\u5728TFTP\u670d\u52a1\u7a0b\u5e8f\u7684\u76ee\u5f55\u4e2d\u65b0\u5efapxelinux.cfg\u76ee\u5f55\u3002\u867d\u7136\u8be5\u76ee\u5f55\u7684\u540d\u5b57\u5e26\u6709\u540e\u7f00\uff0c\u4f46\u4f9d\u7136\u4e5f\u662f\u76ee\u5f55\uff0c\u800c\u975e\u6587\u4ef6\uff01\u5c06\u7cfb\u7edf\u5149\u76d8\u4e2d\u7684\u5f00\u673a\u9009\u9879\u83dc\u5355\u590d\u5236\u5230\u8be5\u76ee\u5f55\u4e2d\uff0c\u5e76\u547d\u540d\u4e3adefault\u3002\u8fd9\u4e2adefault\u6587\u4ef6\u5c31\u662f\u5f00\u673a\u65f6\u7684\u9009\u9879\u83dc\u5355\uff0c\u5982\u56fe19-4\u6240\u793a\u3002<\/p>\n

<\/p>\n

\u56fe19-4\u00a0 Linux\u7cfb\u7edf\u7684\u5f15\u5bfc\u83dc\u5355\u754c\u9762<\/p>\n

[root@linuxprobe tftpboot]# mkdir pxelinux.cfg\r\n[root@linuxprobe tftpboot]# cp \/media\/cdrom\/isolinux\/isolinux.cfg pxelinux.cfg\/default\r\n<\/pre>\n

\u9ed8\u8ba4\u7684\u5f00\u673a\u83dc\u5355\u4e2d\u67093\u4e2a\u9009\u9879\uff1a\u5b89\u88c5\u7cfb\u7edf\u3001\u5bf9\u5b89\u88c5\u4ecb\u8d28\u8fdb\u884c\u68c0\u9a8c\u3001\u6392\u9519\u6a21\u5f0f\u3002\u65e2\u7136\u5df2\u7ecf\u786e\u5b9a\u91c7\u7528\u65e0\u4eba\u503c\u5b88\u7684\u65b9\u5f0f\u5b89\u88c5\u7cfb\u7edf\uff0c\u82e5\u8fd8\u9700\u8981\u4e3a\u6bcf\u53f0\u4e3b\u673a\u624b\u52a8\u9009\u62e9\u76f8\u5e94\u7684\u9009\u9879\uff0c\u5219\u672a\u514d\u4e0e\u6211\u4eec\u7684\u4e3b\u65e8\uff08\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\uff09\u76f8\u6096\u3002<\/p>\n

\u73b0\u5728\u6211\u4eec\u7f16\u8f91\u8fd9\u4e2adefault\u6587\u4ef6\uff0c\u628a\u7b2c1\u884c\u7684default\u53c2\u6570\u4fee\u6539\u4e3alinux\uff0c\u8fd9\u6837\u7cfb\u7edf\u5728\u5f00\u673a\u65f6\u5c31\u4f1a\u9ed8\u8ba4\u6267\u884c\u90a3\u4e2a\u540d\u79f0\u4e3alinux\u7684\u9009\u9879\u4e86\u3002\u5bf9\u5e94\u7684linux\u9009\u9879\u5927\u7ea6\u5728\u7b2c64\u884c\uff0c\u5c06\u9ed8\u8ba4\u7684\u5149\u76d8\u955c\u50cf\u5b89\u88c5\u65b9\u5f0f\u4fee\u6539\u6210FTP\u6587\u4ef6\u4f20\u8f93\u65b9\u5f0f\uff0c\u5e76\u6307\u5b9a\u597d\u5149\u76d8\u955c\u50cf\u7684\u83b7\u53d6\u7f51\u5740\u4ee5\u53caKickstart\u5e94\u7b54\u6587\u4ef6\u7684\u83b7\u53d6\u8def\u5f84\uff1a<\/p>\n

[root@linuxprobe tftpboot]# vim pxelinux.cfg\/default\r\n  1 default linux<\/strong>\r\n  2 timeout 600\r\n  3 \r\n  4 display boot.msg\r\n  5 \r\n  6 # Clear the screen when exiting the menu, instead of leaving the menu displayed.\r\n  7 # For vesamenu, this means the graphical background is still displayed without\r\n  8 # the menu itself for as long as the screen remains in graphics mode.\r\n  9 menu clear\r\n 10 menu background splash.png\r\n 11 menu title Red Hat Enterprise Linux 8.0.0\r\n 12 menu vshift 8\r\n 13 menu rows 18\r\n 14 menu margin 8\r\n 15 #menu hidden\r\n 16 menu helpmsgrow 15\r\n 17 menu tabmsgrow 13\r\n 18 \r\n 19 # Border Area\r\n 20 menu color border * #00000000 #00000000 none\r\n 21 \r\n 22 # Selected item\r\n 23 menu color sel 0 #ffffffff #00000000 none\r\n 24 \r\n 25 # Title bar\r\n 26 menu color title 0 #ff7ba3d0 #00000000 none\r\n 27 \r\n 28 # Press [Tab] message\r\n 29 menu color tabmsg 0 #ff3a6496 #00000000 none\r\n 30 \r\n 31 # Unselected menu item\r\n 32 menu color unsel 0 #84b8ffff #00000000 none\r\n 33 \r\n 34 # Selected hotkey\r\n 35 menu color hotsel 0 #84b8ffff #00000000 none\r\n 36 \r\n 37 # Unselected hotkey\r\n 38 menu color hotkey 0 #ffffffff #00000000 none\r\n 39 \r\n 40 # Help text\r\n 41 menu color help 0 #ffffffff #00000000 none\r\n 42 \r\n 43 # A scrollbar of some type? Not sure.\r\n 44 menu color scrollbar 0 #ffffffff #ff355594 none\r\n 45 \r\n 46 # Timeout msg\r\n 47 menu color timeout 0 #ffffffff #00000000 none\r\n 48 menu color timeout_msg 0 #ffffffff #00000000 none\r\n 49 \r\n 50 # Command prompt text\r\n 51 menu color cmdmark 0 #84b8ffff #00000000 none\r\n 52 menu color cmdline 0 #ffffffff #00000000 none\r\n 53 \r\n 54 # Do not display the actual menu unless the user presses a key. All that is displayed is a timeout message.\r\n 55 \r\n 56 menu tabmsg Press Tab for full configuration options on menu items.\r\n 57 \r\n 58 menu separator # insert an empty line\r\n 59 menu separator # insert an empty line\r\n 60 \r\n 61 label linux\r\n 62   menu label ^Install Red Hat Enterprise Linux 8.0.0\r\n 63   kernel vmlinuz\r\n 64   append initrd=initrd.img inst.stage2=ftp:\/\/192.168.10.10 ks=ftp:\/\/192.168.10.10\/pub\/ks.cfg quiet<\/strong>\r\n 65 \u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n

\u5efa\u8bae\u5728\u5b89\u88c5\u6e90\u7684\u540e\u9762\u52a0\u5165quiet\u53c2\u6570\uff0c\u610f\u4e3a\u4f7f\u7528\u9759\u9ed8\u5b89\u88c5\u65b9\u5f0f\uff0c\u4e0d\u518d\u9700\u8981\u7528\u6237\u8fdb\u884c\u786e\u8ba4\u3002\u6587\u4ef6\u4fee\u6539\u5b8c\u6bd5\u540e\u4fdd\u5b58\u5373\u53ef\u3002\u5f00\u673a\u9009\u9879\u83dc\u5355\u662f\u88ab\u8c03\u7528\u7684\u6587\u4ef6\uff0c\u56e0\u6b64\u4e0d\u9700\u8981\u5355\u72ec\u91cd\u542f\u4efb\u4f55\u670d\u52a1\u3002<\/p>\n

19.2.4 \u914d\u7f6eVSFtpd\u670d\u52a1\u7a0b\u5e8f<\/strong><\/span><\/h6>\n

\u5728\u8fd9\u5957\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u7684\u670d\u52a1\u4e2d\uff0c\u5149\u76d8\u955c\u50cf\u662f\u901a\u8fc7FTP\u534f\u8bae\u4f20\u8f93\u7684\uff0c\u56e0\u6b64\u52bf\u5fc5\u8981\u7528\u5230vsftpd\u670d\u52a1\u7a0b\u5e8f\u3002\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528httpd\u670d\u52a1\u7a0b\u5e8f\u6765\u63d0\u4f9bWeb\u7f51\u7ad9\u8bbf\u95ee\u7684\u65b9\u5f0f\uff0c\u53ea\u8981\u80fd\u786e\u4fdd\u5c06\u5149\u76d8\u955c\u50cf\u987a\u5229\u4f20\u8f93\u7ed9\u5ba2\u6237\u7aef\u4e3b\u673a\u5373\u53ef\u3002\u5982\u679c\u6253\u7b97\u4f7f\u7528Web\u7f51\u7ad9\u670d\u52a1\u6765\u63d0\u4f9b\u5149\u76d8\u955c\u50cf\uff0c\u4e00\u5b9a\u8bb0\u5f97\u5c06\u4e0a\u9762\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u5149\u76d8\u955c\u50cf\u83b7\u53d6\u7f51\u5740\u548cKickstart\u5e94\u7b54\u6587\u4ef6\u83b7\u53d6\u7f51\u5740\u4fee\u6539\u4e00\u4e0b\u3002<\/p>\n

[root@linuxprobe tftpboot]# dnf install -y vsftpd\r\nUpdating Subscription Management repositories.\r\nUnable to read consumer identity\r\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\r\nLast metadata expiration check: 0:28:28 ago on Fri 30 Apr 2021 01:47:18 AM CST.\r\nDependencies resolved.\r\n===============================================================================\r\n Package       Arch       Version           Repository        Size\r\n===============================================================================\r\nInstalling:\r\n vsftpd        x86_64     3.0.3-28.el8      AppStream         180 k\r\n\r\nTransaction Summary\r\n===============================================================================\r\nInstall  1 Package\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n\r\nInstalled:\r\n  vsftpd-3.0.3-28.el8.x86_64                                                                     \r\n\r\nComplete!\r\n<\/pre>\n

RHEL 8\u7cfb\u7edf\u7248\u672c\u7684vsftpd\u670d\u52a1\u9ed8\u8ba4\u4e0d\u5141\u8bb8\u533f\u540d\u516c\u5f00\u8bbf\u95ee\u6a21\u5f0f\uff0c\u56e0\u6b64\u9700\u8981\u624b\u52a8\u8fdb\u884c\u5f00\u542f\uff1a<\/p>\n

[root@linuxprobe ~ ]# vim \/etc\/vsftpd\/vsftpd.conf\r\n# Example config file \/etc\/vsftpd\/vsftpd.conf\r\n#\r\n# The default compiled in settings are fairly paranoid. This sample file\r\n# loosens things up a bit, to make the ftp daemon more usable.\r\n# Please see vsftpd.conf.5 for all compiled in defaults.\r\n#\r\n# READ THIS: This example file is NOT an exhaustive list of vsftpd options.\r\n# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's\r\n# capabilities.\r\n#\r\n# Allow anonymous FTP? (Beware - allowed by default if you comment this out).\r\nanonymous_enable=YES<\/strong>\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\n<\/pre>\n

\u5218\u9044\u8001\u5e08\u518d\u5570\u55e6\u4e00\u53e5\uff0c\u5728\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u6b63\u786e\u4e4b\u540e\uff0c\u4e00\u5b9a\u5c06\u76f8\u5e94\u7684\u670d\u52a1\u7a0b\u5e8f\u6dfb\u52a0\u5230\u5f00\u673a\u542f\u52a8\u9879\u4e2d\uff0c\u8fd9\u6837\u65e0\u8bba\u662f\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u8fd8\u662f\u5728\u7ea2\u5e3d\u8ba4\u8bc1\u8003\u8bd5\u4e2d\uff0c\u90fd\u53ef\u4ee5\u5728\u8bbe\u5907\u91cd\u542f\u4e4b\u540e\u4f9d\u7136\u80fd\u63d0\u4f9b\u76f8\u5e94\u7684\u670d\u52a1\u3002\u5e0c\u671b\u5404\u4f4d\u8bfb\u8005\u4e00\u5b9a\u517b\u6210\u8fd9\u4e2a\u597d\u4e60\u60ef\u3002<\/p>\n

[root@linuxprobe ~]# systemctl restart vsftpd\r\n[root@linuxprobe ~]# systemctl enable  vsftpd\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/vsftpd.service \u2192 \/usr\/lib\/systemd\/system\/vsftpd.service.\r\n<\/pre>\n

\u5728\u786e\u8ba4\u7cfb\u7edf\u5149\u76d8\u955c\u50cf\u5df2\u7ecf\u6b63\u5e38\u6302\u8f7d\u5230\/media\/cdrom\u76ee\u5f55\u540e\uff0c\u628a\u76ee\u5f55\u4e2d\u7684\u5149\u76d8\u955c\u50cf\u6587\u4ef6\u5168\u90e8\u590d\u5236\u5230vsftpd\u670d\u52a1\u7a0b\u5e8f\u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d\uff1a<\/p>\n

[root@linuxprobe ~]# cp -r \/media\/cdrom\/* \/var\/ftp\r\n<\/pre>\n

\u8fd9\u4e2a\u8fc7\u7a0b\u5927\u7ea6\u9700\u89813\uff5e5\u5206\u949f\u3002\u5728\u6b64\u671f\u95f4\uff0c\u54b1\u4eec\u4e5f\u522b\u95f2\u7740\uff0c\u5c06SELinux\u5b89\u5168\u5b50\u7cfb\u7edf\u4e2d\u653e\u884cFTP\u4f20\u8f93\u534f\u8bae\u7684\u5141\u8bb8\u7b56\u7565\uff0c\u8bbe\u7f6e\u6210on\uff08\u5f00\u542f\uff09\u3002<\/p>\n

[root@linuxprobe ~]# setsebool -P ftpd_connect_all_unreserved=on\r\n<\/pre>\n

\u51fa\u73b0\u95ee\u9898?\u5927\u80c6\u63d0\u95ee!<\/strong><\/span><\/p>\n

\u56e0\u8bfb\u8005\u4eec\u786c\u4ef6\u4e0d\u540c\u6216\u64cd\u4f5c\u9519\u8bef\u90fd\u53ef\u80fd\u5bfc\u81f4\u5b9e\u9a8c\u914d\u7f6e\u51fa\u9519\uff0c\u8bf7\u8010\u5fc3\u518d\u4ed4\u7ec6\u770b\u770b\u64cd\u4f5c\u6b65\u9aa4\u5427\uff0c\u4e0d\u8981\u6c14\u9981~<\/p>\n

Linux\u6280\u672f\u4ea4\u6d41\u5b66\u4e60\u8bf7\u52a0\u8bfb\u8005\u7fa4\uff08\u63a8\u8350<\/span><\/strong>\uff09\uff1ahttps:\/\/lrxjmw.cn\/club<\/a><\/p>\n

*\u672c\u7fa4\u7279\u8272\uff1a\u786e\u4fdd\u6bcf\u4e00\u4f4d\u7fa4\u53cb\u90fd\u662f\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b\u7684\u8bfb\u8005\uff0c\u7b54\u7591\u66f4\u6709\u9488\u5bf9\u6027\uff0c\u4e0d\u5b9a\u671f\u9886\u53d6\u5b9a\u5236\u793c\u54c1\u3002<\/p><\/blockquote>\n

19.2.5 \u521b\u5efaKickStart\u5e94\u7b54\u6587\u4ef6<\/strong><\/span><\/h6>\n

\u6bd5\u7adf\uff0c\u6211\u4eec\u4f7f\u7528PXE + Kickstart\u90e8\u7f72\u7684\u662f\u4e00\u5957\u201c\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u670d\u52a1\u201d\uff0c\u800c\u4e0d\u662f\u201c\u65e0\u4eba\u503c\u5b88\u4f20\u8f93\u7cfb\u7edf\u5149\u76d8\u955c\u50cf\u670d\u52a1\u201d\uff0c\u56e0\u6b64\u8fd8\u9700\u8981\u8ba9\u5ba2\u6237\u7aef\u4e3b\u673a\u80fd\u591f\u4e00\u8fb9\u83b7\u53d6\u5149\u76d8\u955c\u50cf\uff0c\u4e00\u8fb9\u81ea\u52a8\u5e2e\u7528\u6237\u586b\u5199\u597d\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684\u9009\u9879\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u5982\u679c\u751f\u4ea7\u73af\u5883\u4e2d\u6709100\u53f0\u670d\u52a1\u5668\uff0c\u5b83\u4eec\u9700\u8981\u5b89\u88c5\u76f8\u540c\u7684\u7cfb\u7edf\u73af\u5883\uff0c\u90a3\u4e48\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5355\u51fb\u7684\u6309\u94ae\u548c\u586b\u5199\u7684\u4fe1\u606f\u4e5f\u5e94\u8be5\u90fd\u662f\u76f8\u540c\u7684\u3002\u90a3\u4e48\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u521b\u5efa\u4e00\u4e2a\u7c7b\u4f3c\u4e8e\u5907\u5fd8\u5f55\u7684\u9700\u6c42\u6e05\u5355\u5462\uff1f\u8fd9\u6837\uff0c\u5728\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u65f6\uff0c\u4f1a\u4ece\u8fd9\u4e2a\u9700\u6c42\u6e05\u5355\u4e2d\u627e\u5230\u76f8\u5e94\u7684\u9009\u9879\u503c\uff0c\u4ece\u800c\u514d\u53bb\u4e86\u624b\u52a8\u8f93\u5165\u4e4b\u82e6\u3002\u66f4\u91cd\u8981\u7684\u662f\uff0c\u8fd9\u4e5f\u5f7b\u5e95\u89e3\u653e\u4e86\u4eba\u7684\u5e72\u9884\uff0c\u5f7b\u5e95\u5b9e\u73b0\u65e0\u4eba\u503c\u5b88\u81ea\u52a8\u5b89\u88c5\u7cfb\u7edf\uff0c\u800c\u4e0d\u662f\u5355\u7eaf\u5730\u4f20\u8f93\u7cfb\u7edf\u5149\u76d8\u955c\u50cf\u3002<\/p>\n

\u6709\u4e86\u4e0a\u6587\u505a\u94fa\u57ab\uff0c\u76f8\u4fe1\u5927\u5bb6\u73b0\u5728\u5e94\u8be5\u53ef\u4ee5\u731c\u5230Kickstart\u5176\u5b9e\u5e76\u4e0d\u662f\u4e00\u4e2a\u670d\u52a1\u7a0b\u5e8f\uff0c\u800c\u662f\u4e00\u4e2a\u5e94\u7b54\u6587\u4ef6\u4e86\u3002\u662f\u7684\uff01Kickstart\u5e94\u7b54\u6587\u4ef6\u4e2d\u5305\u542b\u4e86\u7cfb\u7edf\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u4f7f\u7528\u7684\u9009\u9879\u548c\u53c2\u6570\u4fe1\u606f\uff0c\u7cfb\u7edf\u53ef\u4ee5\u81ea\u52a8\u8c03\u53d6\u8fd9\u4e2a\u5e94\u7b54\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u4ece\u800c\u5f7b\u5e95\u5b9e\u73b0\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u3002\u90a3\u4e48\uff0c\u65e2\u7136\u8fd9\u4e2a\u6587\u4ef6\u5982\u6b64\u91cd\u8981\uff0c\u8be5\u53bb\u54ea\u91cc\u627e\u5462\uff1f\u5176\u5b9e\u5728root\u7ba1\u7406\u5458\u7684\u5bb6\u76ee\u5f55\u4e2d\u6709\u4e00\u4e2a\u540d\u4e3aanaconda-ks.cfg\u7684\u6587\u4ef6\uff0c\u5b83\u5c31\u662f\u5e94\u7b54\u6587\u4ef6\u3002\u4e0b\u9762\u5c06\u8fd9\u4e2a\u6587\u4ef6\u590d\u5236\u5230vsftpd\u670d\u52a1\u7a0b\u5e8f\u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d\uff08\u5728\u5f00\u673a\u9009\u9879\u83dc\u5355\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u5df2\u7ecf\u5b9a\u4e49\u4e86\u8be5\u6587\u4ef6\u7684\u83b7\u53d6\u8def\u5f84\uff0c\u4e5f\u5c31\u662fvsftpd\u670d\u52a1\u7a0b\u5e8f\u6570\u636e\u76ee\u5f55\u4e2d\u7684pub\u5b50\u76ee\u5f55\uff09\u3002\u4f7f\u7528chmod\u547d\u4ee4\u8bbe\u7f6e\u8be5\u6587\u4ef6\u7684\u6743\u9650\uff0c\u786e\u4fdd\u6240\u6709\u4eba\u90fd\u6709\u53ef\u8bfb\u7684\u6743\u9650\uff0c\u4ee5\u4fdd\u8bc1\u5ba2\u6237\u7aef\u4e3b\u673a\u987a\u5229\u83b7\u53d6\u5230\u5e94\u7b54\u6587\u4ef6\u53ca\u91cc\u9762\u7684\u5185\u5bb9\uff1a<\/p>\n

[root@linuxprobe ~]# cp ~\/anaconda-ks.cfg \/var\/ftp\/pub\/ks.cfg\r\n[root@linuxprobe ~]# chmod +r \/var\/ftp\/pub\/ks.cfg<\/pre>\n

Kickstart\u5e94\u7b54\u6587\u4ef6\u5e76\u6ca1\u6709\u60f3\u8c61\u4e2d\u7684\u90a3\u4e48\u590d\u6742\uff0c\u5b83\u603b\u5171\u53ea\u670944\u884c\u5de6\u53f3\u7684\u53c2\u6570\u548c\u6ce8\u91ca\u5185\u5bb9\uff0c\u5927\u5bb6\u5b8c\u5168\u53ef\u4ee5\u901a\u8fc7\u53c2\u6570\u7684\u540d\u79f0\u53ca\u4ecb\u7ecd\u6765\u5feb\u901f\u4e86\u89e3\u6bcf\u4e2a\u53c2\u6570\u7684\u4f5c\u7528\u3002\u5218\u9044\u8001\u5e08\u5728\u8fd9\u91cc\u6311\u9009\u51e0\u4e2a\u6bd4\u8f83\u6709\u4ee3\u8868\u6027\u7684\u53c2\u6570\u8fdb\u884c\u8bb2\u89e3\uff0c\u5176\u4ed6\u53c2\u6570\u5efa\u8bae\u5927\u5bb6\u81ea\u884c\u4fee\u6539\u6d4b\u8bd5\u3002<\/p>\n

\u5176\u4e2d\uff0c\u7b2c1\uff5e10\u884c\u8868\u793a\u5b89\u88c5\u786c\u76d8\u7684\u540d\u79f0\u4e3asda\u53ca\u4f7f\u7528LVM\u6280\u672f\u3002\u8fd9\u4fbf\u8981\u6c42\u6211\u4eec\u5728\u540e\u7eed\u65b0\u5efa\u5ba2\u6237\u7aef\u865a\u62df\u673a\u65f6\uff0c\u786c\u76d8\u4e00\u5b9a\u8981\u9009\u62e9SCSI\u6216SATA\u7c7b\u578b\u7684\uff08\u89c1\u56fe19-5\uff09\uff0c\u5426\u5219\u4f1a\u53d8\u6210\/dev\/hd\u6216\/dev\/nvme\u5f00\u5934\u7684\u540d\u79f0\uff0c\u8fdb\u800c\u4f1a\u56e0\u627e\u4e0d\u5230\u786c\u76d8\u8bbe\u5907\u800c\u7ec8\u6b62\u5b89\u88c5\u8fdb\u7a0b\u3002<\/p>\n

\u7b2c8\u884c\u7684\u8f6f\u4ef6\u4ed3\u5e93\uff0c\u5e94\u6539\u4e3a\u7531FTP\u670d\u52a1\u5668\u63d0\u4f9b\u7684\u7f51\u7edc\u8def\u5f84\u3002\u7b2c10\u884c\u7684\u5b89\u88c5\u6e90\uff0c\u4e5f\u9700\u8981\u7531CDROM\u6539\u4e3a\u7f51\u7edc\u5b89\u88c5\u6e90\uff1a<\/p>\n

  1 #version=RHEL8\r\n  2 ignoredisk --only-use=sda\r\n  3 autopart --type=lvm\r\n  4 # Partition clearing information\r\n  5 clearpart --none --initlabel\r\n  6 # Use graphical install\r\n  7 graphical\r\n  8 repo --name=\"AppStream\" --baseurl=ftp:\/\/192.168.10.10\/AppStream<\/strong>\r\n  9 # Use CDROM installation media\r\n 10 url --url=ftp:\/\/192.168.10.10\/BaseOS\r\n<\/strong><\/pre>\n

\"\"<\/p>\n

\u56fe19-5 \u9009\u62e9SCSI\u6216SATA\u786c\u76d8\u7c7b\u578b<\/p>\n

\u5728\u7b2c11\uff5e20\u884c\uff0ckeyboard\u53c2\u6570\u4e3a\u786c\u76d8\u7c7b\u578b\uff0c\u4e00\u822c\u90fd\u4e0d\u9700\u8981\u4fee\u6539\u3002\u4f46\u4e00\u5b9a\u8981\u6ce8\u610f\u7b2c17\u884c\u7684\u7f51\u5361\u4fe1\u606f\uff0c\u4e00\u5b9a\u8981\u8ba9\u7f51\u5361\u9ed8\u8ba4\u5904\u4e8eDHCP\u6a21\u5f0f\uff0c\u5426\u5219\u5728\u51e0\u5341\u3001\u4e0a\u767e\u53f0\u4e3b\u673a\u540c\u65f6\u88ab\u521b\u5efa\u51fa\u6765\u540e\uff0c\u4f1a\u56e0\u4e3aIP\u5730\u5740\u76f8\u4e92\u51b2\u7a81\u800c\u5bfc\u81f4\u540e\u7eed\u65e0\u6cd5\u7ba1\u7406\u3002<\/p>\n

 11 # Keyboard layouts\r\n 12 keyboard --vckeymap=us --xlayouts='us'\r\n 13 # System language\r\n 14 lang en_US.UTF-8\r\n 15 \r\n 16 # Network information\r\n 17 network  --bootproto=dhcp --device=ens160 --onboot=on --ipv6=auto --activate<\/strong>\r\n 18 network  --hostname=lrxjmw.cn\r\n 19 # Root password\r\n 20 rootpw --iscrypted $6$EzIFyouUyBvWRIXv$y3bW3JZ2vD4c8bwVyKt7J90gyjULALTMLrnZZmvVujA75EpCCn50rlYm64MHAInbMAXAgn2Bmlgou\/pYjUZzL1\r\n<\/pre>\n

\u5728\u7b2c21\u884c\uff5e30\u884c\uff0ctimezone\u53c2\u6570\u5b9a\u4e49\u4e86\u7cfb\u7edf\u9ed8\u8ba4\u65f6\u533a\u4e3a\u201c\u4e0a\u6d77\u201d\u3002\u5982\u679c\u5927\u5bb6\u7684\u670d\u52a1\u5668\u65f6\u95f4\u4e0d\u51c6\u786e\uff0c\u5219\u6309\u7167\u5982\u4e0b\u4fee\u6539\u5373\u53ef\u3002\u5728\u7b2c29\u884c\uff0c\u521b\u5efa\u4e86\u4e00\u4e2a\u666e\u901a\u7528\u6237\uff0c\u5bc6\u7801\u503c\u53ef\u590d\u5236\/etc\/shadow\u6587\u4ef6\u4e2d\u7684\u52a0\u5bc6\u5bc6\u6587\uff0c\u5b83\u7531\u7cfb\u7edf\u81ea\u52a8\u521b\u5efa\u3002<\/p>\n

 21 # X Window System configuration information\r\n 22 xconfig  --startxonboot\r\n 23 # Run the Setup Agent on first boot\r\n 24 firstboot --enable\r\n 25 # System services\r\n 26 services --disabled=\"chronyd\"\r\n 27 # System timezone\r\n 28 timezone Asia\/Shanghai --isUtc --nontp\r\n 29 user --name=linuxprobe --password=$6$a5fEjghDXGPvEoQc$HQqzvBlGVyhsJjgKFDTpiCEavS.inAwNTLZm\/I5R5ALLKaMdtxZoKgb4\/EaDyiPSSNNHGqrEkRnfJWap56m.\/. --iscrypted --gecos=\"linuxprobe\"\r\n 30 \r\n<\/pre>\n

\u6700\u540e\u7684\u7b2c31\uff5e44\u884c\u8868\u793a\u8981\u5b89\u88c5\u7684\u8f6f\u4ef6\u6765\u6e90\u3002graphical-server-environment\u5373\u5e26\u6709\u56fe\u5f62\u5316\u754c\u9762\u7684\u670d\u52a1\u5668\u73af\u5883\uff0c\u5b83\u5bf9\u5e94\u7684\u662f\u5b89\u88c5\u754c\u9762\u4e2d\u7684Server With GUI\u9009\u9879\u3002<\/p>\n

 31 %packages\r\n 32 @^graphical-server-environment\r\n 33 \r\n 34 %end\r\n 35 \r\n 36 %addon com_redhat_kdump --disable --reserve-mb='auto'\r\n 37 \r\n 38 %end\r\n 39 \r\n 40 %anaconda\r\n 41 pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\r\n 42 pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\r\n 43 pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\r\n 44 %end\r\n<\/pre>\n

\u7531\u4e0a\u53ef\u77e5\uff0c\u5b9e\u9645\u7b97\u4e0b\u6765\u7684\u4fee\u6539\u5e76\u4e0d\u591a\uff0c\u9ed8\u8ba4\u53c2\u6570\u5c31\u5df2\u7ecf\u975e\u5e38\u5408\u9002\u4e86\u3002\u6700\u540e\u9884\u89c8\u4e00\u4e0bks.cfg\u6587\u4ef6\u7684\u5168\u8c8c\u3002\u5982\u679c\u5927\u5bb6\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u9700\u8981\u7528\u5230\u8fd9\u4e2a\u6587\u4ef6\uff0c\u5219\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u5e76\u4f7f\u7528\u4e0b\u9762\u7684\u5185\u5bb9\uff1a<\/p>\n

[root@linuxprobe ~ ]# cat \/var\/ftp\/pub\/ks.cfg\r\n#version=RHEL8\r\nignoredisk --only-use=sda\r\nautopart --type=lvm\r\n# Partition clearing information\r\nclearpart --none --initlabel\r\n# Use graphical install\r\ngraphical\r\nrepo --name=\"AppStream\" --baseurl=ftp:\/\/192.168.10.10\/AppStream\r\n# Use CDROM installation media\r\nurl --url=ftp:\/\/192.168.10.10\/BaseOS\r\n# Keyboard layouts\r\nkeyboard --vckeymap=us --xlayouts='us'\r\n# System language\r\nlang en_US.UTF-8\r\n\r\n# Network information\r\nnetwork  --bootproto=dhcp --device=ens160 --onboot=on --ipv6=auto --activate\r\nnetwork  --hostname=lrxjmw.cn\r\n# Root password\r\nrootpw --iscrypted $6$EzIFyouUyBvWRIXv$y3bW3JZ2vD4c8bwVyKt7J90gyjULALTMLrnZZmvVujA75EpCCn50rlYm64MHAInbMAXAgn2Bmlgou\/pYjUZzL1\r\n# X Window System configuration information\r\nxconfig  --startxonboot\r\n# Run the Setup Agent on first boot\r\nfirstboot --enable\r\n# System services\r\nservices --disabled=\"chronyd\"\r\n# System timezone\r\ntimezone Asia\/Shanghai --isUtc --nontp\r\nuser --name=linuxprobe --password=$6$a5fEjghDXGPvEoQc$HQqzvBlGVyhsJjgKFDTpiCEavS.inAwNTLZm\/I5R5ALLKaMdtxZoKgb4\/EaDyiPSSNNHGqrEkRnfJWap56m.\/. --iscrypted --gecos=\"linuxprobe\"\r\n\r\n%packages\r\n@^graphical-server-environment\r\n\r\n%end\r\n\r\n%addon com_redhat_kdump --disable --reserve-mb='auto'\r\n\r\n%end\r\n\r\n%anaconda\r\npwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\r\npwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\r\npwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\r\n%end\r\n                                                                                          \r\n<\/pre>\n

Kickstart\u5e94\u7b54\u6587\u4ef6\u5c06\u4f7f\u7528FTP\u670d\u52a1\u8fdb\u884c\u4f20\u8f93\uff0c\u7136\u540e\u7531\u5b89\u88c5\u5411\u5bfc\u8fdb\u884c\u8c03\u7528\uff0c\u56e0\u6b64\u4e5f\u4e0d\u9700\u8981\u91cd\u542f\u4efb\u4f55\u670d\u52a1\u3002<\/p>\n

19.3 \u81ea\u52a8\u90e8\u7f72\u5ba2\u6237\u673a<\/strong><\/span><\/h5>\n

\u5728\u6309\u7167\u4e0a\u6587\u8bb2\u89e3\u7684\u65b9\u6cd5\u6210\u529f\u90e8\u7f72\u5404\u4e2a\u76f8\u5173\u7684\u670d\u52a1\u7a0b\u5e8f\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528PXE + Kickstart\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u4e86\u3002\u5728\u91c7\u7528\u4e0b\u9762\u7684\u6b65\u9aa4\u5efa\u7acb\u865a\u62df\u4e3b\u673a\u65f6\uff0c\u4e00\u5b9a\u8981\u628a\u5ba2\u6237\u7aef\u7684\u7f51\u7edc\u6a21\u5f0f\u8bbe\u5b9a\u6210\u4e0e\u670d\u52a1\u7aef\u4e00\u81f4\u7684\u201c\u4ec5\u4e3b\u673a\u6a21\u5f0f\u201d\uff0c\u5426\u5219\u4e24\u53f0\u8bbe\u5907\u65e0\u6cd5\u8fdb\u884c\u901a\u4fe1\uff0c\u4e5f\u5c31\u66f4\u522b\u63d0\u81ea\u52a8\u5b89\u88c5\u7cfb\u7edf\u4e86\u3002\u5176\u4f59\u786c\u4ef6\u914d\u7f6e\u9009\u9879\u5e76\u6ca1\u6709\u5f3a\u5236\u6027\u8981\u6c42\uff0c\u5927\u5bb6\u53ef\u53c2\u8003\u8fd9\u91cc\u7684\u914d\u7f6e\u9009\u9879\u6765\u8bbe\u5b9a\u3002<\/p>\n

\u7b2c1\u6b65<\/strong>\uff1a\u6253\u5f00\u201c\u65b0\u5efa\u865a\u62df\u673a\u5411\u5bfc\u201d\u7a0b\u5e8f\uff0c\u9009\u62e9\u201c\u81ea\u5b9a\u4e49\uff08\u9ad8\u7ea7\uff09\u201d\u914d\u7f6e\u7c7b\u578b\uff0c\u7136\u540e\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\uff0c\u5982\u56fe19-6\u6240\u793a\u3002\u5728\u968f\u540e\u7684\u865a\u62df\u673a\u786c\u4ef6\u517c\u5bb9\u6027\u9009\u9879\u4e2d\uff0c\u9009\u62e9\u9ed8\u8ba4\u7684\u201cWorkstation 16.x\u201d\uff0c\u6b65\u9aa4\u7701\u7565\u3002<\/p>\n

\u7b2c2\u6b65<\/strong>\uff1a\u5c06\u865a\u62df\u673a\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u6765\u6e90\u8bbe\u7f6e\u4e3a\u201c\u7a0d\u540e\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\u201d\u3002\u8fd9\u6837\u505a\u7684\u76ee\u7684\u662f\u8ba9\u865a\u62df\u673a\u771f\u6b63\u4ece\u7f51\u7edc\u4e2d\u83b7\u53d6\u7cfb\u7edf\u5b89\u88c5\u955c\u50cf\uff0c\u540c\u65f6\u4e5f\u53ef\u907f\u514dVMware Workstation\u865a\u62df\u673a\u8f6f\u4ef6\u6309\u7167\u5185\u8bbe\u7684\u65b9\u6cd5\u81ea\u884c\u5b89\u88c5\u7cfb\u7edf\u3002\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\uff0c\u5982\u56fe19-7\u6240\u793a\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-6 \u00a0\u9009\u62e9\u865a\u62df\u673a\u7684\u914d\u7f6e\u7c7b\u578b<\/p>\n

\"\"<\/p>\n

\u56fe19-7\u00a0 \u8bbe\u7f6e\u865a\u62df\u673a\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u6765\u6e90<\/p>\n

\u7b2c3\u6b65<\/strong>\uff1a\u5c06\u201c\u5ba2\u6237\u673a\u64cd\u4f5c\u7cfb\u7edf\u201d\u8bbe\u7f6e\u4e3aLinux\uff0c\u7248\u672c\u4e3a\u201cRed Hat Enterprise Linux 8 64\u4f4d\u201d\uff0c\u7136\u540e\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\uff0c\u5982\u56fe19-8\u6240\u793a\u3002<\/p>\n

\u7b2c4\u6b65<\/strong>\uff1a\u5bf9\u865a\u62df\u673a\u8fdb\u884c\u547d\u540d\u5e76\u8bbe\u7f6e\u5b89\u88c5\u4f4d\u7f6e\u3002\u5927\u5bb6\u53ef\u81ea\u884c\u5b9a\u4e49\u865a\u62df\u673a\u7684\u540d\u79f0\uff0c\u800c\u5b89\u88c5\u4f4d\u7f6e\u5219\u5c3d\u91cf\u9009\u62e9\u78c1\u76d8\u7a7a\u95f4\u8f83\u5927\u7684\u5206\u533a\u3002\u7136\u540e\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\uff0c\u5982\u56fe19-9\u6240\u793a\u3002\u5728\u968f\u540e\u8bbe\u7f6e\u865a\u62df\u673a\u5904\u7406\u5668\u7684\u4e2a\u6570\u53ca\u6838\u5fc3\u6570\u3001\u5185\u5b58\u5bb9\u91cf\u503c\u65f6\uff0c\u8bf7\u5927\u5bb6\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u81ea\u884c\u9009\u62e9\uff0c\u6b65\u9aa4\u7701\u7565\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-8\u00a0 \u9009\u62e9\u5ba2\u6237\u7aef\u4e3b\u673a\u7684\u64cd\u4f5c\u7cfb\u7edf<\/p>\n

\"\"<\/p>\n

\u56fe19-9\u00a0 \u547d\u540d\u865a\u62df\u673a\u5e76\u8bbe\u7f6e\u865a\u62df\u673a\u7684\u5b89\u88c5\u4f4d\u7f6e<\/p>\n

\u7b2c5\u6b65<\/strong>\uff1a\u8bbe\u7f6e\u865a\u62df\u673a\u4e3b\u673a\u7684\u7f51\u7edc\u8fde\u63a5\u7c7b\u578b\u4e3a\u201c\u4f7f\u7528\u4ec5\u4e3b\u673a\u6a21\u5f0f\u7f51\u7edc\u201d\uff0c\u5982\u56fe19-10\u6240\u793a\u3002\u4e00\u5b9a\u8981\u786e\u4fdd\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u540c\u5904\u4e8e\u76f8\u540c\u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u5426\u5219\u5ba2\u6237\u7aef\u65e0\u6cd5\u83b7\u5f97\u4ece\u670d\u52a1\u5668\u4f20\u9001\u8fc7\u6765\u7684\u7cfb\u7edf\u955c\u50cf\u53ca\u5e94\u7b54\u6587\u4ef6\u3002\u968f\u540e\u7684SCSI\u63a7\u5236\u5668\u7c7b\u578b\u9009\u62e9\u9ed8\u8ba4\u7684LSI Logic\uff0c\u6b65\u9aa4\u7701\u7565\u3002<\/p>\n

\u7b2c6\u6b65<\/strong>\uff1a\u8bbe\u7f6e\u786c\u76d8\u7c7b\u578b\u5e76\u6307\u5b9a\u5bb9\u91cf\u3002\u8bbe\u7f6e\u201c\u865a\u62df\u78c1\u76d8\u7c7b\u578b\u201d\u4e3aSCSI\u6216SATA\uff0c\u5982\u56fe19-11\u6240\u793a\u3002\u968f\u540e\u5728\u786c\u76d8\u521b\u5efa\u786e\u8ba4\u754c\u9762\uff0c\u9009\u62e9\u201c\u521b\u5efa\u65b0\u865a\u62df\u78c1\u76d8\u201d\u9009\u9879\uff0c\u6b65\u9aa4\u7701\u7565\u3002<\/p>\n

\u8fd9\u91cc\u5c06\u201c\u6700\u5927\u78c1\u76d8\u5927\u5c0f\u201d\u8bbe\u7f6e\u4e3a20GB\u3002\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u8fd9\u4e2a20GB\u6307\u7684\u662f\u865a\u62df\u673a\u7cfb\u7edf\u80fd\u591f\u4f7f\u7528\u7684\u6700\u5927\u4e0a\u9650\uff0c\u800c\u4e0d\u662f\u4f1a\u88ab\u7acb\u5373\u5360\u6ee1\uff0c\u56e0\u6b64\u8bbe\u7f6e\u5f97\u7a0d\u5fae\u5927\u4e00\u4e9b\u4e5f\u6ca1\u6709\u5173\u7cfb\u3002\u7136\u540e\u5355\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u6309\u94ae\uff0c\u5982\u56fe19-12\u6240\u793a\u3002\u968f\u540e\u7684\u786e\u8ba4\u786c\u76d8\u6587\u4ef6\u540d\u79f0\u754c\u9762\u9009\u62e9\u9ed8\u8ba4\u503c\u5373\u53ef\uff0c\u6b65\u9aa4\u7701\u7565\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-10 \u8bbe\u7f6e\u5ba2\u6237\u7aef\u7684\u7f51\u7edc\u6a21\u5f0f<\/p>\n

\"\"<\/p>\n

\u56fe19-11 \u8bbe\u7f6e\u865a\u62df\u786c\u76d8\u7c7b\u578b\u4e3aSCSI\u6216SATA<\/p>\n

\"\"<\/p>\n

\u56fe19-12\u00a0 \u5c06\u78c1\u76d8\u5bb9\u91cf\u6307\u5b9a\u4e3a20GB<\/p>\n

\u7b2c7\u6b65<\/strong>\uff1a\u7ed3\u675f\u201c\u65b0\u5efa\u865a\u62df\u673a\u5411\u5bfc\u7a0b\u5e8f\u201d\u540e\uff0c\u5148\u4e0d\u8981\u7740\u6025\u6253\u5f00\u865a\u62df\u673a\u7cfb\u7edf\u3002\u5927\u5bb6\u8fd8\u9700\u8981\u5355\u51fb\u56fe19-13\u4e2d\u7684\u201c\u81ea\u5b9a\u4e49\u786c\u4ef6\u201d\u6309\u94ae\uff0c\u5728\u5f39\u51fa\u7684\u5982\u56fe19-14\u6240\u793a\u7684\u754c\u9762\u4e2d\uff0c\u628a\u201c\u7f51\u7edc\u9002\u914d\u5668\u201d\u8bbe\u5907\u540c\u6837\u4e5f\u8bbe\u7f6e\u4e3a\u201c\u4ec5\u4e3b\u673a\u6a21\u5f0f\u201d\uff08\u8fd9\u4e2a\u6b65\u9aa4\u975e\u5e38\u91cd\u8981\uff09\uff0c\u79fb\u9664\u5176\u4ed6\u4e0d\u9700\u8981\u7684\u786c\u4ef6\uff0c\u7136\u540e\u5355\u51fb\u201c\u786e\u5b9a\u201d\u6309\u94ae\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-13\u00a0 \u5355\u51fb\u865a\u62df\u673a\u7684\u201c\u81ea\u5b9a\u4e49\u786c\u4ef6\u201d\u6309\u94ae<\/p>\n

\"\"<\/p>\n

\u56fe19-14\u00a0 \u8bbe\u7f6e\u865a\u62df\u673a\u7f51\u7edc\u9002\u914d\u5668\u8bbe\u5907\u4e3a\u4ec5\u4e3b\u673a\u6a21\u5f0f<\/p>\n

\u73b0\u5728\uff0c\u6211\u4eec\u5c31\u540c\u65f6\u51c6\u5907\u597d\u4e86PXE + Kickstart\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u4e0e\u865a\u62df\u4e3b\u673a\u3002\u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u5927\u5bb6\u53ea\u9700\u8981\u5c06\u914d\u7f6e\u59a5\u5f53\u7684\u670d\u52a1\u5668\u4e0a\u67b6\uff0c\u63a5\u901a\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e3b\u673a\u4e4b\u95f4\u7684\u7f51\u7ebf\uff0c\u7136\u540e\u542f\u52a8\u5ba2\u6237\u7aef\u4e3b\u673a\u5373\u53ef\u3002\u63a5\u4e0b\u6765\u5c31\u4f1a\u6309\u7167\u56fe19-15\uff5e\u56fe19-17\u90a3\u6837\uff0c\u5f00\u59cb\u4f20\u8f93\u5149\u76d8\u955c\u50cf\u6587\u4ef6\u5e76\u8fdb\u884c\u81ea\u52a8\u5b89\u88c5\u4e86\u2014\u671f\u95f4\u5b8c\u5168\u65e0\u987b\u4eba\u5de5\u5e72\u9884\uff0c\u76f4\u5230\u5b89\u88c5\u5b8c\u6bd5\u65f6\u624d\u9700\u8981\u8fd0\u7ef4\u4eba\u5458\u8fdb\u884c\u7b80\u5355\u7684\u521d\u59cb\u5316\u5de5\u4f5c\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-15\u00a0 \u81ea\u52a8\u4f20\u8f93\u5149\u76d8\u955c\u50cf\u6587\u4ef6\u5e76\u5b89\u88c5\u7cfb\u7edf<\/p>\n

\"\"<\/p>\n

\u56fe19-16 \u6839\u636e\u5e94\u7b54\u6587\u4ef6\u81ea\u52a8\u586b\u5199\u5b89\u88c5\u4fe1\u606f<\/p>\n

\"\"<\/p>\n

\u56fe19-17\u00a0 \u81ea\u52a8\u5b89\u88c5\u7cfb\u7edf\uff0c\u65e0\u987b\u4eba\u5de5\u5e72\u9884<\/p>\n

\u7531\u6b64\u53ef\u89c1\uff0c\u5f53\u751f\u4ea7\u73af\u5883\u5de5\u4f5c\u4e2d\u6709\u6570\u767e\u53f0\u670d\u52a1\u5668\u9700\u8981\u6279\u91cf\u5b89\u88c5\u7cfb\u7edf\u65f6\uff0c\u4f7f\u7528\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u7684\u4fbf\u6377\u6027\u662f\u4e0d\u8a00\u800c\u55bb\u7684\u3002\u4f46\u662f\u4e3a\u4e86\u907f\u514d\u6cd5\u5f8b\u98ce\u9669\uff0c\u7ea2\u5e3d\u516c\u53f8\u5bf9\u4e8e\u8bb8\u53ef\u754c\u9762\u8fd8\u4e0d\u5141\u8bb8\u7528\u5e94\u7b54\u6587\u4ef6\u81ea\u52a8\u5b8c\u6210\uff0c\u9700\u8981\u4eba\u5de5\u5355\u51fb\u201cI accept the license agreement\u201d\u590d\u9009\u6846\u540e\u65b9\u53ef\u7ee7\u7eed\u5b89\u88c5\uff0c\u5982\u56fe19-18\u548c\u56fe19-19\u6240\u793a\uff0c\u6211\u4eec\u901a\u8fc7\u7f51\u7edc\u5b89\u88c5\u7684\u5ba2\u6237\u7aef\u5c31\u641e\u5b9a\u4e86\u3002<\/p>\n

\"\"<\/p>\n

\u56fe19-18 \u624b\u52a8\u70b9\u51fb\u63a5\u53d7\u8bb8\u53ef\u534f\u8bae\u7684\u6309\u94ae
\n\"\"<\/p>\n

\u56fe19-19 \u987a\u5229\u8fdb\u5165\u5230\u65b0\u7cfb\u7edf\u4e2d<\/p>\n

\u51fa\u73b0\u95ee\u9898?\u5927\u80c6\u63d0\u95ee!<\/strong><\/span><\/p>\n

\u56e0\u8bfb\u8005\u4eec\u786c\u4ef6\u4e0d\u540c\u6216\u64cd\u4f5c\u9519\u8bef\u90fd\u53ef\u80fd\u5bfc\u81f4\u5b9e\u9a8c\u914d\u7f6e\u51fa\u9519\uff0c\u8bf7\u8010\u5fc3\u518d\u4ed4\u7ec6\u770b\u770b\u64cd\u4f5c\u6b65\u9aa4\u5427\uff0c\u4e0d\u8981\u6c14\u9981~<\/p>\n

Linux\u6280\u672f\u4ea4\u6d41\u5b66\u4e60\u8bf7\u52a0\u8bfb\u8005\u7fa4\uff08\u63a8\u8350<\/span><\/strong>\uff09\uff1ahttps:\/\/lrxjmw.cn\/club<\/a><\/p>\n

*\u672c\u7fa4\u7279\u8272\uff1a\u786e\u4fdd\u6bcf\u4e00\u4f4d\u7fa4\u53cb\u90fd\u662f\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b\u7684\u8bfb\u8005\uff0c\u7b54\u7591\u66f4\u6709\u9488\u5bf9\u6027\uff0c\u4e0d\u5b9a\u671f\u9886\u53d6\u5b9a\u5236\u793c\u54c1\u3002<\/p><\/blockquote>\n

\u672c\u7ae0\u8282\u7684\u590d\u4e60\u4f5c\u4e1a(\u7b54\u6848\u5c31\u5728\u95ee\u9898\u7684\u4e0b\u4e00\u884c\u54e6\uff0c\u7528\u9f20\u6807\u9009\u4e2d\u5373\u53ef\u770b\u5230\u7684~)<\/span><\/strong><\/span><\/p>\n

 <\/p>\n

1\uff0e\u90e8\u7f72\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u65f6\uff0c\u9700\u8981\u7528\u5230\u54ea\u4e9b\u670d\u52a1\u7a0b\u5e8f\u548c\u6587\u4ef6\uff1f<\/p>\n

\u7b54\uff1a<\/strong>\u9700\u8981\u7528\u5230SYSLinux\u5f15\u5bfc\u670d\u52a1\u3001DHCP\u670d\u52a1\u3001vsftpd\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\uff08\u6216httpd\u7f51\u7ad9\u670d\u52a1\uff09\u3001TFTP\u670d\u52a1\u4ee5\u53caKickstart\u5e94\u7b54\u6587\u4ef6\u3002<\/span><\/p>\n

2\uff0e\u5728VMware Workstation\u865a\u62df\u673a\u8f6f\u4ef6\u4e2d\uff0cDHCP\u670d\u52a1\u603b\u662f\u5206\u914d\u9519\u8befIP\u5730\u5740\u7684\u539f\u56e0\u53ef\u80fd\u662f\u4ec0\u4e48\uff1f<\/p>\n

\u7b54\uff1a<\/strong>\u865a\u62df\u673a\u7684\u865a\u62df\u7f51\u7edc\u7f16\u8f91\u5668\u4e2d\u81ea\u5e26\u7684DHCP\u670d\u52a1\u53ef\u80fd\u6ca1\u6709\u5173\u95ed\uff0c\u7531\u6b64\u4ea7\u751f\u4e86\u9519\u8bef\u5206\u914dIP\u5730\u5740\u7684\u60c5\u51b5\u3002<\/span><\/p>\n

3\uff0e\u5982\u4f55\u542f\u7528TFTP\u670d\u52a1\uff1f<\/p>\n

\u7b54\uff1a<\/strong>\u9700\u8981\u5728xinetd\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u628adisable\u53c2\u6570\u6539\u6210no\u3002<\/span><\/p>\n

4\uff0e\u6210\u529f\u5b89\u88c5SYSLinux\u670d\u52a1\u7a0b\u5e8f\u540e\uff0c\u53ef\u4ee5\u5728\u54ea\u4e2a\u76ee\u5f55\u4e2d\u627e\u5230\u5f15\u5bfc\u6587\u4ef6\uff1f<\/p>\n

\u7b54\uff1a<\/strong>\u5728\u5b89\u88c5\u597dSYSLinux\u670d\u52a1\u7a0b\u5e8f\u8f6f\u4ef6\u5305\u540e\uff0c\u5728\/usr\/share\/syslinux\u76ee\u5f55\u4e2d\u4f1a\u51fa\u73b0\u5f88\u591a\u5f15\u5bfc\u6587\u4ef6\u3002<\/span><\/p>\n

5\uff0e\u5728\u5f00\u673a\u9009\u9879\u83dc\u5355\u6587\u4ef6\u4e2d\uff0c\u628adefault\u53c2\u6570\u8bbe\u7f6e\u6210linux\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/p>\n

\u7b54\uff1a<\/strong>\u76ee\u7684\u662f\u8ba9\u7cfb\u7edf\u81ea\u52a8\u5f00\u59cb\u5b89\u88c5\u8fc7\u7a0b\uff0c\u800c\u4e0d\u9700\u8981\u8fd0\u7ef4\u4eba\u5458\u518d\u53bb\u9009\u62e9\u662f\u5b89\u88c5\u7cfb\u7edf\u8fd8\u662f\u6821\u9a8c\u955c\u50cf\u6587\u4ef6\u3002<\/span><\/p>\n

6\uff0e\u5b89\u88c5vsftpd\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u6216httpd\u7f51\u7ad9\u670d\u52a1\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/p>\n

\u7b54\uff1a<\/strong>\u628a\u5149\u76d8\u955c\u50cf\u6587\u4ef6\u5b8c\u6574\u3001\u987a\u5229\u5730\u4f20\u9001\u5230\u5ba2\u6237\u7aef\u4e3b\u673a\u3002<\/span><\/p>\n

7\uff0eKickstart\u5e94\u7b54\u6587\u4ef6\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/p>\n

\u7b54\uff1a<\/strong>Kickstart\u5e94\u7b54\u6587\u4ef6\u4e2d\u5305\u542b\u4e86\u7cfb\u7edf\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u4f7f\u7528\u7684\u9009\u9879\u548c\u53c2\u6570\u4fe1\u606f\uff0c\u5ba2\u6237\u7aef\u4e3b\u673a\u5728\u5b89\u88c5\u7cfb\u7edf\u7684\u8fc7\u7a0b\u4e2d\u53ef\u4ee5\u81ea\u52a8\u8c03\u53d6\u8fd9\u4e2a\u5e94\u7b54\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u4ece\u800c\u5f7b\u5e95\u5b9e\u73b0\u65e0\u4eba\u503c\u5b88\u5b89\u88c5\u7cfb\u7edf\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

\u7ae0\u8282\u6982\u8ff0\uff1a \u521a\u5165\u804c\u7684\u8fd0\u7ef4\u65b0\u624b\u7ecf\u5e38\u4f1a\u88ab\u8981\u6c42\u53bb\u505a\u4e00\u4e9b\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\u7684\u5de5\u4f5c\u3002\u5982\u679c\u6309\u7167\u7b2c1\u7ae0\u8bb2\u89e3\u7684\u7528\u5149\u76d8\u955c\u50cf\u6765\u5b89\u88c5\u64cd\u4f5c\u7cfb […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[559],"tags":[],"class_list":["post-181450","post","type-post","status-publish","format-standard","hentry","category-rhel8"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=181450"}],"version-history":[{"count":58,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181450\/revisions"}],"predecessor-version":[{"id":225611,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181450\/revisions\/225611"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=181450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=181450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=181450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}