{"id":549748,"date":"2022-01-08T14:37:28","date_gmt":"2022-01-08T06:37:28","guid":{"rendered":"http:\/\/4563.org\/?p=549748"},"modified":"2022-01-08T14:37:28","modified_gmt":"2022-01-08T06:37:28","slug":"kimsufi%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%80%9a%e8%bf%87%e6%95%91%e6%8f%b4%e7%b3%bb%e7%bb%9f%e8%99%9a%e6%8b%9fkvm%e5%ae%89%e8%a3%85%e4%bb%bb%e6%84%8fiso%e9%95%9c%e5%83%8f-2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=549748","title":{"rendered":"kimsufi\u670d\u52a1\u5668\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\u865a\u62dfKVM\u5b89\u88c5\u4efb\u610fISO\u955c\u50cf"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>zhongziso<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:04:40\t<\/p>\n<h3>kimsufi\u670d\u52a1\u5668\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\u865a\u62dfKVM\u5b89\u88c5\u4efb\u610fISO\u955c\u50cf<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 zhongziso \u4e8e 2021-11-25 13:11 \u7f16\u8f91 <\/p>\n<p> \u8fd9\u91cc\u4ee5\u5b89\u88c5centos7\u4e3a\u4f8b<\/p>\n<p>  \u9996\u5148\u767b\u5f55\u5230kimsufi\u7684\u540e\u53f0,\u5173\u95ed\u76d1\u63a7\uff1a<br \/>  https:\/\/vkceyugu.cdn.bspapp.com\/VKCEYUGU-82cca517-4441-4f65-9456-3dfc59a002da\/4936d000-ebe1-4080-94ef-5caa2d2c13d5.png<\/p>\n<p>  \u63a5\u7740\u70b9\u53f3\u4e0a\u89d2\u7684Netboot\uff0c\u5728\u91cc\u9762\u9009\u62e9Rescue\uff0c\u7136\u540e\u70b9Next\uff1a<br \/>  https:\/\/vkceyugu.cdn.bspapp.com\/VKCEYUGU-82cca517-4441-4f65-9456-3dfc59a002da\/58a78e9e-1010-4011-9c3a-bf2490a0ebc8.png<\/p>\n<p>  \u70b9Confirm\uff1a<br \/>  https:\/\/vkceyugu.cdn.bspapp.com\/VKCEYUGU-82cca517-4441-4f65-9456-3dfc59a002da\/d7577928-b851-4264-9e72-c80538f03a7c.png<\/p>\n<p>  \u518d\u70b9\u53f3\u4e0a\u89d2\u7684Restart\u6267\u884c\u786c\u91cd\u542f\uff0c\u67e5\u770b\u90ae\u7bb1\u91cc\u7684\u6551\u63f4\u7cfb\u7edf\u7684SSH\u8d26\u53f7\u5bc6\u7801<\/p>\n<p>  \u767b\u5f55\u6551\u63f4\u7cfb\u7edf\u67e5\u770b\u786c\u76d8\u60c5\u51b5\uff1a<br \/>  lsblk<\/p>\n<p>  \u67e5\u770b\u9635\u5217\u72b6\u6001\uff1a<br \/>  mdadm &#8211;detail \/dev\/md127<\/p>\n<p>  \u6211\u4eec\u9700\u8981\u5148\u505c\u6b62\u8fd9\u4e2a\u9635\u5217\uff1a<\/p>\n<p>  mdadm &#8211;stop \/dev\/md127<br \/>  \u7136\u540e\u5220\u9664\u4e24\u5757\u786c\u76d8\u7684\u5206\u533a\u8868\uff1a<\/p>\n<p>  wipefs -a \/dev\/sda<br \/>  wipefs -a \/dev\/sdb<\/p>\n<p>  \u67e5\u770b\u7f51\u5173\u548c\u63a9\u7801<br \/>  netstat -rn<\/p>\n<p>  \u67e5\u770bdns\uff1a<br \/>  cat \/etc\/resolv.conf<\/p>\n<p>  \u8bb0\u5f55IP \u3001\u7f51\u5173 \u3001DNS\u8fd9\u4e9b\u4fe1\u606f\uff0c\u540e\u9762\u4f1a\u7528\u4e0a\u3002<\/p>\n<p>  \u5b89\u88c5kvm\uff1a<br \/>  apt -y update<br \/>  apt -y install qemu qemu-kvm<\/p>\n<p>  \u4e0b\u8f7dcentos7\u7684iso:<br \/>  wget http:\/\/mirror-hk.koddos.net\/centos\/7.9.2009\/isos\/x86_64\/CentOS-7-x86_64-DVD-2009.iso<\/p>\n<p>  \u542f\u52a8\u865a\u62df\u673a\uff1a<br \/>  qemu-system-x86_64 <br \/>  -enable-kvm <br \/>  -nodefaults <br \/>  -cdrom \/root\/CentOS-7-x86_64-DVD-2009.iso <br \/>  -hda \/dev\/sda <br \/>  -hdb \/dev\/sdb <br \/>  -cpu host <br \/>  -smp 4 <br \/>  -m 8G <br \/>  -net nic <br \/>  -net user <br \/>  -vga std <br \/>  -vnc 0.0.0.0:0 <br \/>  -usbdevice tablet <br \/>  -k en-us<\/p>\n<p>  \u73b0\u5728\u53ef\u4ee5\u4f7f\u7528VNC\u8fde\u63a5\u4e86<br \/>  vnc\u5730\u5740\u8f93\u5165\uff1aip:5900<\/p>\n<p>  \u6b63\u5e38\u7684\u8bdd\u5c31\u80fd\u770b\u5230\u7cfb\u7edf\u5b89\u88c5\u754c\u9762\u4e86\u3002<\/p>\n<p>  \u5b89\u88c5\u5b8c\u7cfb\u7edf\u4e4b\u540e\uff0c\u5173\u95ed\u865a\u62df\u673a<br \/>  systemctl poweroff<\/p>\n<p>  \u56de\u5230kimsufi\u7684\u63a7\u5236\u53f0\u6539\u4e3a\u4ece\u786c\u76d8\u542f\u52a8\uff1a<br \/>  https:\/\/vkceyugu.cdn.bspapp.com\/VKCEYUGU-82cca517-4441-4f65-9456-3dfc59a002da\/a3ac7650-7cac-412a-a92a-3007363817c5.png<\/p>\n<p>  \u518d\u70b9\u53f3\u4e0a\u89d2\u7684restart\u6267\u884c\u786c\u91cd\u542f\u3002<\/p>\n<p>  \u5b8c\u5de5\uff01<\/p>\n<p>  \u901a\u8fc7ISO\u65b9\u5f0f\uff0c\u53ef\u4ee5\u628a\u6574\u4e2a\u7cfb\u7edf\u6539\u6210raid0\u9635\u5217\u7684\u65b9\u5f0f\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>laogui<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-12-15 01:09:18\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 laogui \u4e8e 2021-12-15 11:45 \u7f16\u8f91 <\/p>\n<p> \u5927\u4f6c\uff0c\u6839\u636e\u6559\u7a0b\uff0c\u91cd\u88c5debian11\u6210\u529f<br \/>  \u7528\u7684\u955c\u50cf\u662f\uff1ahttps:\/\/cdimage.debian.org\/debian-cd\/current\/amd64\/iso-dvd\/debian-11.1.0-amd64-DVD-1.iso<br \/>  \u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u6ca1\u6709\u8ba9\u914d\u7f6eIP \u3001\u7f51\u5173 \u3001DNS\u8fd9\u4e9b\u4fe1\u606f<br \/>  \u6700\u540e\u6539\u56de\u786c\u76d8\u542f\u52a8\u540e\uff0c\u673a\u5b50\u5c31\u8fde\u4e0d\u4e0a\u4e86<br \/>  \u8fd8\u6709\u529e\u6cd5\u8865\u6551\u5417\uff1f<br \/>  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>  \u5df2\u89e3\u51b3<\/p>\n<p>  \u5728\u5b89\u88c5\u65f6\uff0c\u9009\u62e9\u7684\u662fdebian\u56fe\u5f62\u5b89\u88c5\u7a0b\u5e8f\uff0c\u671f\u95f4\u6ca1\u6709\u8bbe\u7f6eIP\u3001\u7f51\u5173\u3001\u63a9\u7801\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u5b89\u88c5\u7a0b\u5e8f\u81ea\u52a8\u83b7\u53d6\u8bbe\u7f6e\uff0c\u8fd9\u6837\u5bfc\u81f4\u8bbe\u7f6e\u7684\u7f51\u7edc\u4e0e\u5b9e\u9645\u4f7f\u7528\u7684\u4e0d\u4e00\u6837\u7684<\/p>\n<p>  \u4e2a\u4eba\u89e3\u51b3\u529e\u6cd5\uff1a<br \/>  1\u3001\u64cd\u4f5c\u524d\uff0c\u5148\u767b\u5f55\u6b63\u5e38\u5b89\u88c5\u7cfb\u7edf\u7684\u670d\u52a1\u5668\uff0c\u8bb0\u5f55\u539f\u7cfb\u7edf\u7684IP \u3001\u7f51\u5173 \u3001DNS\u3001\u7f51\u5361\u540d\u8fd9\u4e9b\u4fe1\u606f<br \/>  \u67e5\u770bip&nbsp; &nbsp; ifconfig(\u6216ip addr)<br \/>  \u67e5\u770b\u7f51\u5173\u548c\u63a9\u7801&nbsp; &nbsp; netstat -rn<br \/>  \u67e5\u770bdns&nbsp; &nbsp; cat \/etc\/resolv.conf<br \/>  \u67e5\u770b\u7f51\u5361\u914d\u7f6e&nbsp; &nbsp; cat \/etc\/network\/interfaces<\/p>\n<p>  2\u3001\u5728\u91cd\u88c5\u7cfb\u7edf\u5b8c\u6210\u540e\uff0c\u5728VNC\u4e2d\u53ef\u4ee5\u770b\u5230\u7cfb\u7edf\u91cd\u542f\uff0c\u63a5\u7740\u767b\u5f55\u7cfb\u7edf<br \/>  a\u3001\u67e5\u770b\u65b0\u7cfb\u7edf\u7684\/etc\/network\/interfaces\u914d\u7f6e<br \/>  &nbsp; &nbsp;\u5c06\u7f51\u5361\u540d\u6539\u6210\u7b2c1\u6b65\u83b7\u53d6\u5230\u7684\u7f51\u5361\u540d<br \/>  &nbsp; &nbsp;\u5c06IP\u3001\u7f51\u5173\uff0c\u63a9\u7801(\u5982\u679c\u914d\u7f6e\u4e86\u9759\u6001IP)\u6539\u6210\u7b2c1\u6b65\u83b7\u53d6\u5230\u7684\u6570\u636e<br \/>  b\u3001\u4fee\u6539\/etc\/resolv.conf\u7684dns\u4e3a\u7b2c1\u6b65\u83b7\u53d6\u5f97\u7684<\/p>\n<p>  \u6267\u884c\u540e\u7eed\u64cd\u4f5c\uff1a<br \/>  \u5173\u95ed\u865a\u62df\u673a systemctl poweroff<br \/>  \u56de\u5230kimsufi\u7684\u63a7\u5236\u53f0\u6539\u4e3a\u4ece\u786c\u76d8\u542f\u52a8\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>treesky<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:05:12\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ed1\u5b9a&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u767e\u5ea6\u7f51\u76d8<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:42:56\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6280\u672f\u8d34\u7ed1\u5b9a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u82b1\u6837<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:44:27\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6536\u85cfING\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>rem<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:46:47\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ed1\u5b9a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>batsom<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:47:38\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6280\u672f\u8d34\u7ed1\u5b9a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>tomcb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 13:53:53\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6280\u672f\u8d34\u7ed1\u5b9a\uff01\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lwsg1987<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 14:00:53\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6280\u672f\u5927\u4f6c\uff0c\u54ea\u6b65\u8bbe\u7f6er0 \u4e86\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zhongziso<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 14:17:35\t<\/p>\n<h3><\/h3>\n<p>  \t\tlwsg1987 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 14:00<br \/>  \u6280\u672f\u5927\u4f6c\uff0c\u54ea\u6b65\u8bbe\u7f6er0 \u4e86\uff1f<\/p>\n<p> centos iso\u5b89\u88c5\u7684\u65f6\u5019\uff0c\u9009\u62e9\u786c\u76d8\u90a3\u91cc\uff0c\u53ef\u4ee5\u8bbe\u7f6eraid\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>MSN<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-25 14:33:07\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u8fd9\u4e2a\u662f\u4ec0\u4e48\u9635\u5217~<br \/>  https:\/\/s6.jpg.cm\/2021\/11\/25\/LGvqsD.png\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>zhongziso \u5927\u4f6c\u6709\u8bdd\u8bf4 :&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/549748"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=549748"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/549748\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=549748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=549748"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=549748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}