{"id":1048,"date":"2012-02-15T22:48:48","date_gmt":"2012-02-15T14:48:48","guid":{"rendered":"http:\/\/hanice.us\/blog\/?p=1048"},"modified":"2012-02-16T13:13:16","modified_gmt":"2012-02-16T05:13:16","slug":"goagent%e7%bd%91%e7%bb%9c%e6%97%a0%e5%a2%99%e5%8c%96%e5%85%a8%e9%9d%a2%e6%95%99%e7%a8%8b%ef%bc%8c%e9%80%81%e7%bb%99%e6%88%91%e4%ba%b2%e7%88%b1%e7%9a%84%e6%9c%8b%e5%8f%8b%e4%bb%ac","status":"publish","type":"post","link":"https:\/\/blog.hanice.us\/?p=1048","title":{"rendered":"GoAgent\u7f51\u7edc\u65e0\u5899\u5316\u5168\u9762\u89e3\u51b3\u65b9\u6848\uff0c\u9001\u7ed9\u6211\u4eb2\u7231\u7684\u670b\u53cb\u4eec"},"content":{"rendered":"<p>\u672c\u6587\u52063\u4e2a\u9636\u6bb5\uff0c\u5171\u6d89\u53ca\uff1a<\/p>\n<p>3\u6b3e\u7f51\u7edc\u5e94\u7528\u201cGoogle App Engine\u201d\u3001\u201cGoAgent\u201d\u548c\u201cAutoProxy2PAC\u201d\u3002<\/p>\n<p>Firefox\u3001Chrome\u548cInternet Explorer\u63d2\u4ef6\u53ca\u811a\u672c\u3002\uff08Chrome\u672a\u9a8c\u8bc1\uff0c\u81ea\u884c\u5b9e\u9a8c\uff09<\/p>\n<p>Android\u548ciPhone\u7684\u5e94\u7528\u3002(iPhone\u672a\u9a8c\u8bc1\uff0c\u81ea\u884c\u5b9e\u9a8c)<\/p>\n<p>\u5982\u5728\u524d\u671f\u914d\u7f6eWindows\u9636\u6bb5\u9047\u5230\u8fde\u63a5\u88ab\u91cd\u7f6e\u7684\u60c5\u51b5\u53ef\u4ee5\u7528\u8bb0\u4e8b\u672c\u6253\u5f00Hosts\u6587\u4ef6\uff0c\u6dfb\u52a0\u4e0b\u9762\u4e09\u6761\u4fe1\u606f\uff1a(Hosts\u6587\u4ef6\u4f4d\u7f6eC:\\WINDOWS\\system32\\drivers\\etc\\<span style=\"color: #ff0000;\">hosts<\/span>)<\/p>\n<p><code>203.208.46.172 google.com<br \/>\n203.208.46.172 google.com.hk<br \/>\n203.208.46.172 appspot.com<\/code><br \/>\n<!--more--><\/p>\n<hr \/>\n<p><span style=\"font-size: x-large;\">\u3010\u4e00\u3011\u3001<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"Google App Engine\" src=\"https:\/\/www.google.com\/images\/logos\/app_engine_logo_sm.gif\" alt=\"\" width=\"177\" height=\"30\" \/> \u9636\u6bb5<\/span><\/p>\n<p><strong>1\u3001<\/strong>\u8981\u6709\u4e00\u4e2a(\u6216\u591a\u4e2a)\u8c37\u6b4c\u8d26\u6237\u3002\u6ca1\u6709\u7684<a title=\"\u8c37\u6b4c\u8d26\u6237\" href=\"https:\/\/accounts.google.com\/NewAccount?service=mail&amp;continue=http:\/\/mail.google.com\/mail\/\" target=\"_blank\">\u70b9\u6b64\u6ce8\u518c<\/a>(\u600e\u4e48\u6ce8\u518c\u4e0d\u505a\u9610\u8ff0)<\/p>\n<p><strong>2\u3001<\/strong>\u8fdb\u5165<a title=\"Google App Engine\" href=\"https:\/\/appengine.google.com\/\" target=\"_blank\">Google App Engine<\/a>\uff0c\u70b9\u51fb\u5de6\u4fa7\u7684<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1050\" title=\"Create Application\" src=\"http:\/\/hanice.us\/blog\/wp-content\/uploads\/2012\/02\/Create-Application.jpg\" alt=\"\" width=\"134\" height=\"29\" \/>\u3002<\/p>\n<p><strong>3\u3001<\/strong>\u8fdb\u5165\u540e\uff0c\u5728\u201c<span style=\"color: #0000ff;\">Application Identifier:<\/span>\u201d\u5904\u586b\u5165\u4f60\u9700\u8981\u7684AppID(<span style=\"text-decoration: underline; color: #ff0000;\"><em><span style=\"font-family: arial black,avant garde;\"><strong>\u6b64\u5904\u586b\u5199\u7684ID\u975e\u5e38\u91cd\u8981<\/strong><\/span><\/em><\/span>)\u3002\u5728\u201c<span style=\"color: #0000ff;\">Application Title:<\/span>\u201d\u5904\u586b\u5165\u4efb\u610f\u540d\u5b57\uff0c\u70b9\u51fb\u4e0b\u9762\u7684<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1050\" title=\"Create Application\" src=\"http:\/\/hanice.us\/blog\/wp-content\/uploads\/2012\/02\/Create-Application.jpg\" alt=\"\" width=\"134\" height=\"29\" \/>\u786e\u8ba4\u3002\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><a href=\"http:\/\/hanice.us\/blog\/wp-content\/uploads\/2012\/02\/Create-an-Application.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1051\" title=\"Create an Application\" src=\"http:\/\/hanice.us\/blog\/wp-content\/uploads\/2012\/02\/Create-an-Application.jpg\" alt=\"\" width=\"570\" height=\"149\" srcset=\"https:\/\/blog.hanice.us\/wp-content\/uploads\/2012\/02\/Create-an-Application.jpg 570w, https:\/\/blog.hanice.us\/wp-content\/uploads\/2012\/02\/Create-an-Application-300x78.jpg 300w, https:\/\/blog.hanice.us\/wp-content\/uploads\/2012\/02\/Create-an-Application-500x131.jpg 500w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p><strong>4\u3001<\/strong>\u4fdd\u8bc1ID\u7684\u552f\u4e00\u6027\u4ee5\u540e\uff0c\u4f1a\u5927\u5b57\u63d0\u793a\u201c<span style=\"font-size: x-large;\"><strong>Application Registered Successfully<\/strong><\/span>\u201d\uff0c\u5373\u8868\u793a\u6210\u529f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: x-large;\">\u3010\u4e8c\u3011\u3001<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1055\" title=\"goagent_logo\" src=\"http:\/\/hanice.us\/blog\/wp-content\/uploads\/2012\/02\/goagent_logo.png\" alt=\"\" width=\"193\" height=\"38\" \/> \u9636\u6bb5<\/span><\/p>\n<p><strong>1\u3001<\/strong>\u8fdb\u5165<a title=\"GoAgent\" href=\"https:\/\/code.google.com\/p\/goagent\/\" target=\"_blank\">GoAgent\u9879\u76ee<\/a>\uff0c\u4e0b\u8f7d\u6700\u65b0\u7248\u7684\u5e94\u7528\u3002<\/p>\n<p><strong>2\u3001<\/strong>\u4e0b\u8f7d\u5b8c\u6210\u4ee5\u540e\uff0c\u91cc\u9762\u6709\u4e24\u4e2a\u6587\u4ef6\u5939\u201clocal\u201d\u548c\u201cserver\u201d\uff0c\u5bf9\u5e94\u7684\u662f\u201c\u5ba2\u6237\u7aef\u201d\u548c\u201c\u670d\u52a1\u7aef\u201d\u3002<\/p>\n<p><strong>3\u3001<\/strong>\u8fdb\u5165\u201cserver\u201d<\/p>\n<p>\u2460\u3001\u8fd0\u884c\u201cuploader.bat\u201d\u3002\u5f39\u51faDos\u7a97\u53e3\u540e\u5728\u201c<span style=\"color: #ff0000;\">AppID:<\/span>\u201d\u5904\u586b\u5165\u4e4b\u524d\u7533\u8bf7\u7684ID\u3002<\/p>\n<p>\u2461\u3001\u586b\u5199\u65e0\u8bef\u540e\u4f1a\u63d0\u793a\u7ee7\u7eed\u586b\u5199\u201c<span style=\"color: #ff0000;\">Email:<\/span>\u201d\u548c\u201c<span style=\"color: #ff0000;\">Password:<\/span>\u201d\uff0c\u5c06\u4f60\u7684\u8c37\u6b4c\u8d26\u53f7(\u5b8c\u6574\u7684Email\u5730\u5740)\u548c\u5bc6\u7801\u586b\u597d(<span style=\"color: #0000ff;\">\u6ce8\u610f\uff0c\u586b\u5199\u5bc6\u7801\u7684\u65f6\u5019\u4e0d\u4f1a\u663e\u793a\uff0c\u6b63\u786e\u8f93\u5165\u540eEnter\u5373\u53ef<\/span>)\u3002<\/p>\n<p>\u2462\u3001\u7a0d\u7b49\u7247\u523b\uff0c\u76f4\u5230Dos\u7a97\u53e3\u81ea\u52a8\u5173\u95ed\uff0c\u5373\u8868\u793a\u6210\u529f\u3002(\u5982\u679c\u7a97\u53e3\u672a\u81ea\u52a8\u5173\u95ed\uff0c\u8868\u793a\u672a\u6210\u529f\uff0c\u8bf7\u8fdb\u5165<a title=\"GoAgent\" href=\"https:\/\/code.google.com\/p\/goagent\/\" target=\"_blank\">GoAgent\u9879\u76ee<\/a>\u81ea\u884c\u5bfb\u627e\u89e3\u51b3\u529e\u6cd5)<\/p>\n<p><strong>4\u3001<\/strong>\u8fdb\u5165\u201clocal\u201d<\/p>\n<p>\u2460\u3001\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u201cproxy.ini\u201d\u6587\u4ef6\uff0c\u5728\u201c<span style=\"color: #ff0000;\">[gae]<\/span>\u201d\u9879\u4e2d\u7684\u201c<span style=\"color: #ff0000;\">appid =<\/span>\u201d\u5904\u586b\u5199\u4e4b\u524d\u7533\u8bf7\u7684ID\uff0c\u4fdd\u5b58\u5173\u95ed\u3002<span style=\"color: #0000ff;\">(\u6ce8\u610f\uff0c\u7b49\u53f7\u4e0eID\u4e4b\u95f4\u6709\u4e00\u4e2a\u7a7a\u683c<\/span>)<\/p>\n<p>\u2461\u3001\u8fd0\u884c\u201cCA.crt\u201d\u5c06\u8bc1\u4e66\u5bfc\u5165\u3002<\/p>\n<p>\u2462\u3001\u3010\u975e\u5fc5\u8981\u3011\u8fd0\u884c\u201caddto-startup.vbs\u201d\u53ef\u4ee5\u5c06\u9879\u76ee\u6dfb\u52a0\u5230\u5f00\u673a\u81ea\u52a8\u542f\u52a8\u3002(\u5982\u679c\u6dfb\u52a0\uff0c\u671f\u95f4\u4f1a\u6709\u9632\u62a4\u7c7b\u8f6f\u4ef6\u62e6\u622a\uff0c\u653e\u884c\u5373\u53ef)<\/p>\n<p>\u81f3\u6b64\uff0c\u73af\u5883\u642d\u5efa\u5de5\u4f5c\u5b8c\u6210\u3002<\/p>\n<p>\u8bf7\u7ee7\u7eed\u5173\u6ce8\u4e0b\u9762\u7684\u5e94\u7528\u73af\u8282\u3002<\/p>\n<hr \/>\n<p>\u672a\u5b8c\u5f85\u7eed<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u52063\u4e2a\u9636\u6bb5\uff0c\u5171\u6d89\u53ca\uff1a 3\u6b3e\u7f51\u7edc\u5e94\u7528\u201cGoogle App Engine\u201d\u3001\u201c &hellip; <a href=\"https:\/\/blog.hanice.us\/?p=1048\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[32,4],"tags":[41,42,67,31],"class_list":["post-1048","post","type-post","status-publish","format-standard","hentry","category-web","category-4","tag-android","tag-computer","tag-web","tag-31"],"_links":{"self":[{"href":"https:\/\/blog.hanice.us\/index.php?rest_route=\/wp\/v2\/posts\/1048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hanice.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hanice.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hanice.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hanice.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1048"}],"version-history":[{"count":0,"href":"https:\/\/blog.hanice.us\/index.php?rest_route=\/wp\/v2\/posts\/1048\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hanice.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hanice.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hanice.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}