{"id":194549,"date":"2020-11-20T17:52:20","date_gmt":"2020-11-20T09:52:20","guid":{"rendered":"http:\/\/4563.org\/?p=194549"},"modified":"2020-11-20T17:52:20","modified_gmt":"2020-11-20T09:52:20","slug":"%e5%bc%80%e6%ba%90-speedtest-x-mjj%e6%9c%80%e7%88%b1%e7%9a%84%e7%bd%91%e9%a1%b5%e6%b5%8b%e9%80%9f%ef%bc%8c%e5%b7%b2%e6%94%af%e6%8c%81-docker-%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=194549","title":{"rendered":"[\u5f00\u6e90] speedtest-x MJJ\u6700\u7231\u7684\u7f51\u9875\u6d4b\u901f\uff0c\u5df2\u652f\u6301 docker \u90e8\u7f72"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>pi9<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>[\u5f00\u6e90] speedtest-x MJJ\u6700\u7231\u7684\u7f51\u9875\u6d4b\u901f\uff0c\u5df2\u652f\u6301 docker \u90e8\u7f72<\/h3>\n<p>  \t\t\u524d\u60c5\u5e16\u5b50\uff1ahttps:\/\/www.hostloc.com\/thread-767913-1-1.html<\/p>\n<p>  \u524d\u51e0\u5929\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e86 speedtest-x \u540e\uff0c\u6709 MJJ \u63d0\u8bae\u662f\u5426\u53ef\u51fa docker \u955c\u50cf\uff0c\u6628\u5929\u4ffa\u5c31\u4e3a speedtest-x \u505a\u4e86 docker \u955c\u50cf\uff0c\u73b0\u5728\u90e8\u7f72\u8d77\u6765\u66f4\u65b9\u4fbf\u4e86\u3002<br \/>  \u53e6\u5916\u4f7f\u7528\u4e0a\u6709\u4ec0\u4e48\u95ee\u9898\u6216\u8005\u5efa\u8bae\uff0c\u8bf7\u56de\u5e16\u544a\u8bc9\u6211\uff0c\u6216\u8005\u5230 GitHub \u63d0 issue \u7ed9\u6211\u3002<\/p>\n<p>  \u8fd8\u662f\u8981\u611f\u8c22\u5927\u5bb6\u7684\u652f\u6301\u3002<\/p>\n<p>  GitHub\u5730\u5740\uff1ahttps:\/\/github.com\/BadApple9\/speedtest-x<\/p>\n<p>  speedtest-x\u4ecb\u7ecd<\/p>\n<p>  LibreSpeed \u60f3\u5fc5\u662f\u5927\u5bb6\u7528\u7684\u6700\u5e7f\u6cdb\u7684\u4e00\u6b3e\u7f51\u9875\u6d4b\u901f\u5de5\u5177\uff0c\u7ecf\u5e38\u6709MJJ\u5230\u8bba\u575b\u6765\u53d1\u51fa\u81ea\u5df1\u670d\u52a1\u5668\u7684\u6d4b\u901f\u7f51\u9875\u8ba9\u5c0f\u4f19\u4f34\u6d4b\u901f\uff0c\u5c0f\u4f19\u4f34\u4f1a\u628a\u81ea\u5df1\u7f51\u7edc\u7684\u6d4b\u901f\u7ed3\u679c\u56de\u5e16\u544a\u77e5\u697c\u4e3b\u3002<\/p>\n<p>  speedtest-x \u7a0b\u5e8f\u7528\u4e8e\u7b80\u5316\u4ee5\u4e0a\u8fc7\u7a0b\uff0c\u7a0b\u5e8f\u4f1a\u5c06\u5404\u5730\u7528\u6237\u7684\u6d4b\u901f\u7ed3\u679c\u8bb0\u5f55\u4e0b\u6765\uff0c\u5e76\u63d0\u4f9b\u9762\u677f\u4f9b\u7f51\u7ad9\u4e3b\u67e5\u770b\u4e0e\u6392\u5e8f\uff0c\u6765\u8bc4\u7b97\u51fa\u5168\u56fd\u5404\u5730\u7684\u901f\u5ea6\u6700\u4f18\u8fd0\u8425\u5546\u3002<br \/>  \u8fd9\u662f LibreSpeed \u7684\u5ef6\u4f38\u9879\u76ee\uff0c\u57fa\u4e8e\u5176\u81ea\u8eab\u505a\u4e86\u7ed3\u679c\u4e0a\u62a5\u6269\u5c55\u3002\uff08LibreSpeed \u4e5f\u6709\u81ea\u5df1\u7684\u4e00\u5957 PHP \u7ed3\u679c\u4e0a\u62a5\u7a0b\u5e8f\uff0c\u4f46\u9700\u8981\u4f9d\u8d56 MySQL \u800c\u4e14\u914d\u7f6e\u8fc7\u7a0b\u548c\u754c\u9762\u5e76\u4e0d\u53cb\u597d\uff09\uff0cspeedtest-x \u505a\u5230\u4e86\u5f00\u7bb1\u5373\u7528\u3002<\/p>\n<p>  Docker \u90e8\u7f72<\/p>\n<p>  1\u3001\u62c9\u53d6 Docker \u955c\u50cf docker pull badapple9\/speedtest-x<\/p>\n<p>  2\u3001\u8fd0\u884c\u5bb9\u5668 docker run [-d] -p 9001:80 -it badapple9\/speedtest-x<\/p>\n<p>  -d\uff1a\u4ee5\u5e38\u9a7b\u8fdb\u7a0b\u6a21\u5f0f\u542f\u52a8<\/p>\n<p>  9001: \u9ed8\u8ba4\u5bb9\u5668\u5f00\u653e\u7aef\u53e3\uff0c\u53ef\u6539\u4e3a\u5176\u4ed6\u7aef\u53e3<\/p>\n<p>  3\u3001\u8bbf\u95ee {IP}:{\u7aef\u53e3}\/index.html \u8fdb\u884c\u6d4b\u901f<\/p>\n<p>  \u5e38\u89c4\u90e8\u7f72<\/p>\n<p>  1\u3001\u4e0b\u8f7d\u672c\u4ed3\u5e93\u5e76\u89e3\u538b\u5230\u7f51\u7ad9\u76ee\u5f55\uff0c\u8bbf\u95ee {\u57df\u540d}\/index.html \u8fdb\u884c\u6d4b\u901f<\/p>\n<p>  2\u3001\u6253\u5f00 {\u57df\u540d}\/results.html \u67e5\u770b\u6d4b\u901f\u8bb0\u5f55<\/p>\n<p>  Tips\uff1a\u4fee\u6539 backend\/config.php \u4e2d\u7684 MAX_LOG_COUNT \u53ef\u5b9a\u4e49\u6700\u5927\u53ef\u4fdd\u5b58\u591a\u5c11\u6761\u6d4b\u901f\u8bb0\u5f55<\/p>\n<p>  https:\/\/i.loli.net\/2020\/11\/17\/FbLuhwB6Tn3Mfeq.png<\/p>\n<p>  https:\/\/i.loli.net\/2020\/11\/17\/Jc8Cdf9aQNFSOby.png\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u84dd\u7626\u9999\u83c7<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5f88\u8d5e:lolvir\u5723\u4f55\u585e\u6d4b\u901f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hxuf<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5148\u70b9\u4e2astar\u3002:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u6d41\u4ea4\u673a\u4e3b\u7403\u5168<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u611f\u8c22\u5927\u4f6c\u5206\u4eab\uff0c\u6536\u85cf\u5148https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>cmm<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u597d\u7528\uff0c\u5df2\u7ecf\u5728\u7528\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5b64\u5355\u6708\u8272<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u652f\u6301\u5927\u4f6c\uff0c\u6709docker\u5c31\u65b9\u4fbf\u591a\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Snow922841<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u652f\u6301\u4e00\u4e0b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lv950314<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u591a\u8c22\u5927\u4f6c\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5143\u4ea8\u5229\u8d1e<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u652f\u6301\u4e00\u4e0b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>yolo24<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6218\u672f\u9a6c\u514b\u7b2c\u4e8c\u8f6e\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>pi9 \u5927\u4f6c\u6709\u8bdd\u8bf4 : [\u5f00\u6e90] &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/194549"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=194549"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/194549\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=194549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=194549"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=194549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}