{"id":1576,"date":"2013-07-27T12:48:11","date_gmt":"2013-07-27T04:48:11","guid":{"rendered":"http:\/\/me.doucl.com\/?p=1576"},"modified":"2013-07-27T13:00:56","modified_gmt":"2013-07-27T05:00:56","slug":"github-gitcafe-pages-balance","status":"publish","type":"post","link":"https:\/\/blog.vimge.com\/archives\/other\/github-gitcafe-pages-balance.html","title":{"rendered":"DIY\u514d\u8d39\u9759\u6001\u8d44\u6e90\u6258\u7ba1\u670d\u52a1\uff0c\u652f\u6301\u8d1f\u8f7d\u5747\u8861\u5bb9\u707e"},"content":{"rendered":"
\u524d\u6bb5\u65f6\u95f4\u56fd\u5185Git\u6258\u7ba1\u670d\u52a1GitCafe<\/a>\u63a8\u51fa\u4e86\u5b9a\u5236\u57df\u540d\u7ed1\u5b9a\uff0c\u8bd5\u7528\u4e86\u4e00\u4e0b\u901f\u5ea6\u548c\u7a33\u5b9a\u6027\u786e\u5b9e\u4e0d\u9519\uff0cping\u54cd\u5e94\u901f\u5ea6\u7a33\u5b9a\u572830ms\u5de6\u53f3.\u800c\u4e0b\u8f7d\u901f\u5ea6\u4e5f\u76f8\u5f53\u7ed9\u529b\uff0c\u5728VPS\u4e0a\u5b9e\u9a8c\u7ed3\u679c\u80fd\u8fbe\u52301.19M\/s\uff01\u5728\u540c\u6837\u73af\u5883\u4e0bGitHub\u76f8\u5bf9\u6765\u8bb2\u8981\u900a\u8272\u4e00\u70b9\uff0c\u6bd5\u7adf\u4e2d\u95f4\u9694\u4e86\u9053\u201c\u5899\u201d\uff0c\u5728\u5929\u671d\u7684\u73af\u5883\u4e0b\u4f60\u61c2\u7684\u3002\u4e0d\u8fc7\u8868\u73b0\u4e5f\u8fd8\u53ef\u4ee5,ping \u56de\u590d\u5728\u4fdd\u6301\u5728200ms\u5de6\u53f3\uff0c\u4e0b\u8f7d\u901f\u5ea6\u5728\u4e5f\u80fd\u7a33\u5b9a\u5728100k\/s.<\/p>\n <\/a><\/p>\n <\/a><\/p>\n \u4e4b\u524d\u4e00\u76f4\u6709\u6253\u7b97\u5f04\u4e2a\u72ec\u7acb\u7684\u9759\u6001\u8d44\u6e90\u670d\u52a1\uff0c\u4e00\u76f4\u82e6\u4e8e\u6ca1\u6709\u8d44\u6e90\uff0c\u5355\u72ec\u7528GitHub\u62c5\u5fc3\u88ab\u5899\u98ce\u9669\u8f83\u9ad8\uff0c\u8fd9\u6b21\u521a\u597dGitCafe\u63a8\u51fa\u7c7b\u4f3c\u670d\u52a1\uff0c\u914d\u5408DNSPod\u8d1f\u8f7d\u5747\u8861\u65e2\u53ef\u65b9\u4fbf\u5b9e\u73b0\u6545\u969c\u5207\u6362\uff0c\u53c8\u53ef\u6ee1\u8db3\u5883\u5185\u5916\u8bbf\u95ee\u901f\u5ea6\u9700\u8981(\u6700\u540e\u4e00\u6761\u6709\u70b9\u88c5\u903c\uff0c\u5927\u5bb6\u53ef\u4ee5\u5ffd\u7565\uff0c\u54c8\u54c8)\uff0c\u4e00\u5177\u4e24\u5f97\uff0c\u6709\u5174\u8da3\u7684\u540c\u5b66\u53ef\u4ee5\u4e00\u8d77\u8bd5\u8bd5\uff0c\u5e0c\u671bGitHub\u4e0d\u8981\u518d\u88ab\u5899\u4e86\uff0cGitCafe\u633a\u4f4f\uff01<\/p>\n \u9996\u5148\u5927\u5bb6\u9700\u8981\u5206\u522b\u5728GitHub\u548cGitCafe\u4e0a\u9762\u521b\u5efaPages\uff0c\u8fd9\u4e24\u4e2a\u7ad9\u70b9\u7a0d\u6709\u4e0d\u540c\uff1a<\/p>\n GitHub\u5141\u8bb8\u4e3a\u4e0d\u540c\u7684Project\u521b\u5efa\u4e0d\u540c\u7684Pages\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3agh-pages<\/strong>\u7684\u5206\u652f\u5373\u5b8c\u6210\u521b\u5efaPages\u6b65\u9aa4\uff0c\u521b\u5efa\u5b8c\u5206\u652f\u4f60\u5373\u53ef\u8bbf\u95ee\u4f60\u7684\u9879\u76eePages\u4e86\uff0c\u5730\u5740\u4e3a\u201cusername.github.io\/projectname\u201d\uff0c\u521b\u5efa\u5b8c\u5206\u652f\u540e\uff0c\u4f60\u9700\u8981\u5728\u5206\u652f\u4e0b\u9762\u521b\u5efa\u4e00\u4e2aNASES\u6587\u4ef6\uff0c\u5185\u5bb9\u4e3a\u4f60\u9700\u8981\u7ed1\u5b9a\u7684\u57df\u540d\uff0c\u63d0\u4ea4\u6210\u529f\u540e\u5927\u6982\u8fc710\u5206\u949f\u540e\u5373\u53ef\u8bbf\u95ee\u3002\u5f53\u7136\uff0c\u524d\u63d0\u6761\u4ef6\u662f\u4f60\u5df2\u7ecf\u5c06\u57df\u540d\u89e3\u6790\u5230GitHub.<\/p>\n GitHub\u63d0\u4f9bA\u8bb0\u5f55\u548cCNAME\u4e24\u79cd\u57df\u540d\u89e3\u6790\u65b9\u6848\uff0c\u63a8\u8350CNAME\u8bb0\u5f55\uff0c\u4f46\u7531\u4e8eDNSPod\u514d\u8d39\u65b9\u6848\u4e0d\u652f\u6301CNAME\u8d1f\u8f7d\u5747\u8861\uff0c\u6240\u4ee5\u80fd\u7528A\u8bb0\u5f55\u65b9\u5f0f\u4e86.<\/p>\n A\u8bb0\u5f55\u65b9\u5f0f\uff0c\u5c06\u57df\u540d\u6307\u5411\u201c204.232.175.78\u201d \u4f60\u53ef\u4ee5\u5728\u4f60\u7684gh-pages\u5206\u652f\u4e0b\u9762\u521b\u5efa\u9759\u6001\u8d44\u6e90\u6587\u4ef6\u4e86\uff0c\u6211\u5728\u6839\u76ee\u5f55\u4e0b\u9762\u5efa\u4e86\u4e2aindex.html \u683c\u5f0f\u7684hello word\u6587\u4ef6 \ud83d\ude42<\/p>\n OK\uff0c\u5b8c\u6210\u4ee5\u4e0a\u6b65\u805a\uff0c\u7b4910\u5206\u949f\uff0c\u5373\u53ef\u7528\u4f60\u7ed1\u5b9a\u7684\u57df\u540d\u8bbf\u95ee\u4f60\u7684Hello\u6587\u4ef6\u4e86\u3002<\/p>\n \u63a5\u4e0b\u6765\u6211\u4eec\u8981\u5728GitCafe\u4e0a\u9762\u521b\u5efaPages\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662fGitCafe\u4e00\u4e2a\u8d26\u53f7\u53ea\u652f\u6301\u521b\u5efa\u4e00\u4e2aPages\uff0c\u4e0d\u652f\u6301Project\u7684Pages<\/p>\n \u9996\u9009\u4f60\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u8ddf\u4f60\u7684\u8d26\u53f7\u540c\u540d\u7684\u9879\u76ee\uff0c\u6bd4\u5982\u6211\u7684\u8d26\u53f7\u662faboutstudy,\u90a3\u4e48\u6211\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u540d\u4e3aaboutstudy\u7684\u9879\u76ee\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2agitcafe-pages\u5206\u652f\uff0c\u8fd9\u4e2a\u5206\u652f\u5c31\u662f\u4f60\u7684Pages\u5206\u652f\uff0c\u5c06\u4f60\u9700\u8981\u90e8\u7f72\u7684\u8d44\u6e90\u6587\u4ef6\u653e\u5728\u8fd9\u4e2a\u5206\u652f\u5373\u53ef.<\/p>\n GitCafe\u7ed1\u5b9a\u57df\u540d\u65b9\u5f0f\u4e0eGitHub\u4e0d\u540c\uff0c\u9700\u8981\u5728\u540e\u53f0\u201c\u9879\u76ee\u7ba1\u7406\u300b\u7b97\u5b9a\u4e49\u57df\u540d\u201d\u8fdb\u884c\u7ed1\u5b9a\uff0c\u7136\u540e\u5c06\u4f60\u7684\u57df\u540d\u89e3\u6790\u5230GitCafe\u5373\u53ef\uff0cGitCafe\u652f\u6301\u591a\u57df\u540d\u7ed1\u5b9a\uff0c\u8fd9\u4e2a\u6bd4GitHub\u8981\u65b9\u4fbf\uff0c\u8d5e\u4e00\u4e2a\uff01\u4e0d\u8db3\u7684\u662f\uff0c\u53ea\u652f\u6301A\u8bb0\u5f55\u65b9\u5f0f\u7ed1\u5b9a\uff0c\u6307\u5b9aIP\u4e3a117.79.146.98\uff0c\u5927\u5bb6\u73cd\u60dc\u8fd9\u4e2a\u8d44\u6e90\u5427\uff0c\u5e0c\u671b\u4e0d\u8981\u88ab\u5c4f\u853d\uff0c\u81f3\u5c11\u5c3d\u91cf\u4e0d\u8981\u90a3\u4e48\u5feb\u5427.<\/p>\n \u5b8c\u6210\u4ee5\u4e0a\u6b65\u805a\u8bd5\u8bd5\u4f60\u7684Pages\u662f\u5426\u53ef\u7528\u5427\uff1ausername.gitcafe.com<\/p>\n \u81f3\u4e8eDNS\u8bbe\u7f6e\u4e0a\u9762\uff0c\u771f\u7684\u65e0\u5fc3\u5410\u69fd\u4e86\uff0cDNSPod\u5546\u4e1a\u5316\u8d8a\u6765\u8d8a\u91cd\u4e86\uff0c\u514d\u8d39\u8d26\u53f7\u9650\u5236\u8d8a\u6765\u8d8a\u591a\uff0c\u627e\u8fc7\u5176\u4ed6DNS\u667a\u80fd\u89e3\u6790\u65b9\u6848\uff0c\u4f46\u662f\u4e60\u60ef\u4e86DNSPod\uff0c\u4e5f\u5c31\u65e0\u5fc3\u624e\u817e\u4e86\uff0c\u5c06\u5c31\u7528\u5427<\/p>\n \u597d\u4e86\uff0c\u5de5\u4f5c\u57fa\u672c\u5b8c\u6210\uff0c\u5177\u4f53\u600e\u4e48\u6d4b\u8bd5\u8d1f\u8f7d\u5747\u8861\u4ee5\u53ca\u600e\u6837\u914d\u7f6eGit\u5e93\u5b9e\u73b0GitHub\u548cGitCafe\u540c\u6b65\u66f4\u65b0\u8fd9\u4e2a\u5927\u5bb6\u53ef\u4ee5\u8bd5\u8bd5\uff0c\u6709\u7a7a\u6211\u518d\u6574\u7406\u4e00\u4e0b.<\/p>\n \u770b\u770b\u6211\u7684\u6548\u679c\uff0c\u57fa\u672c\u4e0a\u505a\u56fe\u7247\u670d\u52a1\u5668\u5e94\u8be5\u76f8\u5f53\u7ed9\u529b\u4e86\uff0c\u518d\u4e5f\u4e0d\u7528\u62c5\u5fc3\u53c8\u62cd\u6d41\u91cf\u4e0d\u591f\u4e86\u3002<\/p>\n <\/a> https:\/\/help.github.com\/articles\/user-organization-and-project-pages \u524d\u6bb5\u65f6\u95f4\u56fd\u5185Git\u6258\u7ba1\u670d\u52a1GitCafe\u63a8\u51fa\u4e86\u5b9a\u5236\u57df\u540d\u7ed1\u5b9a\uff0c\u8bd5\u7528\u4e86\u4e00\u4e0b\u901f\u5ea6\u548c\u7a33\u5b9a\u6027\u786e\u5b9e\u4e0d\u9519\uff0cping\u54cd\u5e94\u901f\u5ea6\u7a33 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,5],"tags":[101,95,102,103],"_links":{"self":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1576"}],"collection":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/comments?post=1576"}],"version-history":[{"count":5,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1576\/revisions"}],"predecessor-version":[{"id":1580,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/posts\/1576\/revisions\/1580"}],"wp:attachment":[{"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/media?parent=1576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/categories?post=1576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.vimge.com\/wp-json\/wp\/v2\/tags?post=1576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nCNAME\u65b9\u5f0f\uff0c\u5c06\u57df\u540dCNAME\u8bb0\u5f55\u6307\u5411\u201cusername.github.io\u201d<\/p>\n
\n\u5f15\u7528\u8d44\u6599\uff1a<\/p>\n
\n<\/a>https:\/\/help.github.com\/articles\/setting-up-a-custom-domain-with-pages<\/a>
\nhttp:\/\/blog.gitcafe.com\/142.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"