  {"id":2810,"date":"2016-05-25T21:32:43","date_gmt":"2016-05-25T13:32:43","guid":{"rendered":"https:\/\/www.itkvm.com\/?p=2810"},"modified":"2016-05-25T21:32:43","modified_gmt":"2016-05-25T13:32:43","slug":"%e5%93%8d%e5%ba%94%e6%8a%80%e6%9c%af%e5%a0%86%e6%a0%88%e7%9a%84%e4%ba%94%e4%b8%aa%e9%83%a8%e7%bd%b2%e6%8a%80%e6%9c%af","status":"publish","type":"post","link":"https:\/\/www.itkvm.com\/?p=2810","title":{"rendered":"\u54cd\u5e94\u6280\u672f\u5806\u6808\u7684\u4e94\u4e2a\u90e8\u7f72\u6280\u672f"},"content":{"rendered":"<p style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:16px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\">\u5982\u4eca\uff0c\u53ea\u8981\u4f60\u5728\u672a\u6765\u7684\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u7684\u524d\u7aef\u7684\u7528\u6237\u754c\u9762\u7ec4\u4ef6\u5de5\u4f5c\uff0c\u8c08\u8bba\u5feb\u901f\u79fb\u52a8\u548c\u6280\u672f\u521b\u65b0\u662f\u4e00\u4ef6\u7f8e\u597d\u7684\u4e8b\u60c5\uff0c\u4e1a\u52a1\u6b63\u5728\u9ad8\u901f\u8fd0\u884c\uff0c\u4f46\u5982\u679c\u4f60\u7684\u540e\u7aef\u57fa\u7840\u8bbe\u65bd\u7531\u7528\u624b\u5de5\u7f16\u7801\u7684\u914d\u7f6e\u624b\u52a8\u90e8\u7f72\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e94\u5bf9\u4e0d\u65ad\u53d8\u5316\u7684\u9700\u6c42\u53ef\u80fd\u662f\u4e00\u4e2a\u5669\u68a6\u3002\u4ee5\u4e0b\u662f\u6b63\u5728\u521b\u9020\u5404\u79cd\u53ef\u80fd\u7684\u90e8\u7f72\u6d41\u7545\u7684\u54cd\u5e94\u6280\u672f\u5806\u6808\u76845\u4e2a\u90e8\u7f72\u6280\u672f\u3002<\/span>\n<\/p>\n<p>\n\t\n<\/p>\n<div style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;line-height:25px;color:#0080FF;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;background-color:#F3F3F3;\">(1)\u5bb9\u5668\u7ba1\u7406\u7cfb\u7edf<\/span><span style=\"color:#2A2A2A;font-family:Arial;font-size:14px;font-weight:inherit;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"><\/span>\n<\/div>\n<p><span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"> <\/p>\n<p style=\"text-align:justify;color:#202020;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;background-color:#FFFFFF;\">\n\t<span style=\"color:#2A2A2A;font-family:Arial;font-size:16px;line-height:25px;font-weight:inherit;text-decoration:inherit;\">Docker\u5bb9\u5668\u5728\u8fc7\u53bb\u7684\u4e24\u5e74\u7684\u65f6\u95f4\u91cc\u5df2\u7ecf\u5f81\u670dIT\u4e16\u754c\uff0c\u8fd9\u6709\u5f88\u597d\u7684\u7406\u7531\u3002Unix\u7684chroot\u547d\u4ee4\u7684\u6f14\u53d8\uff0c\u5c06\u6838\u5fc3\u547d\u540d\u7a7a\u95f4\u548c\u5206\u5c42\u6587\u4ef6\u7cfb\u7edf\u8fdb\u884c\u7ed3\u5408\u5bb9\u5668\u5305\u4f9d\u8d56\u4e8e\u5b8c\u6574\u7684\u5e94\u7528\u7a0b\u5e8f\u5173\u7cfb\uff0c\u8ba9\u4f60\u7684\u4ee3\u7801\u53ef\u4ee5\u5feb\u901f\u90e8\u7f72\u5230\u8fd0\u884c\u517c\u5bb9\u5185\u6838\u7684\u4efb\u4f55\u670d\u52a1\u5668\u4e2d\u3002\u4e0e\u786c\u4ef6\u865a\u62df\u5316\u4e0d\u540c\u7684\u662f\uff0c\u5bb9\u5668\u53ea\u6dfb\u52a0\u5f88\u5c11\u7684\u8fd0\u884c\u65f6\u5f00\u9500\uff0c\u5e76\u4e14\u5176\u8fc7\u7a0b\u51e0\u4e4e\u4e0e\u786c\u4ef6\u865a\u62df\u5316\u4e00\u6837\u5feb\u3002<\/span>\n<\/p>\n<p style=\"text-align:justify;font-size:14px;font-family:Arial;color:#2A2A2A;background-color:#FFFFFF;\">\n\t<span style=\"font-size:16px;\">\u6210\u5343\u4e0a\u4e07\u7684\u4eba\u53ef\u4ee5\u8fd0\u884c\u5728\u4e00\u4e2a\u865a\u62df\u673a\u5b9e\u4f8b\u4e2d\u3002\u4ed6\u4eec\u901a\u8fc7\u5728\u4e00\u4e2a\u58f0\u660e\u7684\u5f62\u5f0f\u4e2d\u6355\u6349\u5b89\u88c5\u548c\u914d\u7f6e\u72b6\u6001\uff0c\u4f7f\u4e0d\u53ef\u6539\u53d8\u7684\u57fa\u7840\u8bbe\u65bd\u7684\u6982\u5ff5\u80fd\u591f\u53ef\u9760\u5730\u518d\u73b0\u3002<\/span>\n<\/p>\n<p style=\"text-align:justify;font-size:14px;font-family:Arial;color:#2A2A2A;background-color:#FFFFFF;\">\n\t<span style=\"font-size:16px;\">Canonical\u516c\u53f8\u7684Ubuntu16.04LTS\u5148\u540e\u5f15\u8fdbLXD\uff0c\u8fd9\u6709\u671b\u7ed9Docker\u548c\u786c\u4ef6\u865a\u62df\u5316\u5e26\u6765\u5f88\u591a\u7684\u597d\u5904\uff0c\u5176\u5355\u4e00\u7684\u5e73\u53f0\u53ef\u4ee5\u63d0\u9ad8\u5bb9\u5668\u7ba1\u7406\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0c\u5e76\u8ba9\u6027\u80fd\u66f4\u52a0\u7efc\u5408\u3002\u5728\u8fd9\u4e00\u70b9\u4e0a\u662f\u6bd4\u8f83\u516c\u5e73\u7684\uff0c\u5bb9\u5668\u5728\u8fd9\u91cc\u505c\u7559\uff0c\uff0c\u6807\u5fd7\u7740\u90e8\u7f72\u548c\u7ba1\u7406\u4e91\u8f6f\u4ef6\u7684\u65b9\u5f0f\u53d1\u751f\u6c38\u4e45\u6027\u6539\u53d8\u3002<\/span><strong> <\/strong>\n<\/p>\n<div style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;text-decoration:inherit;\"><\/span><span style=\"font-weight:inherit;color:#0080FF;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;background-color:#F3F3F3;\">(2)\u670d\u52a1\u53d1\u73b0\u6846\u67b6<\/span><span style=\"font-weight:inherit;text-decoration:inherit;\"><\/span>\n<\/div>\n<p><\/span> <\/p>\n<p>\n\t\n<\/p>\n<p>\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"> <\/span>\n<\/p>\n<p style=\"text-align:justify;color:#202020;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;background-color:#FFFFFF;\">\n\t<span style=\"color:#2A2A2A;font-family:Arial;font-size:16px;line-height:25px;font-weight:inherit;text-decoration:inherit;\">\u5bb9\u5668\u5c06\u4e3a\u4f60\u63d0\u4f9b\u51e0\u4e4e\u5728\u4efb\u4f55\u5730\u65b9\u8fd0\u884c\u670d\u52a1\u7684\u7075\u6d3b\u6027\uff0c\u4f46\u4f60\u4ecd\u7136\u9700\u8981\u5bf9\u5b83\u4eec\u8fdb\u884c\u8bf7\u6c42\u3002\u8fd9\u610f\u5473\u7740\u5728\u7cfb\u7edf\u4e2d\u7684\u4e00\u4e9b\u4e8b\u60c5\u5fc5\u987b\u77e5\u9053\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5bb9\u5668\u5728\u54ea\u91cc\u6b63\u5728\u8fd0\u884c\uff0c\u4ee5\u53ca\u5982\u4f55\u8def\u7531\u5230\u6b63\u786e\u7684\u5730\u5740\u548c\u7aef\u53e3\u3002\u5728RESTful\u8bbe\u8ba1\u4e2d\uff0c\u8fd9\u79cd\u8981\u6c42\u5305\u62ec\u57fa\u4e8e7\u5c42\u5185\u5bb9\u8def\u7531\u8bf7\u6c42\u3002\u529f\u80fd\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\uff0c\u5982NGINX\u548cHAProxy\u4f1a\u8ba9\u4f60\u5f88\u5feb\u63a8\u51fa\u81ea\u5df1\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f46\u7ba1\u7406\u4ee3\u7406\u914d\u7f6e\u662f\u624b\u52a8\u5bb9\u6613\u51fa\u9519\uff0c\u59a8\u788d\u7075\u6d3b\u6027\u3002\u50cf\u670d\u52a1\u53d1\u73b0\u6846\u67b6\uff0cApache\u7ba1\u7406\u5458\u548c\u4e2d\u95f4\u5c42\u901a\u8fc7\u63d0\u4f9b\u914d\u7f6e\u7684\u4e2d\u592e\u5b58\u50a8\u81ea\u52a8\u5316\u9762\u5411\u670d\u52a1\u7684\u4f53\u7cfb\u7ed3\u6784\u7684\u53d1\u73b0\u548c\u8def\u7531\u8bbe\u7f6e\u3001\u63a5\u53e3\u3001\u670d\u52a1\u5ba3\u5e03\u4ed6\u4eec\u7684\u751f\u547d\u5468\u671f\u4e8b\u4ef6\uff0c\u901a\u5e38\u4e00\u4e2apub\u6216\u5176\u5b83\u7ec4\u4ef6\u7684\u5b50\u6a21\u578b\u88ab\u901a\u77e5\u8fd9\u4e9b\u4e8b\u4ef6\u3002<\/span>\n<\/p>\n<p style=\"text-align:justify;font-size:14px;font-family:Arial;color:#2A2A2A;background-color:#FFFFFF;\">\n\t<span style=\"font-size:16px;\">\u54ea\u79cd\u65b9\u6cd5\u9002\u5408\u4f60\u5c06\u53d6\u51b3\u4e8e\u4f60\u5f53\u524d\u7684\u4ee3\u7801\u57fa\u7840\u548c\u53d1\u5c55\u9636\u6bb5\u3002\u4e0e\u7b80\u5355\u7684\u4ee3\u7406\u4e0d\u540c\uff0c\u53d1\u73b0\u5c42\u6d89\u53ca\u66f4\u591a\u7684\u670d\u52a1\u548c\u57fa\u7840\u8bbe\u65bd\u4e4b\u95f4\u7684\u5408\u4f5c\uff0c\u6240\u4ee5\u5bf9\u4e8e\u6bcf\u4e00\u4e2a\u63d0\u4f9b\u652f\u6301\u7684\u8bed\u8a00\u548c\u5de5\u5177\uff0c\u4f60\u5df2\u7ecf\u4f7f\u7528\u5c06\u662f\u4f60\u51b3\u5b9a\u7684\u4e00\u4e2a\u5f88\u5927\u7684\u56e0\u7d20\u3002<\/span><strong> <\/strong>\n<\/p>\n<div style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;text-decoration:inherit;\"><\/span><span style=\"font-weight:inherit;color:#0080FF;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;background-color:#F3F3F3;\">(3)\u5bb9\u5668\u96c6\u7fa4<\/span><span style=\"font-weight:inherit;text-decoration:inherit;\"><\/span>\n<\/div>\n<p>\n\t\n<\/p>\n<p style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"><span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:16px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\">\u4ee5\u96c6\u88c5\u7bb1\u5316\u7684\u6982\u5ff5\u548c\u81ea\u52a8\u670d\u52a1\u53d1\u73b0\u7684\u903b\u8f91\u7ed3\u8bba\uff0c\u6700\u540e\u7ed3\u675f\u4f7f\u7528\u96c6\u7fa4\u3002\u5bb9\u5668\u96c6\u7fa4\u5e73\u53f0\u7684\u76ee\u7684\u662f\u6784\u5efa\u6574\u4e2a\u7cfb\u7edf\u53ef\u9760\u7684\u53ef\u91cd\u590d\u7684\u5efa\u7b51\u5bb9\u5668\u3002\u4ed6\u4eec\u4e4b\u95f4\u6709\u6240\u5dee\u5f02\uff0c\u5728\u4e00\u4e2a\u5355\u4e00\u7684\u5bb9\u5668\u4e0a\u8fd0\u884c\uff0c\u5fc5\u987b\u505a\u5f97\u5230\u4e00\u4e9b\u4e0d\u540c\u7684\u4e3b\u673a\u4e0a\u8fd0\u884c\uff0c\u5e76\u5de5\u4f5c\u5728\u7279\u5b9a\u6570\u91cf\u7684\u4e3b\u673a\u4e0a\uff0c\u901a\u8fc7\u7279\u5b9a\u7684\u7f51\u7edc\u89c4\u5219\uff0c\u81ea\u52a8\u7f29\u653e\u53c2\u6570\uff0c\u8bbf\u95ee\u5b58\u50a8\u7b49\u3002\u9886\u5148\u5e73\u53f0\uff0c\u5982\u8c37\u6b4cKubernetes\uff0c\u4e9a\u9a6c\u900a\u5f39\u6027\u5bb9\u5668\u670d\u52a1\u548cDockerCompose\u7684\u65b9\u6cd5\u7565\u6709\u4e0d\u540c\uff0c\u6709\u8bb8\u591a\u5171\u540c\u7684\u76ee\u6807\u548c\u60f3\u6cd5\u3002\u6bcf\u4e2a\u5e73\u53f0\u90fd\u6709\u4f18\u52bf\u548c\u52a3\u52bf\uff0c\u4f46\u6240\u6709\u4e09\u4e2a\u90fd\u662f\u751f\u4ea7\u51c6\u5907\u5de5\u5177\u90fd\u6709\u76f8\u540c\u7684\u76ee\u6807\uff1a\u81ea\u52a8\u5316\u90e8\u7f72\u6280\u672f\u548c\u914d\u7f6e\u7684\u6574\u4e2a\u5806\u6808\u5c42\u3002\u5f53\u5728\u5b83\u4eec\u4e4b\u95f4\u8fdb\u884c\u9009\u62e9\u65f6\uff0c\u4f9b\u5e94\u5546\u9501\u5b9a\u548c\u8de8\u5e73\u53f0\u7684\u670d\u52a1\u4ee3\u7801\u7684\u53ef\u79fb\u690d\u6027\u662f\u91cd\u8981\u7684\u8003\u8651\u56e0\u7d20\u3002\u65e0\u8bba\u4f60\u91c7\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u4f60\u4e5f\u4f1a\u60f3\u770b\u770b\u81ea\u52a8\u5316\u5de5\u5177\u5982Ansible\uff0cChef\uff0c\u4ee5\u53ca\u53e4\u8001\u800c\u987d\u5f3a\u7684GNUmake\uff0c\u4f46\u5728\u8010\u4e45\u6027\u548c\u53ef\u6269\u5c55\u6027\u65b9\u9762\u7684\u52aa\u529b\uff0c\u5176\u6700\u540e\u7684\u7ed3\u679c\u662f\u975e\u5e38\u503c\u5f97\u7684\u3002<\/span><strong><span style=\"font-size:16px;\">&nbsp;<\/span><\/strong><\/span>\n<\/p>\n<p style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"><span style=\"color:#0080FF;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;line-height:25px;background-color:#F3F3F3;\">(4)\u5373\u65f6\u7684API<\/span><br \/>\n<\/span>\n<\/p>\n<p>\n\t\n<\/p>\n<div style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"><\/span><span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:16px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\">\u5982\u679c\u4f60\u5728\u4e00\u4e2a\u96c6\u7fa4\u4e0a\u8fd0\u884c\uff0c\u4f60\u7684\u96c6\u7fa4\u5df2\u7ecf\u53d1\u73b0\u670d\u52a1\u3002\u6240\u4ee5\u5f53\u4e00\u4e2aHTTP\u8bf7\u6c42\u5230\u96c6\u7fa4\u5230\u8fbe\u6b63\u786e\u7684\u4f4d\u7f6e\u548c\u54cd\u5e94\u56de\u6765\u90a3\u771f\u662f\u592a\u597d\u4e86\u3002\u4f60\u5982\u4f55\u7ec8\u6b62SSL\u8fde\u63a5\u548c\u4e0d\u540c\u7248\u672c\u7684\u8def\u7531\uff0c\u6216\u662f\u4e0d\u540c\u73af\u5883\u95f4\u7684\u8def\u7531?\u4f60\u9700\u8981\u8fdb\u5165\u516c\u5171\u70b9\u5904\u7406\u5e76\u4f5c\u4e3a\u7f51\u5173\uff0c\u4f60\u4f1a\u90e8\u7f72\u4e0d\u540c\u7684\u670d\u52a1\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4f7f\u7528SSL\u8d1f\u8f7d\u5e73\u8861\u5668\uff0c\u4f46\u4ed6\u4eec\u4e00\u822c\u4e0d\u5904\u7406\u7b2c7\u5c42\u7684\u8def\u7531\u3002\u60a8\u53ef\u4ee5\u8bbe\u7f6e\u4ee3\u7406\u7684LB\u540e\u9762\u505a\u7684\u5de5\u4f5c\uff0c\u4f46\u73b0\u5728\u4f60\u4e0d\u5fc5\u62c5\u5fc3\u8be5\u7ec4\u4ef6\u7684\u914d\u7f6e\uff0c\u53ef\u6269\u5c55\u6027\u548c\u6545\u969c\u8f6c\u79fb\u3002\u5982\u679c\u4f60\u53ef\u4ee5\u53ea\u914d\u7f6e\u4f60\u7684\u6574\u4e2aAPI\u4f5c\u4e3a\u4e00\u4e2a\u4e91\u670d\u52a1\uff0c\u7136\u540e\u7528\u4e00\u4e2a\u547d\u4ee4\u90e8\u7f72\u5462?\u4e9a\u9a6c\u900a\u7684API\u7f51\u5173\u4e0d\u53ea\u662f\u8fd9\u4e00\u70b9\uff0c\u8fd9\u662f\u975e\u5e38\u5149\u6ed1\u3002\u4f60\u751a\u81f3\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3cSwagger\u7684\u8bed\u8a00\uff0c\u7136\u540e\u53ea\u9700\u4e0a\u4f20\u5b83\uff0c\u5e76\u628a\u5b83\u6240\u6709\u7684\u5de5\u4f5c\u63cf\u8ff0\u4f60\u7684API\u3002\u8c37\u6b4c\u6ca1\u6709\u76f4\u63a5\u7684\u7ade\u4e89\u5bf9\u624b\uff0c\u800c\u5176\u5bf9\u624b\u5382\u5546\u4e5f\u4e0d\u7518\u843d\u540e\uff0c\u5728\u5e02\u573a\u4e2d\u8fd8\u6709\u50cfStrongloop\u72ec\u7acb\u7684\u4ea7\u54c1\u63a8\u51fa\u3002<\/span>\n<\/div>\n<p><span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"> <\/p>\n<p style=\"text-align:justify;font-size:14px;font-family:Arial;color:#2A2A2A;background-color:#FFFFFF;\">\n\t<span style=\"font-size:16px;\">shake-n-bake\u7f51\u5173\u9002\u7528\u4e8e\u4f60\u7684\u9879\u76ee\u5417?\u5728\u65e9\u671f\u9636\u6bb5\uff0c\u4f01\u4e1a\u5728\u901f\u5ea6\u548c\u51cf\u5c11\u7ba1\u7406\u5f00\u9500\u7684\u589e\u52a0\u5e94\u8be5\u662f\u503c\u5f97\u7684\u3002\u540e\u6765\uff0c\u5982\u4f55\u5b9a\u4ef7\u5f88\u5927\u7a0b\u5ea6\u4e0a\u53d6\u51b3\u4e8e\u4f60\u7684\u5b9e\u9645\u4f7f\u7528\u6c34\u5e73\u3002<\/span><strong> <\/strong>\n<\/p>\n<p style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"><span style=\"color:#0080FF;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;line-height:25px;background-color:#F3F3F3;\">(5)\u65e0\u670d\u52a1\u5668\u670d\u52a1<\/span><br \/>\n<\/span>\n<\/p>\n<p>\n\t<span style=\"font-weight:inherit;color:#2A2A2A;font-family:Arial;font-size:14px;line-height:25px;text-decoration:inherit;background-color:#FFFFFF;\"> <\/span>\n<\/p>\n<p style=\"text-align:justify;color:#202020;font-family:'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;font-size:16px;background-color:#FFFFFF;\">\n\t<span style=\"color:#2A2A2A;font-family:Arial;font-size:16px;line-height:25px;font-weight:inherit;text-decoration:inherit;\">\u4e0a\u9762\u63d0\u5230\u7684\u6280\u672f\uff0c\u53ef\u4ee5\u8ba9\u4f60\u5b9e\u73b0\u5b8c\u5168\u81ea\u52a8\u5316\u7684\u590d\u6742\u7cfb\u7edf\u7684\u90e8\u7f72\u6280\u672f\uff0c\u4f46\u5b83\u662f\u6ca1\u6709\u7528\uff0c\u5047\u88c5\u6ca1\u6709\u4ecd\u6709\u5f88\u591a\u540e\u7aef\u5de5\u7a0b\u8981\u505a\uff0c\u4ee5\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002\u5982\u679c\u4f60\u662f\u4e00\u4e2a\u521d\u521b\u4f01\u4e1a\uff0c\u4f60\u53ea\u662f\u60f3\u5c3d\u53ef\u80fd\u5feb\u5730\u90e8\u7f72API\u548c\u670d\u52a1\u8fd8\u662f\u4e24\u4e2a?\u6216\u8005\u4f60\u53ef\u80fd\u662f\u4e00\u4e2a\u6210\u7acb\u591a\u5e74\u7684\u516c\u53f8\uff0c\u60f3\u8981\u7684\u662f\u96f6\u57fa\u7840\u8bbe\u65bd\u7684\u7075\u6d3b\u6027\u548c\u4ed8\u8d39\u8bf7\u6c42\u6210\u672c\u3002\u5728\u8fc7\u53bb\u7684\u4e00\u5e74\u4e2d\uff0c\u4eba\u4eec\u5df2\u7ecf\u770b\u5230\u4e86\u65e0\u670d\u52a1\u5668\u8ba1\u7b97\u5e73\u53f0\u7684\u51fa\u73b0\uff0c\u5728\u73b0\u5b9e\u4e16\u754c\u7684\u5e94\u7528\u8db3\u591f\u5f3a\uff0c\u3002\u8fd9\u4e2a\u9886\u57df\u7684\u884c\u4e1a\u9886\u8896\u662f\u4e9a\u9a6c\u900a\u516c\u53f8\u4e0b\u5c5e\u7684lambda\u516c\u53f8\uff0c\u5b83\u5141\u8bb8\u7528Python\u7f16\u5199\u7684JavaScript\u548cJava\u4ee3\u7801\u8fdb\u884c\u5feb\u901f\u90e8\u7f72\u3002lambda\u51fd\u6570\u53ef\u4ee5\u662f\u5355\u4e2a\u811a\u672c\u6216\u4f9d\u8d56\u590d\u6742\u7684\u5e94\u7528\u7a0b\u5e8f\u548cI\/O\u7b49\u670d\u52a1\u3002\u4ed6\u4eec\u53ef\u4ee5\u88ab\u79f0\u4e3a(\u8c03\u7528)\u624b\u52a8\u6216\u7531\u91c7\u7528\u5176\u4ed6\u4e9a\u9a6c\u900a\u7684\u670d\u52a1\uff0c\u5982S3\u751f\u6210\u7684\u4e8b\u4ef6\u89e6\u53d1\u3002\u5f53\u4e0eAPI\u7f51\u5173\u914d\u5bf9\u65f6\uff0c\u5b83\u4eec\u53ef\u4ee5\u88ab\u7528\u4e8e\u90e8\u7f72\u5728\u96f6\u57fa\u7840\u8bbe\u65bd\u73af\u5883\u6574\u4e2a\u5fae\u670d\u52a1\u7684\u5b9e\u73b0\u3002\u5176\u4ed6\u4e3b\u8981\u7684\u4e91\u5e73\u53f0\u4e5f\u8fdb\u5165\u4e86\u8fd9\u4e00\u7a7a\u95f4\uff0c\u5982\u5fae\u8f6fAzure\u7684\u529f\u80fd\u548c\u8c37\u6b4c\u7684\u4e91\u529f\u80fd\u3002<\/span>\n<\/p>\n<p style=\"text-align:justify;font-size:14px;font-family:Arial;color:#2A2A2A;background-color:#FFFFFF;\">\n\t<span style=\"font-size:16px;\">\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff0c\u8fd9\u4e9b\u90e8\u7f72\u6280\u672f\u4ee3\u8868\u4e86\u6700\u57fa\u672c\u7684\u4e91\u8ba1\u7b97\u7684\u627f\u8bfa\uff1a\u5728\u5f15\u64ce\u8fd8\u6709\u5f88\u591a\u590d\u6742\u7684\u590d\u6742\u6027\uff0c\u4ee5\u4f7f\u4ed6\u4eec\u65e0\u7f1d\u5730\u5de5\u4f5c\uff0c\u800c\u4f60\u4e0d\u5fc5\u518d\u8003\u8651\u5b83\u3002<\/span>\n<\/p>\n<p style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;text-decoration:inherit;\"><span style=\"font-size:12px;\">\u6765\u6e90\uff1a\u673a\u623f360<\/span><\/span>\n<\/p>\n<p style=\"text-align:justify;\">\n\t<span style=\"font-weight:inherit;text-decoration:inherit;\"><span style=\"font-size:12px;\">\u514d\u8d23\u58f0\u660e\uff1a\u672c\u65b0\u95fb\u8d44\u8baf\u4ec5\u4ee3\u8868\u539f\u4f5c\u8005\u4e2a\u4eba\u89c2\u70b9\uff0c\u4e0e\u672c\u7ad9\u65e0\u5173\u3002\u5176\u539f\u521b\u6027\u4ee5\u53ca\u6587\u4e2d\u9648\u8ff0\u6587\u5b57\u548c\u5185\u5bb9\u672a\u7ecf\u672c\u7ad9\u8bc1\u5b9e\uff0c\u5bf9\u672c\u6587\u4ee5\u53ca\u5176\u4e2d\u5168\u90e8\u6216\u8005\u90e8\u5206\u5185\u5bb9\u3001\u6587\u5b57\u7684\u771f\u5b9e\u6027\u3001\u5b8c\u6574\u6027\u3001\u53ca\u65f6\u6027\u672c\u7ad9\u4e0d\u4f5c\u4efb\u4f55\u4fdd\u8bc1\u6216\u627f\u8bfa\uff0c\u8bf7\u8bfb\u8005\u4ec5\u4f5c\u53c2\u8003\uff0c\u5e76\u8bf7\u81ea\u884c\u6838\u5b9e\u76f8\u5173\u5185\u5bb9\u3002<\/span><span style=\"font-size:12px;\"><\/span><\/span><span style=\"font-weight:inherit;text-decoration:inherit;\"><\/span>\n<\/p>\n<p><\/span> <\/p>\n<p>\n\t\n<\/p>\n<p>\n\t\n<\/p>\n<div class=\"bdsharebuttonbox\"><a href=\"#\" class=\"bds_more\" data-cmd=\"more\"><\/a><a href=\"#\" class=\"bds_qzone\" data-cmd=\"qzone\" title=\"\u5206\u4eab\u5230QQ\u7a7a\u95f4\"><\/a><a href=\"#\" class=\"bds_tsina\" data-cmd=\"tsina\" title=\"\u5206\u4eab\u5230\u65b0\u6d6a\u5fae\u535a\"><\/a><a href=\"#\" class=\"bds_tqq\" data-cmd=\"tqq\" title=\"\u5206\u4eab\u5230\u817e\u8baf\u5fae\u535a\"><\/a><a href=\"#\" class=\"bds_renren\" data-cmd=\"renren\" title=\"\u5206\u4eab\u5230\u4eba\u4eba\u7f51\"><\/a><a href=\"#\" class=\"bds_weixin\" data-cmd=\"weixin\" title=\"\u5206\u4eab\u5230\u5fae\u4fe1\"><\/a><\/div>\n<p><script>window._bd_share_config={\"common\":{\"bdSnsKey\":{},\"bdText\":\"\",\"bdMini\":\"2\",\"bdMiniList\":false,\"bdPic\":\"\",\"bdStyle\":\"0\",\"bdSize\":\"24\"},\"share\":{},\"selectShare\":{\"bdContainerClass\":null,\"bdSelectMiniList\":[\"qzone\",\"tsina\",\"tqq\",\"renren\",\"weixin\"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http:\/\/bdimg.share.baidu.com\/static\/api\/js\/share.js?v=89860593.js?cdnversion='+~(-new Date()\/36e5)];<\/script><\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u5982\u4eca\uff0c\u53ea\u8981\u4f60\u5728\u672a\u6765\u7684\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u7684\u524d\u7aef\u7684\u7528\u6237\u754c\u9762\u7ec4\u4ef6\u5de5\u4f5c\uff0c\u8c08\u8bba\u5feb\u901f\u79fb\u52a8\u548c\u6280\u672f\u521b\u65b0\u662f\u4e00\u4ef6\u7f8e\u597d\u7684\u4e8b\u60c5\uff0c\u4e1a\u52a1\u6b63\u5728\u9ad8\u901f\u8fd0\u884c\uff0c\u4f46\u5982\u679c\u4f60\u7684\u540e\u7aef\u57fa\u7840\u8bbe\u65bd\u7531\u7528\u624b\u5de5\u7f16\u7801\u7684\u914d\u7f6e\u624b\u52a8\u90e8\u7f72\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e94\u5bf9\u4e0d\u65ad\u53d8\u5316\u7684\u9700\u6c42\u53ef\u80fd\u662f\u4e00\u4e2a\u5669\u68a6\u3002\u4ee5\u4e0b\u662f\u6b63\u5728\u521b\u9020\u5404\u79cd\u53ef\u80fd\u7684\u90e8\u7f72\u6d41\u7545\u7684\u54cd\u5e94\u6280\u672f\u5806\u6808\u76845\u4e2a\u90e8\u7f72\u6280\u672f\u3002 (1)\u5bb9\u5668\u7ba1\u7406\u7cfb\u7edf Docker\u5bb9\u5668\u5728\u8fc7\u53bb\u7684\u4e24\u5e74\u7684\u65f6\u95f4\u91cc\u5df2\u7ecf\u5f81\u670dIT\u4e16\u754c\uff0c\u8fd9\u6709\u5f88\u597d\u7684\u7406\u7531\u3002Unix\u7684chroot\u547d\u4ee4\u7684\u6f14\u53d8\uff0c\u5c06 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-2810","post","type-post","status-publish","format-standard","hentry","category-news"],"metadata":{"_edit_last":["1"],"_edit_lock":["1464183225:1"],"_web589_singular_meta":["a:4:{s:5:\"title\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"code\";s:0:\"\";}"],"views":["2334"],"wl_pageviews":["9"]},"post_thumbnail_image":"","content_first_image":"","post_medium_image_300":"","post_thumbnail_image_624":"","post_frist_image":"","post_medium_image":"","post_large_image":"","post_full_image":"","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u884c\u4e1a\u65b0\u95fb","post_date":"2016-05-25","like_count":"0","praiseWord":"\u9f13\u52b1","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":false,"avatarurls":[],"related_posts":null,"pageviews":10,"next_post_id":2813,"next_post_title":"IDC\u6570\u636e\u4e2d\u5fc3UPS\u7535\u6e90\u9009\u7528\u653b\u7565","previous_post_id":2803,"previous_post_title":"\u5173\u4e8e\u670d\u52a1\u5668\u90e8\u7f72\u7684\u5341\u5927\u6ce8\u610f\u4e8b\u9879","_links":{"self":[{"href":"https:\/\/www.itkvm.com\/index.php?rest_route=\/wp\/v2\/posts\/2810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itkvm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itkvm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itkvm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itkvm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2810"}],"version-history":[{"count":0,"href":"https:\/\/www.itkvm.com\/index.php?rest_route=\/wp\/v2\/posts\/2810\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itkvm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itkvm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itkvm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}