{"id":182,"date":"2015-03-26T00:12:30","date_gmt":"2015-03-25T16:12:30","guid":{"rendered":"http:\/\/sqrt-1.me\/?p=182"},"modified":"2015-03-26T00:12:30","modified_gmt":"2015-03-25T16:12:30","slug":"%e7%94%a8freeshell%e6%8f%90%e5%8f%96%e8%87%aa%e5%b7%b1%e7%99%be%e5%ba%a6%e4%ba%91%e4%b8%ad%e4%b8%80%e4%b8%aa%e5%8e%8b%e7%bc%a9%e5%8c%85%e9%87%8c%e7%9a%84%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/sqrt-1.me\/?p=182","title":{"rendered":"\u7528freeshell\u63d0\u53d6\u81ea\u5df1\u767e\u5ea6\u4e91\u4e2d\u4e00\u4e2a\u538b\u7f29\u5305\u91cc\u7684\u6587\u4ef6"},"content":{"rendered":"<p>\u4eca\u5929\u628a\u4e00\u4e2a\u5f88\u5927\u7684\u538b\u7f29\u5305\u8f6c\u5b58\u5230\u4e86\u6211\u7684\u767e\u5ea6\u4e91\u7f51\u76d8\uff0c\u4f46\u662f\u538b\u7f29\u5305\u91cc\u53ea\u6709\u5c11\u6570\u51e0\u4e2a\u5c0f\u6587\u4ef6\u662f\u6211\u6240\u9700\u8981\u7684\u3002\u5728\u5bdd\u5ba4\u4e0b\u8f7d\u538b\u7f29\u5305\u4e0d\u4f46\u9700\u8981\u5f88\u957f\u65f6\u95f4\uff0c\u800c\u4e14\u4f1a\u628a\u7f51\u7edc\u5e26\u5bbd\u5360\u6ee1\uff0c\u5f71\u54cd\u81ea\u5df1\u548c\u5ba4\u53cb\u4f7f\u7528\u7f51\u7edc\u3002\u4e8e\u662f\u6211\u6253\u7b97\u7528<a href=\"https:\/\/freeshell.ustc.edu.cn\/\">freeshell<\/a>\uff08\u6211\u4eec\u5b66\u6821<a href=\"https:\/\/lug.ustc.edu.cn\/wiki\/\">LUG\u793e\u56e2<\/a>\u63d0\u4f9b\u7684\u514d\u8d39Linux\u4e3b\u673a\uff09\u4e0b\u8f7d\u8fd9\u4e2a\u538b\u7f29\u5305\uff0c\u5728\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u89e3\u538b\u6587\u4ef6\uff0c\u7136\u540e\u628a\u9700\u8981\u7684\u6587\u4ef6\u53d6\u56de\u5230\u81ea\u5df1\u7684\u7535\u8111\u3002<\/p>\n<p>Linux\u5e73\u53f0\u4e0a\u6ca1\u6709\u767e\u5ea6\u4e91\u5ba2\u6237\u7aef\u3002\u7528\u522b\u4eba\u63d0\u4f9b\u7684Linux\u767e\u5ea6\u4e91\u7a0b\u5e8f\u4e0d\u4ec5\u9700\u8981\u73b0\u5b66\uff0c\u800c\u4e14\u8d26\u53f7\u7684\u5b89\u5168\u6027\u4e0d\u80fd\u5f88\u597d\u7684\u4fdd\u8bc1\u3002\u4e8e\u662f\u6211\u51b3\u5b9a\u7528curl\u547d\u4ee4\u5b8c\u5168\u6a21\u62df\u81ea\u5df1\u7535\u8111\u4e0a\u7f51\u9875\u7248\u767e\u5ea6\u4e91\u7684\u4e0b\u8f7d\u8bf7\u6c42\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u6211\u7528\u7684\u662fchrome\u6d4f\u89c8\u5668\u3002\u5728\u7f51\u9875\u7248\u767e\u5ea6\u4e91\u7684\u9875\u9762\u4e0a\u6309F12\u6253\u5f00\u8c03\u8bd5\u754c\u9762\uff0c\u5207\u6362\u5230Network\u9009\u9879\u5361\uff0c\u70b9\u51fb\u4e0b\u8f7d\u6587\u4ef6\uff0c\u53ef\u4ee5\u770b\u5230\u6d4f\u89c8\u5668\u53d1\u51fa\u4e86\u5f88\u591a\u4e2aHTTP\u8bf7\u6c42\uff0c\u5176\u4e2d\u4e00\u4e2a\u8bf7\u6c42\u662f\u91cd\u5b9a\u5411\u5230\u4e00\u4e2azip\u6587\u4ef6\uff0c\u5982\u56fe\u6240\u793a\uff1a<\/p>\n<p><a href=\"http:\/\/sqrt-1.me\/wp-content\/uploads\/2015\/03\/chrome.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-184\" src=\"http:\/\/sqrt-1.me\/wp-content\/uploads\/2015\/03\/chrome.jpg\" alt=\"chrome\" width=\"994\" height=\"141\" srcset=\"https:\/\/sqrt-1.me\/wp-content\/uploads\/2015\/03\/chrome.jpg 994w, https:\/\/sqrt-1.me\/wp-content\/uploads\/2015\/03\/chrome-300x43.jpg 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>\u5728\u5b83\u4e0a\u9762\u70b9\u51fb\u53f3\u952e\uff0c\u9009\u62e9\u201cCopy as cURL\u201d\uff0c\u6d4f\u89c8\u5668\u5c31\u4f1a\u628a\u8fd9\u4e2a\u8bf7\u6c42\u5199\u6210\u4e00\u4e2aLinux\u7684curl\u547d\u4ee4\u8bed\u53e5\uff0c\u590d\u5236\u5230\u526a\u8d34\u677f\u3002<\/p>\n<p>\u7136\u540e\u5728Linux\u7ec8\u7aef\uff08\u901a\u8fc7ssh\u8fde\u63a5\uff09\u7c98\u8d34\u8fd9\u6761\u8bed\u53e5\uff0c\u5728\u547d\u4ee4\u6700\u540e\u52a0\u4e0a\u201c-o file.zip\u201d\u3002\u8fd9\u4e2a\u53c2\u6570\u8868\u793a\u8ba9curl\u7a0b\u5e8f\u628a\u6570\u636e\u4fdd\u5b58\u5230file.zip\u8fd9\u4e2a\u6587\u4ef6\u4e2d\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u5728\u7ec8\u7aef\u8f93\u51fa\u3002<\/p>\n<p>\u7531\u4e8ecurl\u8bed\u53e5\u4e2d\u5305\u542b\u4e86\u548c\u767e\u5ea6\u4e91\u767b\u5f55\u72b6\u6001\u6709\u5173\u7684cookie\u5b57\u7b26\u4e32\uff0c\u8fd9\u91cc\u5c31\u4e0d\u8d34\u622a\u56fe\u4e86\u3002<\/p>\n<p>\u4e0b\u8f7d\u8fc7\u7a0b\u4e2d\u53ef\u4ee5\u770b\u5230\u4e0b\u8f7d\u7684\u8fdb\u5ea6\u548c\u901f\u5ea6\u7b49\u6570\u636e\u3002\u5b66\u6821\u7684\u7f51\u901f\u5f88\u5feb\uff0c\u4e0b\u8f7d\u5f88\u5feb\u5c31\u7ed3\u675f\u4e86\u3002<\/p>\n<p>\u6211\u4f7f\u7528unzip\u547d\u4ee4\u89e3\u538b\u8fd9\u4e2a\u6587\u4ef6\uff1aunzip file.zip -d .\/zipfiles \u5176\u4e2d-d\u53c2\u6570\u8868\u793a\u89e3\u538b\u5230\u7684\u76ee\u5f55\u3002<\/p>\n<p>\u4e4b\u540e\u6211\u9047\u5230\u4e86\u6587\u4ef6\u540d\u4e2d\u6587\u4e71\u7801\u7684\u95ee\u9898\uff0c\u89e3\u538b\u51fa\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u540d\u5168\u662f\u4e71\u7801\uff0c\u5728\u7f51\u4e0a\u641c\u7d22\u4e86\u5f88\u591a\u65b9\u6cd5\u4f46\u662f\u90fd\u6ca1\u6709\u89e3\u51b3\uff0c\u6211\u4fbf\u91c7\u7528\u4e86\u4e00\u79cd\u4e0d\u592a\u65b9\u4fbf\u4f46\u662f\u53ef\u4ee5\u4e34\u65f6\u907f\u5f00\u8fd9\u4e2a\u95ee\u9898\u7684\u65b9\u6cd5\uff1a<\/p>\n<p>\u628a\u89e3\u538b\u51fa\u6765\u7684\u6587\u4ef6\u4e34\u65f6\u8f6c\u79fb\u5230Apache\u670d\u52a1\u5668\u7684\u76ee\u5f55\u4e2d\uff0c\u5728\u81ea\u5df1\u7684\u7535\u8111\u4e0a\u8bbf\u95ee\u8fd9\u4e2a\u76ee\u5f55\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u628a\u7f16\u7801\u65b9\u5f0f\u6539\u4e3aGB2312\uff0c\u7136\u540e\u4e0b\u8f7d\u81ea\u5df1\u9700\u8981\u7684\u90a3\u51e0\u4e2a\u6587\u4ef6\uff0c\u6700\u540e\u628a\u8fd9\u4e2a\u76ee\u5f55\u5220\u9664\u3002<\/p>\n<p>\u6587\u4ef6\u88ab\u53d6\u56de\u5230\u4e86\u81ea\u5df1\u7684\u7535\u8111\u4e0a\uff0c\u7ecf\u68c0\u67e5\u6587\u4ef6\u5185\u5bb9\u662f\u5b8c\u6574\u7684\uff0c\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002\u4f46\u662f\u89e3\u538b\u51fa\u7684\u4e2d\u6587\u6587\u4ef6\u540d\u4e71\u7801\u7684\u95ee\u9898\u6211\u4e0d\u77e5\u9053\u600e\u4e48\u89e3\u51b3\uff0c\u5982\u679c\u4f60\u77e5\u9053\u89e3\u51b3\u529e\u6cd5\uff0c\u9ebb\u70e6\u5728\u4e0b\u9762\u56de\u590d\u544a\u8bc9\u6211\uff0c\u4e0d\u80dc\u611f\u6fc0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u628a\u4e00\u4e2a\u5f88\u5927\u7684\u538b\u7f29\u5305\u8f6c\u5b58\u5230\u4e86\u6211\u7684\u767e\u5ea6\u4e91\u7f51\u76d8\uff0c\u4f46\u662f\u538b\u7f29\u5305\u91cc\u53ea\u6709\u5c11\u6570\u51e0\u4e2a\u5c0f\u6587\u4ef6\u662f\u6211\u6240\u9700\u8981\u7684\u3002\u5728\u5bdd\u5ba4\u4e0b\u8f7d\u538b\u7f29\u5305\u4e0d\u4f46 &hellip; <a href=\"https:\/\/sqrt-1.me\/?p=182\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u7528freeshell\u63d0\u53d6\u81ea\u5df1\u767e\u5ea6\u4e91\u4e2d\u4e00\u4e2a\u538b\u7f29\u5305\u91cc\u7684\u6587\u4ef6\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/sqrt-1.me\/index.php?rest_route=\/wp\/v2\/posts\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqrt-1.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqrt-1.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqrt-1.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqrt-1.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182"}],"version-history":[{"count":4,"href":"https:\/\/sqrt-1.me\/index.php?rest_route=\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/sqrt-1.me\/index.php?rest_route=\/wp\/v2\/posts\/182\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/sqrt-1.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqrt-1.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqrt-1.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}