{"id":32158,"date":"2020-02-15T13:41:33","date_gmt":"2020-02-15T05:41:33","guid":{"rendered":"http:\/\/4563.org\/?p=32158"},"modified":"2020-02-15T13:41:33","modified_gmt":"2020-02-15T05:41:33","slug":"pr%e5%85%84%e5%bc%9f%e8%bf%87%e6%9d%a5%ef%bc%8c%e9%94%90%e9%80%9f%e4%bc%98%e5%8c%96%e5%8a%a0%e9%80%9f%e7%bf%bb%e5%80%8d%e5%b9%b2%e8%b4%a7","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=32158","title":{"rendered":"pr\u5144\u5f1f\u8fc7\u6765\uff0c\u9510\u901f\u4f18\u5316\u52a0\u901f\u7ffb\u500d\u5e72\u8d27"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u78a7\u83b2<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:17:38\t<\/p>\n<h3>pr\u5144\u5f1f\u8fc7\u6765\uff0c\u9510\u901f\u4f18\u5316\u52a0\u901f\u7ffb\u500d\u5e72\u8d27<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u78a7\u83b2 \u4e8e 2019-11-11 14:41 \u7f16\u8f91 <\/p>\n<p> https:\/\/s2.ax1x.com\/2019\/11\/12\/M1Cg8U.png<br \/>  https:\/\/s2.ax1x.com\/2019\/11\/12\/M1CfKJ.png<br \/>  https:\/\/s2.ax1x.com\/2019\/11\/12\/M1Chr9.png<br \/>  \u5148\u5c06\u7cfb\u7edfdd\u4e3a debian 7<br \/>  bash &lt;(wget &#8211;no-check-certificate -qO- &#8216;https:\/\/moeclub.org\/attachment\/LinuxShell\/InstallNET.sh&#8217;) -d 7 -v 64 -a -p \u4f60\u7684\u5bc6\u7801<\/p>\n<p>  \u4e0b\u9762\u4fee\u6539\u914d\u7f6e\u4f18\u5316\uff01<\/p>\n<p>  1.\u589e\u52a0\u7cfb\u7edf\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u6700\u5927\u9650\u6570<br \/>  \u7f16\u8f91\u6587\u4ef6 limits.conf<br \/>  vi \/etc\/security\/limits.conf<br \/>  \u6700\u540e\u65b0\u589e\u4e24\u884c\u6dfb\u52a0\u547d\u4ee4\uff1a<\/p>\n<p>  * soft nofile 51200<br \/>  * hard nofile 51200<\/p>\n<p>  \u5982\u53d1\u73b0limits.conf\u6587\u4ef6\u5185\u5bb9\u5df2\u7ecf\u6709\uff0c\u8bf7\u4fee\u6539\u4e3a\u4e0a\u3002<\/p>\n<p>  \u7f16\u8f91\u6587\u4ef6 profile<\/p>\n<p>  vi \/etc\/profile<\/p>\n<p>  \u6700\u540e\u65b0\u589e\u4e00\u884c\u6dfb\u52a0\u547d\u4ee4\uff1a<\/p>\n<p>  ulimit -SHn 51200<\/p>\n<p>  \u4fee\u6539\u540e\u91cd\u542f\uff0c\u68c0\u67e5\u662f\u5426\u751f\u6548\u547d\u4ee4\uff1aulimit -n<\/p>\n<p>  2.\u8c03\u6574\u5185\u6838\u53c2\u6570<br \/>  \u4fee\u6539\u914d\u7f6e\u6587\u4ef6sysctl.conf<\/p>\n<p>  vi \/etc\/sysctl.conf<\/p>\n<p>  \u6700\u540e\u65b0\u589e\u4e00\u884c\u6dfb\u52a0\u547d\u4ee4\uff1a<\/p>\n<p>  fs.file-max = 51200<br \/>  net.core.rmem_max = 67108864<br \/>  net.core.wmem_max = 67108864<br \/>  net.core.rmem_default = 65536<br \/>  net.core.wmem_default = 65536<br \/>  net.core.netdev_max_backlog = 4096<br \/>  net.core.somaxconn = 4096<br \/>  net.ipv4.tcp_syncookies = 1<br \/>  net.ipv4.tcp_tw_reuse = 1<br \/>  net.ipv4.tcp_tw_recycle = 0<br \/>  net.ipv4.tcp_fin_timeout = 30<br \/>  net.ipv4.tcp_keepalive_time = 1200<br \/>  net.ipv4.ip_local_port_range = 10000 65000<br \/>  net.ipv4.tcp_max_syn_backlog = 4096<br \/>  net.ipv4.tcp_max_tw_buckets = 5000<br \/>  net.ipv4.tcp_fastopen = 3<br \/>  net.ipv4.tcp_rmem = 4096 87380 67108864<br \/>  net.ipv4.tcp_wmem = 4096 65536 67108864<br \/>  net.ipv4.tcp_mtu_probing = 1<br \/>  net.ipv4.tcp_congestion_control = hybla<\/p>\n<p>  \u4fee\u6539\u540e\u6267\u884c\u547d\u4ee4\uff1asysctl -p \u4f7f\u914d\u7f6e\u751f\u6548\u3002<\/p>\n<p>  \u5b89\u88c5\u9510\u901f<br \/>  bash &lt;(wget &#8211;no-check-certificate -qO- https:\/\/github.com\/MoeClub\/lotServer\/raw\/master\/Install.sh) install<\/p>\n<p>  \u4fee\u6539\u9510\u901f\u914d\u7f6e vi \/appex\/etc\/config<\/p>\n<p>  acc=&quot;1&quot;<br \/>  advacc=&quot;1&quot;<br \/>  advinacc=&quot;1&quot;<br \/>  maxmode=&quot;1&quot;<br \/>  initialCwndWan=&quot;62&quot;<br \/>  l2wQLimit=&quot;1024 8192&quot;<br \/>  w2lQLimit=&quot;1024 8192&quot;<br \/>  shaperEnable=&quot;0&quot;<br \/>  smBurstMS=&quot;20&quot;<br \/>  engineNum=&quot;1&quot;<br \/>  shortRttMS=&quot;70&quot;<br \/>  \u4fee\u6539\u5b8c\u6210\uff0c\u6700\u540e\u91cd\u542f\u9510\u901f\uff01<\/p>\n<p>  \u4f7f\u7528\u65b9\u6cd5:<br \/>  \u542f\u52a8\u547d\u4ee4 \/appex\/bin\/lotServer.sh start<br \/>  \u505c\u6b62\u52a0\u901f \/appex\/bin\/lotServer.sh stop<br \/>  \u72b6\u6001\u67e5\u8be2 \/appex\/bin\/lotServer.sh status<br \/>  \u91cd\u65b0\u542f\u52a8 \/appex\/bin\/lotServer.sh restart  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u8d22\u7f18<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:39:37\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e00\u756a\u6298\u817e\uff0c\u4f60\u4f1a\u53d1\u73b0\u5e76\u65e0\u5375\u7528\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hyllgf<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:40:55\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u771f\u7684\u4e0d\u9519\u3002\u3002\u9876\u4e00\u4e2a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u78a7\u83b2<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:35:49\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u78a7\u83b2 \u4e8e 2019-11-11 14:39 \u7f16\u8f91 <\/p>\n<p> \u90a3\u4e9b\u7528bbr\u4e0d\u597d\u7684\uff0c\u4e00\u5b9a\u8bd5\u8bd5 \u9510\u901f\uff01<br \/>  \u9510\u901f\u4e0d\u662f\u9ed8\u8ba4\u5b89\u88c5\u5c31\u884c\u4e86\uff0c\u8fd8\u8981\u4fee\u6539\u53c2\u6570\u9488\u5bf9\u5f53\u524d\u673a\u5668\u7f51\u7edc\u73af\u5883\u4f18\u5316\u7684\u3002<br \/>  \u672c\u6587\u56fe2\u622a\u56fe\u7684speedtest \u9ed8\u8ba4\u8282\u70b9 \u6d4b\u901f\u5dee\u662f\u56e0\u4e3a\u8fd9\u4e2a\u662f\u9ed8\u8ba4\u6839\u636e\u4f60\u7684ip\u5f52\u5c5e\u5730\u800c\u5206\u914d\u5bf9\u5e94\u6d4b\u8bd5\u8282\u70b9\u6d4b\u8bd5\u7684\uff0c\u56e0\u4e3a\u6211\u7684\u8fd9ip\u5e7f\u64ad\u5730\u533a\u672a\u6821\u6b63\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5b89\u4e4b\u82e5\u7d20<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:37:01\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9510\u901f\u4e0d\u662f\u9ed8\u8ba4\u5b89\u88c5\u5c31\u884c\u4e86\uff0c\u8fd8\u8981\u4fee\u6539\u53c2\u6570\u9488\u5bf9\u5f53\u524d\u673a\u5668\u7f51\u7edc\u73af\u5883\u4f18\u5316\u7684\u3002  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>mobisww<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:37:36\t<\/p>\n<p>  \t\t\t\t\t<strong>Yuang<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:42:44\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u4e00\u5b9a\u8981\u8bd5\u4e00\u8bd5\uff0c\u611f\u8c22\u5206\u4eab~<br \/>  \uff08\u9510\u901f\u6362\u5185\u6838\u8001\u5931\u8d25\uff0c\u5e0c\u671b\u8fd9\u4e2a\u4e0d\u4f1a\u3002\uff09\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>leasr<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:47:10\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u65e0\u8bba\u5982\u4f55\u8c22\u8c22\u6211\u7684\u90bb\u5c45\u78a7\u83b2\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>dj801<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:48:58\t<\/p>\n<h3><\/h3>\n<p>  \t\tQN\u7684CN2\u7b80\u76f4\u4e86&#8230;\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u78a7\u83b2<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-12 10:49:42\t<\/p>\n<h3><\/h3>\n<p>  \t\tleasr \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-11 14:47<br \/>  \u65e0\u8bba\u5982\u4f55\u8c22\u8c22\u6211\u7684\u90bb\u5c45\u78a7\u83b2<\/p>\n<p> yc019t \u662f4\u53f7\u9e21\u7684\u90bb\u5c45\u5417\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u78a7\u83b2 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-1&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\/32158"}],"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=32158"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/32158\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32158"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}