{"id":594,"date":"2022-04-17T09:22:27","date_gmt":"2022-04-17T01:22:27","guid":{"rendered":"https:\/\/830519.xyz\/?p=594"},"modified":"2023-11-27T22:38:17","modified_gmt":"2023-11-27T14:38:17","slug":"dd","status":"publish","type":"post","link":"https:\/\/830519.xyz\/?p=594","title":{"rendered":"\u4e00\u952eDD"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code><strong>#DD Linux<\/strong>\n#\u5b89\u88c5\u91cd\u88c5\u7cfb\u7edf\u7684\u524d\u63d0\u7ec4\u4ef6\n\ngrub-mkconfig\nmkdir \/boot\/grub2\ngrub-mkconfig -o \/boot\/grub2\/grub.cfg\n\n#Debian\/Ubuntu:\napt-get install -y xz-utils openssl gawk file\n#RedHat\/CentOS:\nyum install -y xz openssl gawk file glibc-common\n\u5982\u679c\u51fa\u73b0\u5f02\u5e38\uff0c\u8bf7\u5237\u65b0Mirrors\u7f13\u5b58\u6216\u66f4\u6362\u955c\u50cf\u6e90\u3002\nRedHat\/CentOS:\nyum makecache &amp;&amp; yum update -y\nDebian\/Ubuntu:\napt update -y &amp;&amp; apt dist-upgrade -y\n\n#\u6dfb\u52a0\u56fd\u5185\u955c\u50cf\n--mirror 'https:\/\/mirrors.cloud.tencent.com\/debian\/'\n--mirror 'https:\/\/mirrors.ustc.edu.cn\/debian\/'\n--mirror 'https:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/'\n\n<strong>#DD<\/strong>\nbash &lt;(wget --no-check-certificate -qO- 'https:\/\/raw.githubusercontent.com\/MoeClub\/Note\/master\/InstallNET.sh') -d 11 -v 64 -p \"\u81ea\u5b9a\u4e49root\u5bc6\u7801\" -port \"\u81ea\u5b9a\u4e49ssh\u7aef\u53e3\"\n\n#DD\nwget --no-check-certificate -O AutoReinstall.sh https:\/\/git.io\/AutoReinstall.sh &amp;&amp; bash AutoReinstall.sh\nPassword: Pwd@CentOS\npasswd root\n\n#DD\nwget --no-check-certificate -O AutoReinstall.sh https:\/\/git.io\/betags &amp;&amp; chmod a+x AutoReinstall.sh &amp;&amp; bash AutoReinstall.sh\n#\u5982\u4e3aCN\u4e3b\u673a\uff0c\u53ef\u80fd\u51fa\u73b0\u4e0d\u80fd\u4e0b\u8f7d\u811a\u672c\u7684\u95ee\u9898\uff0c\u53ef\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4fee\u6539hosts\uff0c\u7136\u540e\u518d\u6b21\u4f7f\u7528\u4e0a\u9762\u7684\u547d\u4ee4\n\necho \"199.232.68.133 raw.githubusercontent.com\" >> \/etc\/hosts\n#22\u5408\u4e00\u7cfb\u7edf\u5bc6\u7801\uff1a\n1\u3001CentOS 7.7 (\u5df2\u5173\u95ed\u9632\u706b\u5899\u53caSELinux\uff0c\u9ed8\u8ba4\u5bc6\u7801Pwd@CentOS)\n2\u3001CentOS 7 (\u9ed8\u8ba4\u5bc6\u7801cxthhhhh.com)\n3\u3001CentOS 8 (\u9ed8\u8ba4\u5bc6\u7801cxthhhhh.com)\n4\u3001CentOS 6 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n5\u3001Debian 10 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n6\u3001Debian 9 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n7\u3001Debian 8 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n8\u3001Debian 7 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n9\u3001Ubuntu 20.04 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n10\u3001Ubuntu 18.04 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n11\u3001Ubuntu 16.04 (\u9ed8\u8ba4\u5bc6\u7801Minijer.com)\n12\u3001Windows Server 2019 (\u9ed8\u8ba4\u5bc6\u7801cxthhhhh.com)\n13\u3001Windows Server 2016 (\u9ed8\u8ba4\u5bc6\u7801cxthhhhh.com)\n14\u3001Windows Server 2012 (\u9ed8\u8ba4\u5bc6\u7801cxthhhhh.com)\n15\u3001Windows Server 2012 Lite (\u9ed8\u8ba4\u5bc6\u7801nat.ee)\n16\u3001Windows Server 2008 (\u9ed8\u8ba4\u5bc6\u7801cxthhhhh.com)\n17\u3001Windows Server 2008 Lite (\u9ed8\u8ba4\u5bc6\u7801nat.ee)\n18\u3001Windows Server 2003 (\u9ed8\u8ba4\u5bc6\u7801Linode)\n19\u3001Windows Server 2003 Lite (\u9ed8\u8ba4\u5bc6\u7801WinSrv2003x86-Chinese)\n20\u3001Windows 10 LTSC Lite (\u9ed8\u8ba4\u5bc6\u7801www.nat.ee)\n21\u3001Windows 7 x86 Lite (\u9ed8\u8ba4\u5bc6\u7801Windows7x86-Chinese)\n22\u3001Windows 7 Ent Lite (\u9ed8\u8ba4\u5bc6\u7801nat.ee)\n99\u3001\u81ea\u5b9a\u4e49\u955c\u50cf\n#\u6ce8\u610f\uff1a\n\u7ecf\u6d4b\u8bd5\u5728\u8c37\u6b4c\u4e91\u539f\u7248\u7cfb\u7edf\u57fa\u7840\u4e0aDD\u4f1a\u51fa\u73b0\u81ea\u52a8\u83b7\u53d6\u7684\u5b50\u7f51\u63a9\u7801\u4e3a255.255.255.255,\u5982\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u9700\u8981\u624b\u5de5\u8f93\u5165\u6539\u6b63\u4e3a\u6b63\u786e\u7684\u5982255.255.255.0,\u5426\u5219\u4f1a\u5b89\u88c5\u5b8c\u6210\u79bb\u7ebf\u3002\n\n#DD\nwget -qO- 1keydd.com\/inst.sh | bash -s - -t deb\n#\u7528root\/1keydd\u767b\u5f55debian10\n#\u62a5grub.conf\u9519\u8bef\napt-get reinstall grub-legacy\n\n#DD\nhttps:&#47;&#47;github.com\/MeowLove\/Network-Reinstall-System-Modify\nhttps:\/\/github.com\/Wind4\/vlmcsd\n\n#Low Memory Mode\n\u9996\u5148\u5230\u540e\u53f0\u91cd\u88c5\u7cfb\u7edf\u4e3acentos 7\uff0c\u540e\u53f0\u5e94\u8be5\u662f\u53ef\u4ee5\u91cd\u88c5\u7684\uff0c\u5728\u63a7\u5236\u9762\u677f\u6709\u4e9b\u8282\u70b9\u4e5f\u53ef\u4ee5\u91cd\u88c5\uff0c\u6709\u4e9b\u4e0d\u884c\n\u840c\u5496\u7684\u811a\u672c\u5206\u65b0\u65e7\u4e24\u7248\uff0c\u65e7\u7248\u652f\u6301centos\uff0c\u65b0\u7248\u4e0d\u652f\u6301\u3002\u9996\u5148\u7528\u65e7\u7248\u7684\u811a\u672cdd\u4e3adebian 10\nwget https:\/\/raw.githubusercontent.com\/MoeClub\/Note\/master\/InstallNET.Legacy.sh\n\u4fee\u6539\u5bf9\u5e94\u884c\uff0c\u4ee5\u81ea\u52a8\u786e\u8ba4\u4f4e\u5185\u5b58\u6a21\u5f0f\uff0c\nvim InstallNET.Legacy.sh\n\u67e5\u627e\uff1a\nd-i debian-installer\/locale string en_US\n\u66ff\u6362\u4e3a\uff1a\nd-i debian-installer\/language string en\nd-i debian-installer\/country string US\nd-i debian-installer\/locale string en_US.UTF-8\nd-i lowmem\/low note\n\u7136\u540e\u6267\u884c\uff1a\nbash InstallNET.Legacy.sh -d 10 -v 64 --ip-addr IP\u5730\u5740 --ip-gate \u7f51\u5173 --ip-mask \u5b50\u7f51\u63a9\u7801 -p \u5bc6\u7801 -a\ndebian 10\u88c5\u597d\u540e\uff0c\u5c31\u53ef\u4ee5\u7528Vicer\u7684\u65b0\u811a\u672c\u5b89\u88c5debian 11\u4e86\nbash &lt;(wget --no-check-certificate -qO- 'https:\/\/moeclub.org\/attachment\/LinuxShell\/InstallNET.sh') -d 11 -v 64 -p \u5bc6\u7801 -port \u7aef\u53e3\nwget --no-check-certificate -qO InstallNET.sh 'https:\/\/raw.githubusercontent.com\/MoeClub\/Note\/master\/InstallNET.sh' &amp;&amp; chmod a+x InstallNET.sh\nbash InstallNET.sh -d 11 -v 64 -a --mirror 'http:\/\/ftp.us.debian.org\/debian\/' -p \u5bc6\u7801 -port \u7aef\u53e3 -firmware\n\n-firmware                \u989d\u5916\u7684\u9a71\u52a8\u652f\u6301\n- d                      Debian\u7cfb\u7edf \u540e\u9762\u662f\u7cfb\u7edf\u7248\u672c\u53f7\n- c                      Centos\u7cfb\u7edf \u540e\u9762\u662f\u7cfb\u7edf\u7248\u672c\u53f7\n- v                      \u540e\u9762\u519964\u4f4d 32\u4f4d\n- a                      \u4e0d\u6e05\u695a\u8fd9\u4e2a\u5e72\u5565\u7684\u4f46\u662f\u6bcf\u4e2a\u811a\u672c\u90fd\u5e26\n--mirror                 \u540e\u9762\u662f\u955c\u50cf\u6e90\u5730\u5740\n- p                      \u540e\u9762\u5199\u81ea\u5b9a\u4e49\u5bc6\u7801\n\u2013ip-addr                 ifconfig -a \u540e\u83b7\u53d6\u5230\u7684 \u4f8b\uff1a194.87.xxx.xxx\n\u2013ip-gate                 route -n    \u540e\u83b7\u53d6\u5230\u7684 \u4f8b   194.87.xxx.xxx\n\u2013ip-mask                 255.255.xxx.xx\n\n#\u5c0f\u5185\u5b58DD\n1.\u5148\u7528\u840c\u5496Debian9\nbash &lt;(wget --no-check-certificate -qO- 'https:\/\/raw.githubusercontent.com\/MoeClub\/Note\/master\/InstallNET.sh') -d 9 -v 64 -p \"AAdd2233\" -port \"22\" -a\n\n2.Debian9\u5347\u7ea710\napt-get update &amp;&amp; apt-get upgrade\nsed -i 's\/stretch\/buster\/g' \/etc\/apt\/sources.list\napt-get update &amp;&amp; apt-get upgrade\napt-get dist-upgrade\nreboot\napt-get autoremove\n\n3.Debian10\u5347\u7ea711\napt update &amp;&amp; apt -y upgrade &amp;&amp; apt -y dist-upgrade; \\\nsed -i 's?buster\/updates?bullseye-security?' \/etc\/apt\/sources.list &amp;&amp; sed -i 's\/buster\/bullseye\/g' \/etc\/apt\/sources.list; \\\napt update &amp;&amp; apt -y upgrade &amp;&amp; apt -y dist-upgrade\nreboot\napt-get autoremove<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>#DD Windows<\/strong>\nhttps:&#47;&#47;nat.ee\/\nhttp:\/\/a.iplc.best\/natee\/\nwget --no-check-certificate -qO InstallNET.sh 'http:\/\/a.iplc.best\/natee\/InstallNET.sh' &amp;&amp; bash InstallNET.sh -dd 'http:\/\/a.iplc.best\/natee\/lite\/win7-ent-sp1-x64-cn\/win7-ent-sp1-x64-cn.vhd.gz'\n\n#\u6fc0\u6d3b\nhttps:\/\/github.com\/Wind4\/vlmcsd\n\u4e0b\u8f7dreleased\uff0c\u89e3\u538b\uff0ccd\u5230\u4f60\u7684\u67b6\u6784\u7684\u76ee\u5f55\uff0c\u8fd0\u884c\uff0c\uff08\u9632\u706b\u5899\u5f00\u653e\u7aef\u53e3\uff09\n\n\u7535\u8111\u7aef\uff0c\u8fdb\u5165cmd\nslmgr \/skms \u865a\u62df\u673aip\nslmgr \/xpr\nslmgr \/ato<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-594","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts\/594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=594"}],"version-history":[{"count":2,"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts\/594\/revisions"}],"predecessor-version":[{"id":778,"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts\/594\/revisions\/778"}],"wp:attachment":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}