{"id":8237,"date":"2018-11-03T02:24:22","date_gmt":"2018-11-02T18:24:22","guid":{"rendered":"https:\/\/4563.org\/?p=8237"},"modified":"2018-11-03T02:25:10","modified_gmt":"2018-11-02T18:25:10","slug":"superupdate-sh-%e4%b8%80%e9%94%ae%e6%9b%b4%e6%8d%a2linux%e8%bd%af%e4%bb%b6%e6%ba%90%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=8237","title":{"rendered":"SuperUpdate.sh \u4e00\u952e\u66f4\u6362Linux\u8f6f\u4ef6\u6e90\u811a\u672c"},"content":{"rendered":"<div class=\"single-content\">\n<h2><span id=\"i\" class=\"ez-toc-section\">\u4e00\u3001\u524d\u8a00<\/span><\/h2>\n<p>\u6709\u65f6\u5019\u4f1a\u9047\u5230 Linux \u7684\u6e90\u66f4\u65b0\u901f\u5ea6\u975e\u5e38\u7684\u7f13\u6162\uff0c\u7279\u522b\u662f\u5728\u56fd\u5185\u4f7f\u7528\u9ed8\u8ba4\u7684\u6e90\uff0c\u56e0\u4e3a\u56fd\u5185\u7684\u7f51\u7edc\u73af\u5883\uff0c\u7ecf\u5e38\u4f1a\u51fa\u73b0\u65e0\u6cd5\u66f4\u65b0\uff0c\u66f4\u65b0\u7f13\u6162\u7684\u60c5\u51b5\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u66f4\u6362\u4e00\u4e2a\u66f4\u9002\u5408\u6216\u8005\u8bf4\u66f4\u8fd1\uff0c\u66f4\u5feb\u7684\u8f6f\u4ef6\u6e90\uff0c\u4f1a\u4e3a\u4f60\u7684 Linux \u5b89\u88c5\u66f4\u65b0\u64cd\u4f5c\u66f4\u52a0\u7684\u6d41\u7545\u548c\u987a\u5229\u3002<\/p>\n<h2><span id=\"i-2\" class=\"ez-toc-section\">\u4e8c\u3001\u7279\u70b9<\/span><\/h2>\n<p>\u672c\u811a\u672c\u9002\u5408\u00a0CentOS 5\u30016\u30017\uff0cUbuntu 14.04\u300116.04\u300118.04\uff0cDebian 7\u30018\u30019\uff0c\u4e00\u952e\u5339\u914d\u6362\u6e90\u3002<\/p>\n<p>\u624b\u52a8\u66f4\u6362\u6e90\u4e5f\u975e\u5e38\u7684\u7b80\u5355\uff0c\u53ea\u9700\u8981\u6309\u51e0\u6b65\u5373\u53ef\u5b8c\u6210\uff0c\u8fd9\u4e2a\u811a\u672c\u53ea\u662f\u628a\u8fd9\u7b80\u5355\u7684\u51e0\u6b65\u7528\u4e00\u952e\u5b8c\u6210\uff0c\u4e3a\u4f60\u66f4\u6362\u66f4\u5feb\u7684\u8f6f\u4ef6\u6e90\u3002\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5bf9\u7ba1\u7406\u591a\u53f0 Linux \u670d\u52a1\u5668\u7684\u4eba\uff0c\u6216\u662f\u7ecf\u5e38\u91cd\u88c5\u7cfb\u7edf\u7684\u4eba\u6765\u8bf4\u80fd\u65b9\u4fbf\u4e0d\u5c11\u3002<\/p>\n<p>\u5e9f\u8bdd\u4e0d\u591a\u8bf4\uff0c\u811a\u672c\u7eaf\u51c0\uff0c\u9664\u4e86\u4fee\u6539\u8f6f\u4ef6\u6e90\u6587\u4ef6\uff0c\u4e0d\u4f1a\u53e6\u5916\u6dfb\u52a0\u5176\u4ed6\u4efb\u4f55\u6587\u4ef6\u6216\u914d\u7f6e\uff0c\u4e5f\u4e0d\u4f1a\u4fee\u6539\u5176\u4ed6\u65e0\u5173\u7684\u8bbe\u7f6e\uff0c\u65e0\u6b8b\u7559\uff0c\u4ee3\u7801\u4e0d\u52a0\u5bc6\uff0c\u8fd9\u4e5f\u662f\u6211\u7684\u811a\u672c\u7684\u539f\u5219\uff0c\u529f\u80fd\u4ee3\u7801\u53ea\u6709\u4e00\u767e\u6765\u884c\uff0c\u8bf7\u81ea\u67e5\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-731 box-hide box-show\" title=\"SuperUpdate.sh \u4e00\u952e\u66f4\u6362Linux\u8f6f\u4ef6\u6e90\u811a\u672c Linux \u7b2c1\u5f20-\u8001\u9b3c\u7684\u535a\u5ba2(OldKing.net)\" src=\"https:\/\/4563.org\/wp-content\/uploads\/2018\/11\/Screen-Shot-2018-11-01-at-23.13.57.pngw480.png\" alt=\"SuperUpdate.sh \u4e00\u952e\u66f4\u6362Linux\u8f6f\u4ef6\u6e90\u811a\u672c\" \/><\/p>\n<h2><span id=\"i-3\" class=\"ez-toc-section\">\u4e09\u3001\u7528\u6cd5<\/span><\/h2>\n<blockquote class=\"wp-block-quote\"><p>wget\u00a0 git.io\/superupdate.sh<\/p><\/blockquote>\n<blockquote class=\"wp-block-quote\"><p>bash superupdate.sh<\/p><\/blockquote>\n<p>\u4f7f\u7528 <strong><em>wget -qO- git.io\/superupdate.sh | bash<\/em><\/strong> \u4e5f\u53ef\u4e00\u952e\u6362\u6e90\uff0c\u5982\u679c\u7b2c\u4e00\u6b65\u4f60\u51fa\u73b0\u9519\u8bef\u6216\u6267\u884c\u540e\u65e0\u4efb\u4f55\u8f93\u51fa\uff0c\u8bf7\u68c0\u67e5\u662f\u5426\u5b89\u88c5 wget \u548c ca-certificates\uff0c\u8bf7\u4f7f\u7528<\/p>\n<blockquote class=\"wp-block-quote\"><p>apt-get install -y wget &amp;&amp; apt-get install\u00a0-y ca-certificates<\/p><\/blockquote>\n<p>\u6216\u8005<\/p>\n<blockquote class=\"wp-block-quote\"><p>yum install -y wget &amp;&amp; yum install\u00a0-y ca-certificates<\/p><\/blockquote>\n<p>\u5bf9\u4e8e Debian \u9ed8\u8ba4\u6362\u6e90\u4e3a Fastly CDN \u7684 mirror \u8fd9\u4e2a\u6e90\u6709 Fastly \u7684\u52a0\u6301\u5bf9\u5883\u5916\u4e3b\u673a\u90fd\u6709\u4e0d\u9519\u7684\u901f\u5ea6\u3002 \u5bf9\u4e8e Ubuntu \u548c CentOS \u7cfb\u7edf\u90fd\u9ed8\u8ba4\u6362\u4e3a\u963f\u91cc\u4e91\u7684 mirror \u8fd9\u4e2a\u6e90\u6709\u963f\u91cc\u4e91\u5168\u7403 CDN \u7684\u52a0\u6301\uff0c\u5168\u7403\u90fd\u6709\u4e0d\u9519\u7684\u901f\u5ea6\u3002<\/p>\n<p>\u5bf9\u4e8e Debian \u7cfb\u7edf\u8fd8\u8bbe\u7f6e\u4e86\u56db\u5957\u5176\u4ed6\u7684\u6e90\uff0c\u963f\u91cc\u4e91\uff0cCloudFront CDN\uff0c\u7f51\u6613163\uff0c\u4e2d\u79d1\u5927\u7684\u6e90\uff0c\u8bf7\u6839\u636e\u9700\u8981\u4f7f\u7528\u53c2\u6570\u4e00\u952e\u8bbe\u7f6e\u5982<\/p>\n<blockquote class=\"wp-block-quote\"><p>bash superupdate.sh cn<\/p><\/blockquote>\n<blockquote class=\"wp-block-quote\"><p>bash superupdate.sh 163<\/p><\/blockquote>\n<blockquote class=\"wp-block-quote\"><p>bash superupdate.sh aliyun<\/p><\/blockquote>\n<blockquote class=\"wp-block-quote\"><p>bash superupdate.sh aws<\/p><\/blockquote>\n<p>\u5982\u679c\u914d\u7f6e\u7684\u6587\u4ef6\u4e0d\u6ee1\u610f\uff0c\u4e00\u952e\u8fd8\u539f<\/p>\n<blockquote><p>bash superupdate.sh restore<\/p><\/blockquote>\n<h2><span id=\"i-4\" class=\"ez-toc-section\">\u56db\u3001\u540e\u8bb0<\/span><\/h2>\n<p>\u5730\u5740 https:\/\/git.io\/superupdate.sh<\/p>\n<p>\u811a\u672c\u6bd4\u8f83\u7b80\u5355\uff0c\u6700\u5f00\u59cb\u662f\u6253\u7b97\u6839\u636e geoip \u4fe1\u606f\u6765\u81ea\u52a8\u8bbe\u7f6e\u6700\u8fd1\u7684\u6e90\u7684\uff0c\u7a0d\u5fae\u9ebb\u70e6\u70b9\u5c31\u662f\u68c0\u6d4b\u7cfb\u7edf\u7248\u672c\uff0c\u53ea\u9700\u8981\u914d\u7f6e\u76f8\u5e94\u7684\u6e90\u5373\u53ef\uff0c\u5927\u90e8\u5206\u4ee3\u7801\u90fd\u53ef\u4ee5\u4ece\u4e4b\u524d\u7684 superbench \u91cc\u9762\u62ff\u8fc7\u6765\uff0c\u4f46\u4e2d\u9014\u53d1\u73b0\u51e0\u5927\u7cfb\u7edf\u7684\u6e90\u90fd\u6709 CDN \u7684 mirror \u8fd9\u6837\u505a\u53cd\u800c\u753b\u86c7\u6dfb\u8db3\u4e86\u3002\u6240\u4ee5\u5c31\u76f4\u63a5\u7528 CDN \u7684\u6e90\u4e86\uff0c\u56e0\u4e3a\u6211\u73b0\u5728\u57fa\u672c\u53ea\u7528 Debian\uff0c\u672c\u6765\u53ea\u505a\u4e86 Debian \u7684\u6362\u6e90\uff0c\u6628\u5929\u6709\u4eba\u8981\u6c42\uff0c\u5c31\u52a0\u4e86 CentOS \u548c Ubuntu \u57fa\u672c\u7684\u652f\u6301\uff0c\u6211\u5df2\u7ecf\u60f3\u597d\u4e86\u600e\u4e48\u53bb\u5199\uff0c\u5176\u4ed6\u7684\u7b49\u540e\u671f\u518d\u66f4\u65b0\u5427\u3002<\/p>\n<\/div>\n<div class=\"clear\"><\/div>\n<div class=\"single_banquan\">\u4f86\u6e90\uff1a<a title=\"SuperUpdate.sh \u4e00\u952e\u66f4\u6362Linux\u8f6f\u4ef6\u6e90\u811a\u672c\" href=\"https:\/\/www.oldking.net\/697.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.oldking.net\/697.html<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u524d\u8a00 \u6709\u65f6\u5019\u4f1a\u9047\u5230 Linux&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/8237"}],"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=8237"}],"version-history":[{"count":2,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/8237\/revisions"}],"predecessor-version":[{"id":8240,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/8237\/revisions\/8240"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8237"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}