{"id":36159,"date":"2025-05-08T07:15:48","date_gmt":"2025-05-07T23:15:48","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/36159.html"},"modified":"2025-05-08T07:15:48","modified_gmt":"2025-05-07T23:15:48","slug":"%e7%89%a9%e7%90%86%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%b4%a7%e6%80%a5%e6%95%91%e6%8f%b4%ef%bc%9acentos%e7%b3%bb%e7%bb%9f%e5%af%86%e7%a0%81%e9%87%8d%e7%bd%ae%e5%85%a8%e6%b5%81%e7%a8%8b%e5%ae%9e%e6%88%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/36159.html","title":{"rendered":"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357"},"content":{"rendered":"<h2>\u524d\u8a00<\/h2>\n<p>\u5728\u4f01\u4e1aIT\u8fd0\u7ef4\u5b9e\u8df5\u4e2d&#xff0c;\u7269\u7406\u670d\u52a1\u5668\u5bc6\u7801\u4e22\u5931\u662f\u5178\u578b\u7684&#034;\u4f4e\u6982\u7387\u9ad8\u98ce\u9669&#034;\u4e8b\u4ef6\u3002\u67d0\u91d1\u878d\u79d1\u6280\u516c\u53f8\u66fe\u56e0\u6838\u5fc3\u670d\u52a1\u5668\u5bc6\u7801\u9057\u5931\u5bfc\u81f4\u4e1a\u52a1\u4e2d\u65ad36\u5c0f\u65f6&#xff0c;\u76f4\u63a5\u635f\u5931\u8d85\u8fc7800\u4e07\u5143\u3002\u8fd9\u8d77\u771f\u5b9e\u6848\u4f8b\u63ed\u793a\u4e86\u7cfb\u7edf\u5bc6\u7801\u7ba1\u7406\u7684\u5173\u952e\u6027\u2014\u2014\u5f53\u627f\u8f7d\u91cd\u8981\u4e1a\u52a1\u7684\u7269\u7406\u670d\u52a1\u5668\u906d\u9047\u5bc6\u7801\u4e22\u5931\u65f6&#xff0c;\u5982\u4f55\u5728\u4e0d\u7834\u574f\u6570\u636e\u5b8c\u6574\u6027\u7684\u524d\u63d0\u4e0b\u5feb\u901f\u6062\u590d\u8bbf\u95ee\u6743\u9650&#xff0c;\u5df2\u7ecf\u6210\u4e3a\u73b0\u4ee3\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u7684\u5fc5\u4fee\u6280\u80fd\u3002<\/p>\n<p>\u672c\u6587\u57fa\u4e8e\u7b14\u8005\u5904\u740627\u53f0\u672a\u4ea4\u63a5\u5bc6\u7801\u7684CentOS\u751f\u4ea7\u670d\u52a1\u5668\u7684\u5b9e\u6218\u7ecf\u9a8c&#xff0c;\u6df1\u5165\u89e3\u6790\u7269\u7406\u670d\u52a1\u5668\u5bc6\u7801\u91cd\u7f6e\u7684\u5b8c\u6574\u6280\u672f\u8def\u5f84\u3002\u6211\u4eec\u5c06\u91cd\u70b9\u63a2\u8ba8\u4e24\u79cd\u4e3b\u6d41\u89e3\u51b3\u65b9\u6848&#xff1a;GRUB\u5355\u7528\u6237\u6a21\u5f0f\u4fee\u6539\u6cd5\u548c\u786c\u76d8\u6302\u8f7d\u4fee\u6539\u6cd5&#xff0c;\u540c\u65f6\u63ed\u793a\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\u768415\u4e2a\u5173\u952e\u98ce\u9669\u70b9\u3002\u901a\u8fc7VMware Workstation 17\u590d\u73b0\u7684\u771f\u5b9e\u64cd\u4f5c\u73af\u5883&#xff08;\u56fe1&#xff1a;\u5b9e\u9a8c\u73af\u5883\u62d3\u6251\u56fe&#xff09;&#xff0c;\u914d\u5408\u9010\u884c\u6ce8\u91ca\u7684\u4ee3\u7801\u793a\u4f8b&#xff0c;\u5373\u4f7f\u662f\u6ca1\u6709Linux\u57fa\u7840\u7684\u65b0\u624b\u4e5f\u80fd\u5b8c\u6210\u6574\u4e2a\u5bc6\u7801\u91cd\u7f6e\u6d41\u7a0b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250507231546-681be9a243d16.png\" alt=\"\u56fe1&#xff1a;\u5b9e\u9a8c\u73af\u5883\u62d3\u6251\u56fe&#xff0c;\u5c55\u793a\u7269\u7406\u670d\u52a1\u5668\u3001\u8c03\u8bd5\u7ec8\u7aef\u3001\u5907\u4efd\u5b58\u50a8\u7684\u4e09\u5143\u67b6\u6784\" \/><\/p>\n<p>\u5728\u5f00\u59cb\u6280\u672f\u64cd\u4f5c\u524d&#xff0c;\u5fc5\u987b\u660e\u786e\u4e09\u4e2a\u57fa\u672c\u539f\u5219&#xff1a;<\/p>\n<ul>\n<li>\u7b2c\u4e00&#xff0c;\u4efb\u4f55\u4fee\u6539\u64cd\u4f5c\u524d\u5fc5\u987b\u5b8c\u6210\u5b8c\u6574\u78c1\u76d8\u955c\u50cf\u5907\u4efd&#xff1b;<\/li>\n<li>\u7b2c\u4e8c&#xff0c;\u64cd\u4f5c\u8fc7\u7a0b\u9700\u5168\u7a0b\u5f55\u50cf\u4ee5\u5907\u5ba1\u8ba1&#xff1b;<\/li>\n<li>\u7b2c\u4e09&#xff0c;\u4fee\u6539\u5b8c\u6210\u540e\u5e94\u7acb\u5373\u5efa\u7acb\u5bc6\u7801\u6258\u7ba1\u673a\u5236\u3002<\/li>\n<\/ul>\n<p>\u672c\u6587\u5c06\u4f7f\u7528CentOS 7.9\u4f5c\u4e3a\u6f14\u793a\u73af\u5883&#xff0c;\u4e0d\u540c\u7248\u672c\u95f4\u7684\u5dee\u5f02\u5c06\u5728\u6b63\u6587\u4e2d\u7279\u522b\u6807\u6ce8\u3002<\/p>\n<h2>\u4e00\u3001\u5e94\u6025\u54cd\u5e94\u9884\u6848\u5236\u5b9a<\/h2>\n<h3>1.1 \u98ce\u9669\u8bc4\u4f30\u77e9\u9635<\/h3>\n<table>\n<tr>\u98ce\u9669\u7b49\u7ea7\u53d1\u751f\u6982\u7387\u5f71\u54cd\u7a0b\u5ea6\u5e94\u5bf9\u63aa\u65bd<\/tr>\n<tbody>\n<tr>\n<td>\u6570\u636e\u4e22\u5931<\/td>\n<td>15%<\/td>\n<td>\u707e\u96be\u6027<\/td>\n<td>\u5168\u76d8dd\u5907\u4efd<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u4ef6\u7cfb\u7edf\u635f\u574f<\/td>\n<td>10%<\/td>\n<td>\u4e25\u91cd<\/td>\n<td>\u9884\u5148\u68c0\u67e5fsck<\/td>\n<\/tr>\n<tr>\n<td>SELinux\u7b56\u7565\u51b2\u7a81<\/td>\n<td>30%<\/td>\n<td>\u4e2d\u5ea6<\/td>\n<td>\u81ea\u52a8relabel\u673a\u5236<\/td>\n<\/tr>\n<tr>\n<td>GRUB\u52a0\u5bc6<\/td>\n<td>20%<\/td>\n<td>\u9ad8<\/td>\n<td>BIOS\u5bc6\u7801\u6e05\u9664<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>1.2 \u5de5\u5177\u51c6\u5907\u6e05\u5355<\/h3>\n<ul>\n<li>\u786c\u4ef6&#xff1a;USB\u8f6cSATA\u63a5\u53e3\u3001\u9632\u9759\u7535\u624b\u5957\u3001KVM\u5207\u6362\u5668<\/li>\n<li>\u8f6f\u4ef6&#xff1a;SystemRescueCd 9.06\u955c\u50cf\u3001HDD Raw Copy Tool<\/li>\n<li>\u6587\u6863&#xff1a;\u670d\u52a1\u5668\u8d44\u4ea7\u767b\u8bb0\u8868\u3001\u673a\u623f\u51fa\u5165\u8bb0\u5f55\u8868<\/li>\n<\/ul>\n<h2>\u4e8c\u3001GRUB\u5355\u7528\u6237\u6a21\u5f0f\u7834\u89e3\u8be6\u89e3<\/h2>\n<h3>2.1 \u542f\u52a8\u6d41\u7a0b\u5e72\u9884<\/h3>\n<h4>2.1.1 GRUB\u83dc\u5355\u5524\u9192\u6280\u5de7<\/h4>\n<p>\u6234\u5c14PowerEdge R740\u7cfb\u5217\u670d\u52a1\u5668\u9700\u5728\u5f00\u673a\u65f6\u4ee5\u6bcf\u79d23\u6b21\u7684\u9891\u7387\u6572\u51fbF12\u952e\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250507231547-681be9a323cc7.jpg\" alt=\"\u56fe2&#xff1a;\u670d\u52a1\u5668\u7269\u7406\u63a7\u5236\u9762\u677f\u7279\u5199\" \/><\/p>\n<p>\u5f53\u5c4f\u5e55\u51fa\u73b0\u4ee5\u4e0b\u63d0\u793a\u65f6&#xff1a;<\/p>\n<p>Press F12 for Boot Menu<\/p>\n<p>\u57281.5\u79d2\u5185\u5b8c\u6210\u6309\u952e\u52a8\u4f5c&#xff0c;\u8d85\u65f6\u4f1a\u5bfc\u81f4\u76f4\u63a5\u8fdb\u5165\u7cfb\u7edf\u3002<\/p>\n<h4>2.1.2 \u5185\u6838\u53c2\u6570\u4fee\u6539\u5b9e\u6218<\/h4>\n<p>\u5b9a\u4f4d\u5230linux16\u884c\u540e&#xff0c;\u63a8\u8350\u4f7f\u7528\u7ec4\u5408\u4fee\u6539\u65b9\u6848&#xff1a;<\/p>\n<p>linux16 \/vmlinuz-3.10.0-1160.el7.x86_64 <span class=\"token assign-left variable\">root<\/span><span class=\"token operator\">&#061;<\/span>\/dev\/mapper\/centos-root<br \/>\n    rw <span class=\"token assign-left variable\">init<\/span><span class=\"token operator\">&#061;<\/span>\/bin\/bash <span class=\"token assign-left variable\">enforcing<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">0<\/span><\/p>\n<p>\u5173\u952e\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>rw&#xff1a;\u5c06\u6839\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u4e3a\u53ef\u5199\u6a21\u5f0f<\/li>\n<li>init&#061;\/bin\/bash&#xff1a;\u7ed5\u8fc7\u7cfb\u7edf\u521d\u59cb\u5316\u8fdb\u7a0b<\/li>\n<li>enforcing&#061;0&#xff1a;\u4e34\u65f6\u7981\u7528SELinux<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250507231547-681be9a33383c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>2.2 \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u9677\u9631<\/h3>\n<h4>2.2.1 \u6302\u8f7d\u5f02\u5e38\u5904\u7406<\/h4>\n<p>\u5f53\u51fa\u73b0mount: \/sysroot: unknown filesystem type &#039;xfs&#039;\u9519\u8bef\u65f6&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u52a0\u8f7dXFS\u6a21\u5757<\/span><br \/>\nmodprobe xfs<br \/>\n<span class=\"token comment\"># \u91cd\u65b0\u626b\u63cfLVM\u5377<\/span><br \/>\nvgchange -ay<br \/>\n<span class=\"token comment\"># \u9a8c\u8bc1\u5377\u7ec4\u6fc0\u6d3b\u72b6\u6001<\/span><br \/>\nvgs<\/p>\n<h4>2.2.2 \u5bc6\u7801\u4fee\u6539\u7684\u4e09\u79cd\u65b9\u5f0f<\/h4>\n<p>\u65b9\u5f0f\u4e00&#xff1a;\u6807\u51c6passwd\u547d\u4ee4<\/p>\n<p><span class=\"token function\">chroot<\/span> \/sysroot<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;NewPassword123!&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">passwd<\/span> &#8211;stdin root<\/p>\n<p>\u65b9\u5f0f\u4e8c&#xff1a;\u76f4\u63a5\u4fee\u6539shadow\u6587\u4ef6<\/p>\n<p><span class=\"token comment\"># \u751f\u6210SHA-512\u52a0\u5bc6\u5bc6\u7801<\/span><br \/>\npython3 -c <span class=\"token string\">&#039;import crypt; print(crypt.crypt(&#034;NewPassword123!&#034;, crypt.mksalt(crypt.METHOD_SHA512)))&#039;<\/span><br \/>\n<span class=\"token comment\"># \u8f93\u51fa&#xff1a;$6$FhY5UfGJ$VbT3L&#8230;<\/span><br \/>\n<span class=\"token function\">nano<\/span> \/etc\/shadow<br \/>\n<span class=\"token comment\"># \u66ff\u6362root\u5bc6\u7801\u5b57\u6bb5<\/span><br \/>\nroot:<span class=\"token variable\">$6<\/span><span class=\"token variable\">$FhY5UfGJ<\/span><span class=\"token variable\">$VbT3L<\/span><span class=\"token punctuation\">..<\/span>.:19189:0:99999:7:::<\/p>\n<p>\u65b9\u5f0f\u4e09&#xff1a;\u6e05\u9664\u5bc6\u7801&#xff08;\u4ec5\u9650\u7d27\u6025\u60c5\u51b5&#xff09;<\/p>\n<p><span class=\"token function\">sed<\/span> -i <span class=\"token string\">&#039;s\/^root:[^:]*:\/root::\/&#039;<\/span> \/etc\/shadow<\/p>\n<h3>2.3 SELinux\u7b56\u7565\u4fee\u590d<\/h3>\n<h4>2.3.1 \u81ea\u52a8\u4fee\u590d\u6807\u8bb0<\/h4>\n<p>\u6267\u884ctouch \/.autorelabel\u540e&#xff0c;\u7cfb\u7edf\u91cd\u542f\u65f6\u4f1a\u89e6\u53d1\u4ee5\u4e0b\u8fc7\u7a0b&#xff1a;<\/p>\n<li>\u52a0\u8f7d\u521d\u59cbRAM\u78c1\u76d8<\/li>\n<li>\u626b\u63cf\u6240\u6709\u6587\u4ef6\u7684SELinux\u4e0a\u4e0b\u6587<\/li>\n<li>\u6839\u636e\u7b56\u7565\u6570\u636e\u5e93\u91cd\u65b0\u6807\u8bb0<\/li>\n<li>\u91cd\u5efa\u6587\u4ef6\u7cfb\u7edf\u7d22\u5f15<\/li>\n<h4>2.3.2 \u624b\u52a8\u4fee\u590d\u6d41\u7a0b<\/h4>\n<p>\u5f53\u81ea\u52a8\u4fee\u590d\u5931\u8d25\u65f6&#xff0c;\u8fdb\u5165\u6551\u63f4\u6a21\u5f0f\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u6302\u8f7d\u7cfb\u7edf\u5206\u533a<\/span><br \/>\n<span class=\"token function\">mount<\/span> \/dev\/sda2 \/mnt<br \/>\n<span class=\"token comment\"># \u52a0\u8f7dSELinux\u7b56\u7565<\/span><br \/>\nload_policy -i<br \/>\n<span class=\"token comment\"># \u91cd\u65b0\u6807\u8bb0\u6587\u4ef6\u7cfb\u7edf<\/span><br \/>\nrestorecon -Rv \/ <\/p>\n<h2>\u4e09\u3001\u786c\u76d8\u6302\u8f7d\u7834\u89e3\u65b9\u6848<\/h2>\n<h3>3.1 \u7269\u7406\u62c6\u5378\u89c4\u8303<\/h3>\n<p>&#xff08;\u56fe5&#xff1a;\u670d\u52a1\u5668\u786c\u76d8\u67b6\u62c6\u5378\u6b65\u9aa4\u5206\u89e3\u56fe&#xff09;<\/p>\n<table>\n<tr>\u6b65\u9aa4\u64cd\u4f5c\u8981\u70b9\u98ce\u9669\u63d0\u793a<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u4f69\u6234\u9632\u9759\u7535\u624b\u73af<\/td>\n<td>\u9759\u7535\u51fb\u7a7f\u7535\u8def<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u89e3\u9664\u786c\u76d8\u6258\u67b6\u9501\u6263<\/td>\n<td>\u673a\u68b0\u5361\u6263\u635f\u574f<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>45\u5ea6\u89d2\u62d4\u51fa\u786c\u76d8<\/td>\n<td>\u91d1\u624b\u6307\u5212\u4f24<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>3.2 \u5916\u7f6e\u6302\u8f7d\u5b9e\u6218<\/h3>\n<h4>3.2.1 LVM\u5377\u8bc6\u522b\u6280\u5de7<\/h4>\n<p>\u5728\u8f85\u52a9\u673a\u4e0a\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u626b\u63cf\u7269\u7406\u5377<\/span><br \/>\npvscan<br \/>\n<span class=\"token comment\"># \u6fc0\u6d3b\u5377\u7ec4<\/span><br \/>\nvgimportclone \/dev\/sdb2<br \/>\nvgchange -ay centos<\/p>\n<h4>3.2.2 \u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d<\/h4>\n<p>\u9488\u5bf9XFS\u6587\u4ef6\u7cfb\u7edf\u7684\u7279\u6b8a\u5904\u7406&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u68c0\u67e5\u6587\u4ef6\u7cfb\u7edf\u5b8c\u6574\u6027<\/span><br \/>\nxfs_repair \/dev\/mapper\/centos-root<br \/>\n<span class=\"token comment\"># \u542f\u7528norecovery\u6a21\u5f0f\u6302\u8f7d<\/span><br \/>\n<span class=\"token function\">mount<\/span> -o ro,norecovery \/dev\/mapper\/centos-root \/mnt<\/p>\n<h3>3.3 \u5bc6\u7801\u4fee\u6539\u7684\u539f\u5b50\u64cd\u4f5c<\/h3>\n<h4>3.3.1 \u5f71\u5b50\u6587\u4ef6\u7f16\u8f91\u89c4\u8303<\/h4>\n<p><span class=\"token comment\"># \u521b\u5efa\u5907\u4efd<\/span><br \/>\n<span class=\"token function\">cp<\/span> \/mnt\/etc\/shadow \/mnt\/etc\/shadow.bak_<span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">date<\/span> &#043;%s<span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token comment\"># \u4f7f\u7528vim\u4e8c\u8fdb\u5236\u6a21\u5f0f\u7f16\u8f91<\/span><br \/>\n<span class=\"token function\">vim<\/span> -b \/mnt\/etc\/shadow<br \/>\n<span class=\"token comment\"># \u8fdb\u5165\u540e\u6267\u884c&#xff1a;<\/span><br \/>\n:%s\/^root:<span class=\"token punctuation\">[<\/span>^:<span class=\"token punctuation\">]<\/span>*\/root:<span class=\"token variable\">$6<\/span><span class=\"token variable\">$salt<\/span><span class=\"token variable\">$hash<\/span>\/<br \/>\n<span class=\"token comment\"># \u9a8c\u8bc1\u4fee\u6539<\/span><br \/>\n<span class=\"token function\">diff<\/span> \/mnt\/etc\/shadow \/mnt\/etc\/shadow.bak*<\/p>\n<h4>3.3.2 \u5bc6\u7801\u65f6\u6548\u7b56\u7565\u7ed5\u8fc7<\/h4>\n<p>\u5f53\u9047\u5230&#034;Password is too old&#034;\u8b66\u544a\u65f6&#xff0c;\u4fee\u6539&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u539f\u59cb\u6761\u76ee<\/span><br \/>\nroot:<span class=\"token variable\">$6<\/span>$<span class=\"token punctuation\">..<\/span>.:19189:0:99999:7:::<br \/>\n<span class=\"token comment\"># \u4fee\u6539\u4e3a&#xff08;\u5c06\u6700\u540e\u4fee\u6539\u65e5\u8bbe\u4e3a\u5f53\u5929&#xff09;<\/span><br \/>\nroot:<span class=\"token variable\">$6<\/span>$<span class=\"token punctuation\">..<\/span>.:19800:0:99999:7:::<\/p>\n<h2>\u56db\u3001\u5bc6\u7801\u91cd\u7f6e\u540e\u7684\u5b89\u5168\u52a0\u56fa<\/h2>\n<h3>4.1 \u5ba1\u8ba1\u65e5\u5fd7\u6e05\u7406<\/h3>\n<p><span class=\"token comment\"># \u67e5\u627e\u8ba4\u8bc1\u76f8\u5173\u65e5\u5fd7<\/span><br \/>\njournalctl -u systemd-logind <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">&#039;password&#039;<\/span><br \/>\n<span class=\"token comment\"># \u4f7f\u7528shred\u5b89\u5168\u64e6\u9664<\/span><br \/>\nshred -u \/var\/log\/secure-*<\/p>\n<h3>4.2 GRUB\u52a0\u5bc6\u914d\u7f6e<\/h3>\n<p><span class=\"token comment\"># \u751f\u6210PBKDF2\u52a0\u5bc6\u5bc6\u7801<\/span><br \/>\ngrub2-mkpasswd-pbkdf2<br \/>\n<span class=\"token comment\"># \u8f93\u5165\u5bc6\u7801\u540e\u83b7\u5f97hash<\/span><br \/>\ngrub2-setpassword<br \/>\n<span class=\"token comment\"># \u9a8c\u8bc1\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">cat<\/span> \/boot\/grub2\/user.cfg<\/p>\n<h3>4.3 BIOS\u5bc6\u7801\u8bbe\u7f6e<\/h3>\n<li>\u8981\u8fdb\u5165\u7cfb\u7edf\u8bbe\u7f6e\u7a0b\u5e8f&#xff0c;\u8bf7\u5728\u6253\u5f00\u6216\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u540e\u7acb\u5373\u6309 F12 \u952e\u3002\u7136\u540e\u9009\u62e9 BIOS Setup &#xff08; BIOS\u8bbe\u7f6e&#xff09;\u3002 \u5728 BIOS<\/li>\n<li>\u8bbe\u7f6e \u5c4f\u5e55\u4e2d &#xff0c;\u9009\u62e9 \u5b89\u5168 &#xff0c;\u7136\u540e\u6309 Enter \u952e\u3002\u6b64\u65f6\u5c06\u663e\u793a \u5b89\u5168 \u5c4f\u5e55\u3002 \u9009\u62e9 \u7cfb\u7edf\u5bc6\u7801 &#xff0c;\u7136\u540e\u5728 \u8f93\u5165\u65b0\u5bc6\u7801 \u5b57\u6bb5\u4e2d\u521b\u5efa\u5bc6\u7801\u3002<\/li>\n<li>\u5728 \u786e\u8ba4\u65b0 \u5bc6\u7801 \u5b57\u6bb5\u4e2d\u952e\u5165\u60a8\u4e4b\u524d\u8f93\u5165\u7684\u7cfb\u7edf\u5bc6\u7801&#xff0c;\u7136\u540e\u5355\u51fb \u786e\u5b9a \u3002 \u6309 Esc \u952e\u5e76\u6309\u5f39\u51fa\u6d88\u606f\u63d0\u793a\u4fdd\u5b58\u66f4\u6539\u3002 \u6309 Y<\/li>\n<li>\u4fdd\u5b58\u66f4\u6539\u3002\u8ba1\u7b97\u673a\u5c06\u91cd\u65b0\u542f\u52a8\u3002<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250507231547-681be9a36643b.png\" alt=\"&#xff08;\u56fe6&#xff1a;Dell\u670d\u52a1\u5668BIOS\u5bc6\u7801\u8bbe\u7f6e\u754c\u9762\u622a\u56fe&#xff09;\" \/><\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u672c\u6587\u7684\u5b9e\u6218\u6f14\u793a&#xff0c;\u6211\u4eec\u7cfb\u7edf\u6027\u5730\u89e3\u51b3\u4e86\u7269\u7406\u670d\u52a1\u5668\u5bc6\u7801\u4e22\u5931\u8fd9\u4e00\u5178\u578b\u8fd0\u7ef4\u5371\u673a\u3002\u9700\u8981\u7279\u522b\u5f3a\u8c03\u7684\u662f&#xff0c;\u4efb\u4f55\u5bc6\u7801\u91cd\u7f6e\u64cd\u4f5c\u90fd\u4f1a\u5728\u7cfb\u7edf\u65e5\u5fd7\u4e2d\u7559\u4e0b\u75d5\u8ff9&#xff08;\/var\/log\/audit\/audit.log&#xff09;&#xff0c;\u5b8c\u6210\u540e\u5fc5\u987b\u6309\u7167\u4f01\u4e1a\u5b89\u5168\u89c4\u8303\u6267\u884c\u4e8b\u540e\u5ba1\u8ba1\u6d41\u7a0b\u3002\u5efa\u8bae\u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5b9a\u671f\u5f00\u5c55&#034;\u65ad\u70b9\u6062\u590d\u6f14\u7ec3&#034;&#xff0c;\u5c06\u672c\u6587\u6240\u8ff0\u6d41\u7a0b\u7eb3\u5165\u6807\u51c6\u5e94\u6025\u54cd\u5e94\u9884\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.6k\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf28\u6b21\u3002\u901a\u8fc7\u672c\u6587\u7684\u5b9e\u6218\u6f14\u793a\uff0c\u6211\u4eec\u7cfb\u7edf\u6027\u5730\u89e3\u51b3\u4e86\u7269\u7406\u670d\u52a1\u5668\u5bc6\u7801\u4e22\u5931\u8fd9\u4e00\u5178\u578b\u8fd0\u7ef4\u5371\u673a\u3002\u9700\u8981\u7279\u522b\u5f3a\u8c03\u7684\u662f\uff0c\u4efb\u4f55\u5bc6\u7801\u91cd\u7f6e\u64cd\u4f5c\u90fd\u4f1a\u5728\u7cfb\u7edf\u65e5\u5fd7\u4e2d\u7559\u4e0b\u75d5\u8ff9\uff08\/var\/log\/audit\/audit.log\uff09\uff0c\u5b8c\u6210\u540e\u5fc5\u987b\u6309\u7167\u4f01\u4e1a\u5b89\u5168\u89c4\u8303\u6267\u884c\u4e8b\u540e\u5ba1\u8ba1\u6d41\u7a0b\u3002\u5efa\u8bae\u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5b9a\u671f\u5f00\u5c55&quot;\u65ad\u70b9\u6062\u590d\u6f14\u7ec3&quot;\uff0c\u5c06\u672c\u6587\u6240\u8ff0\u6d41\u7a0b\u7eb3\u5165\u6807\u51c6\u5e94\u6025\u54cd\u5e94\u9884\u6848\u3002<\/p>\n","protected":false},"author":2,"featured_media":36155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[59,463,43,44],"topic":[],"class_list":["post-36159","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-centos","tag-linux","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>\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357 - \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\/36159.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.6k\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf28\u6b21\u3002\u901a\u8fc7\u672c\u6587\u7684\u5b9e\u6218\u6f14\u793a\uff0c\u6211\u4eec\u7cfb\u7edf\u6027\u5730\u89e3\u51b3\u4e86\u7269\u7406\u670d\u52a1\u5668\u5bc6\u7801\u4e22\u5931\u8fd9\u4e00\u5178\u578b\u8fd0\u7ef4\u5371\u673a\u3002\u9700\u8981\u7279\u522b\u5f3a\u8c03\u7684\u662f\uff0c\u4efb\u4f55\u5bc6\u7801\u91cd\u7f6e\u64cd\u4f5c\u90fd\u4f1a\u5728\u7cfb\u7edf\u65e5\u5fd7\u4e2d\u7559\u4e0b\u75d5\u8ff9\uff08\/var\/log\/audit\/audit.log\uff09\uff0c\u5b8c\u6210\u540e\u5fc5\u987b\u6309\u7167\u4f01\u4e1a\u5b89\u5168\u89c4\u8303\u6267\u884c\u4e8b\u540e\u5ba1\u8ba1\u6d41\u7a0b\u3002\u5efa\u8bae\u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5b9a\u671f\u5f00\u5c55&quot;\u65ad\u70b9\u6062\u590d\u6f14\u7ec3&quot;\uff0c\u5c06\u672c\u6587\u6240\u8ff0\u6d41\u7a0b\u7eb3\u5165\u6807\u51c6\u5e94\u6025\u54cd\u5e94\u9884\u6848\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/36159.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-07T23:15:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250507231546-681be9a243d16.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\/36159.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/36159.html\",\"name\":\"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-07T23:15:48+00:00\",\"dateModified\":\"2025-05-07T23:15:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/36159.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/36159.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/36159.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357\"}]},{\"@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":"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357 - \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\/36159.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.6k\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf28\u6b21\u3002\u901a\u8fc7\u672c\u6587\u7684\u5b9e\u6218\u6f14\u793a\uff0c\u6211\u4eec\u7cfb\u7edf\u6027\u5730\u89e3\u51b3\u4e86\u7269\u7406\u670d\u52a1\u5668\u5bc6\u7801\u4e22\u5931\u8fd9\u4e00\u5178\u578b\u8fd0\u7ef4\u5371\u673a\u3002\u9700\u8981\u7279\u522b\u5f3a\u8c03\u7684\u662f\uff0c\u4efb\u4f55\u5bc6\u7801\u91cd\u7f6e\u64cd\u4f5c\u90fd\u4f1a\u5728\u7cfb\u7edf\u65e5\u5fd7\u4e2d\u7559\u4e0b\u75d5\u8ff9\uff08\/var\/log\/audit\/audit.log\uff09\uff0c\u5b8c\u6210\u540e\u5fc5\u987b\u6309\u7167\u4f01\u4e1a\u5b89\u5168\u89c4\u8303\u6267\u884c\u4e8b\u540e\u5ba1\u8ba1\u6d41\u7a0b\u3002\u5efa\u8bae\u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5b9a\u671f\u5f00\u5c55&quot;\u65ad\u70b9\u6062\u590d\u6f14\u7ec3&quot;\uff0c\u5c06\u672c\u6587\u6240\u8ff0\u6d41\u7a0b\u7eb3\u5165\u6807\u51c6\u5e94\u6025\u54cd\u5e94\u9884\u6848\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/36159.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-07T23:15:48+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250507231546-681be9a243d16.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\/36159.html","url":"https:\/\/www.wsisp.com\/helps\/36159.html","name":"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-07T23:15:48+00:00","dateModified":"2025-05-07T23:15:48+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/36159.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/36159.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/36159.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7269\u7406\u670d\u52a1\u5668\u7d27\u6025\u6551\u63f4\uff1aCentOS\u7cfb\u7edf\u5bc6\u7801\u91cd\u7f6e\u5168\u6d41\u7a0b\u5b9e\u6218\u6307\u5357"}]},{"@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\/36159","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=36159"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/36159\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/36155"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=36159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=36159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=36159"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=36159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}