{"id":824,"date":"2021-12-16T00:14:00","date_gmt":"2021-12-16T00:14:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=824"},"modified":"2021-12-16T00:14:00","modified_gmt":"2021-12-16T00:14:00","slug":"824","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/12\/16\/824\/","title":{"rendered":"Peer2Profit \u6d41\u91cf\u5206\u4eab\u6302\u673a\u8d5a\u7f8e\u5143\u4f53\u9a8c\u6d4b\u8bd5\u548cDocker\u5bb9\u5668\u4e00\u952e\u591a\u5f00\u5ba2\u6237\u7aef\u90e8\u7f72"},"content":{"rendered":"<h1>Peer2Profit<\/h1>\n<p>\u5bf9,\u6ca1\u9519,\u5c31\u662f\u4ed6,\u6765\u81ea\u4fc4\u7f57\u65af\u7684\u6d41\u91cf\u6302\u673a\u5e73\u53f0,\u5206\u4eab\u60a8\u7684\u6d41\u91cf\u83b7\u53d6\u5229\u6da6,\u4e0d\u600e\u4e48\u5360\u7528CPU\u548c\u5185\u5b58\u4ee5\u53ca\u6d41\u91cf\uff08\u95f2\u7f6e\u7684\u65f6\u5019\u5360\u7528\u4f4e\uff0c\u5b9e\u9645\u4e0a\u5f53\u8dd1\u8d77\u6765\u7684\u65f6\u5019\u5360\u7528\u5e76\u4e0d\u4f4e\uff09,\u5e76\u4e14\u53ef\u4ee5\u914d\u5408\u5176\u4ed6\u6302\u673a\u9879\u76ee\u4e00\u8d77\u4f7f\u7528<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/12\/2334528444.png\" alt=\"peer.png\" title=\"peer.png\"><\/p>\n<h3>\u6ce8\u518c\u9080\u8bf7     <a href=\"https:\/\/peer2profit.com\/r\/163946386761b83bbb81582\">https:\/\/peer2profit.com\/r\/163946386761b83bbb81582<\/a><\/h3>\n<h2>\u652f\u6301\u591a\u5f00\u4e00\u952e\u5bb9\u5668      <a href=\"https:\/\/hub.docker.com\/r\/hongwenjun\/p2p\">https:\/\/hub.docker.com\/r\/hongwenjun\/p2p<\/a><\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/12\/2949212602.png\" alt=\"123.png\" title=\"123.png\"><\/p>\n<h2>1. \u9996\u5148\u5b89\u88c5Docker\u73af\u5883 \u4e00\u952e\u5b89\u88c5\u547d\u4ee4<\/h2>\n<pre><code>curl -fsSLo- get.docker.com | \/bin\/sh\n<\/code><\/pre>\n<h2>2. \u90e8\u7f72 peer2profit \u5ba2\u6237\u7aef,  Docker\u90e8\u7f72 --net=host\u6a21\u5f0f\uff0c\u53c2\u6570\u4f60\u7684\u90ae\u7bb1<\/h2>\n<pre><code>docker run -d  --net=host hongwenjun\/p2p  p2pclient --login   \u4f60\u7684\u90ae\u7bb1@gmail.com\n<\/code><\/pre>\n<h2>3. \u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u5bb9\u5668\u90e8\u7f72\u4e0d\u7528host\u6a21\u5f0fNAT\u6a21\u5f0f\u4e5f\u80fd\u5206\u4eab\u6d41\u91cf<\/h2>\n<h3>\u603b\u51714\u4e2a\u5c0f\u9e21\uff0c\u524d2\u4e2ahost\u6a21\u5f0f\u5404\u90e8\u7f72\u4e8610\u4e2a\u8282\u70b9\uff0c\u540e\u4e24\u4e2a NAT\u6a21\u5f0f\u5404\u90e8\u7f72\u4e863\u4e2a\u8282\u70b9\u6d4b\u8bd5\uff0c\u4e0a\u56fe\u662f16\u5c0f\u65f6\u7684\u6d41\u91cf\u56fe<\/h3>\n<pre><code>docker run -d  hongwenjun\/p2p  p2pclient --login   \u4f60\u7684\u90ae\u7bb1@gmail.com\n<\/code><\/pre>\n<h2>\u591a\u5f00\u8282\u70b9\u65b9\u6cd5\uff0c\u8f93\u5165\u547d\u4ee4\u6267\u884c10\u6b21<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/12\/243126401.png\" alt=\"ubo9R.png\" title=\"ubo9R.png\"><\/p>\n<h2>4. \u6536\u76ca: \u5982\u56fe\u630216\u5c0f\u65f6\u6536\u76ca0.01\u7f8e\u5143<\/h2>\n<p>\u611f\u89c9\u8fd9\u79cd\u5957\u8def...\u81ea\u5df1\u5355\u5e72\u7684\u6536\u76ca\u90fd\u4e0d\u9ad8\uff0c\u6211\u662f4\u4e2a\u5c0f\u9e21:\u5927\u6bdb4.5\u6bdb\uff0c2\u4e2a\u7f8e\u897fvirmach\uff0c\u9999\u6e2fAZ\u4e00\u4e2a\uff0c\u6302\u4e8616\u5c0f\u65f6\u7684\u6536\u76ca\uff08\u542c\u8bf4aff\u6536\u76ca\u5c31\u662f\u5f88\u9ad8\uff0c\u56e0\u4e3aaff\u6536\u76ca\u9ad8\u8fbe50%\uff01\uff09<\/p>\n<h1>\u8d5a\u7f8e\u5143\u4e0d\u5bd2\u789c\uff0c\u518d\u8bf4\u662f\u51ed\u6280\u672f\u8d5a\u7684\u94b1\u3002<\/h1>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/12\/2092869968.png\" alt=\"11.png\" title=\"11.png\"><\/p>\n<h2>\u4e3a\u4ec0\u4e48\u8981\u7528DOCKER\u90e8\u7f72 \u5927\u70ae\u6253\u868a\u5b50\uff0c\u56e0\u4e3a\u5b9e\u9645 Docker\u5360\u7528\u8d44\u6e90\u5e76\u4e0d\u591a<\/h2>\n<pre><code>docker rm  -f  $(docker ps -qa)    # \u5220\u9664\u6240\u6709\u5bb9\u5668\n<\/code><\/pre>\n<p>\u800c\u4e14Docker\u5bf9\u7cfb\u7edf\u5f00\u9500\u5e76\u4e0d\u5927\uff0c\u65b9\u4fbf\u5220\u9664\uff0c\u53ea\u8981\u4e00\u884c\u547d\u4ee4\u5c31\u53ef\u4ee5\u5220\u9664\u505c\u6b62\uff0c<br \/>\u591a\u5f00\u51e0\u4e2a\u4e5f\u53ef\u4ee5\u5f88\u968f\u610f\uff0c\u53ea\u8981\u590d\u5236\u7c98\u8d34 N\u6b21 \u5c31\u53ef\u4ee5\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Peer2Profit \u5bf9,\u6ca1\u9519,\u5c31\u662f\u4ed6,\u6765\u81ea\u4fc4\u7f57\u65af\u7684\u6d41\u91cf\u6302\u673a\u5e73\u53f0,\u5206\u4eab\u60a8\u7684\u6d41\u91cf\u83b7\u53d6\u5229\u6da6,\u4e0d\u600e\u4e48\u5360\u7528 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-824","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=824"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/824\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}