{"id":246913,"date":"2020-12-21T05:47:59","date_gmt":"2020-12-20T21:47:59","guid":{"rendered":"http:\/\/4563.org\/?p=246913"},"modified":"2020-12-21T05:47:59","modified_gmt":"2020-12-20T21:47:59","slug":"%e8%87%aa%e5%b7%b1%e7%9a%84%e9%98%bf%e9%87%8c%e5%ad%a6%e7%94%9f%e6%9c%ba%e4%b8%ad%e4%ba%86%e6%9c%a8%e9%a9%ac%ef%bc%8c%e8%a2%ab%e6%8c%96%e7%9f%bf%e4%ba%86%ef%bc%8c%e5%88%86%e4%ba%ab%e4%b8%80%e4%b8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=246913","title":{"rendered":"\u81ea\u5df1\u7684\u963f\u91cc\u5b66\u751f\u673a\u4e2d\u4e86\u6728\u9a6c\uff0c\u88ab\u6316\u77ff\u4e86\uff0c\u5206\u4eab\u4e00\u4e0b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u81ea\u5df1\u7684\u963f\u91cc\u5b66\u751f\u673a\u4e2d\u4e86\u6728\u9a6c\uff0c\u88ab\u6316\u77ff\u4e86\uff0c\u5206\u4eab\u4e00\u4e0b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KarlRixon <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6628\u5929\u4e0b\u5348\u4e0b\u73ed\u524d\u6536\u5230\u4e24\u6761\u624b\u673a\u77ed\u4fe1\uff0c\u4e00\u6761\u662f\u963f\u91cc\u4e91\u5b89\u5168\u76d1\u63a7\u53d1\u73b0\u4e00\u6b21\u5f02\u5e38\u767b\u5f55\uff0c\u53e6\u4e00\u6761\u662f\u53d1\u73b0\u6316\u77ff\u7a0b\u5e8f\u6076\u610f\u811a\u672c\u6267\u884c\u3002<\/p>\n<p>\u5f53\u65f6\u6211\u8fd8\u5728 ssh \u8fde\u7740\u670d\u52a1\u5668\uff0ctop \u67e5\u770b\u4e86\u4e00\u4e0b\u8d44\u6e90\u5360\u7528\uff0c\u53d1\u73b0 cpu \u5360\u7528\u51e0\u4e4e 100%\uff0c \u5176\u4e2d\u4e00\u4e2a mysqld \u7684\u8fdb\u7a0b\u5360\u4e86\u5f88\u9ad8\u3002<\/p>\n<p>\u67e5\u770b \/etc\/.x\/\u76ee\u5f55\u53d1\u73b0\u4e86 xhide \u6587\u4ef6\u548c mysqld \u6587\u4ef6\uff0c\u8fd8\u6709\u5176\u4ed6\u7684\u6587\u4ef6\uff0c\u5c1d\u8bd5\u5220\u9664\u4e00\u4e2a\u6587\u4ef6\uff0c\u7ed3\u679c\u62a5 Operation not permitted\uff0clsattr \u53d1\u73b0\u6240\u6709\u6587\u4ef6\u90fd\u6709 i \u5c5e\u6027\uff0c\u7528 chattr -i \u540e\u5c31\u53ef\u4ee5\u5220\u6389\u6240\u6709\u6587\u4ef6\u3002<\/p>\n<p>\u7528 lastb \u67e5\u770b\u6700\u8fd1\u767b\u5f55\u5931\u8d25\u7684\u8bb0\u5f55\uff0c\u53d1\u73b0\u6700\u8fd1\u51e0\u5929\u6bcf\u5929\u90fd\u6709\u4e00\u5806\u7684\u767b\u5f55\u5c1d\u8bd5\uff0c\u611f\u89c9\u6709\u53ef\u80fd\u88ab\u66b4\u7834\u4e86\u3002<\/p>\n<p>\u7136\u540e\u53d1\u73b0~\/.ssh\/authorized_keys \u6587\u4ef6\u6628\u665a\u88ab\u6539\u52a8\u8fc7\uff0c\u6dfb\u52a0\u4e86\u4e00\u884c\u8bb0\u5f55\uff0c\u4e00\u5b9a\u662f\u653b\u51fb\u8005\u5229\u7528\u6f0f\u6d1e\u4e0a\u4f20\u7684\u53ef\u4ee5\u514d\u5bc6\u767b\u5f55\uff0c\u5220\u9664\u4ee5\u7edd\u540e\u60a3\u3002<\/p>\n<p>\u7528 crontab -l \u67e5\u770b\u5b9a\u65f6\u4efb\u52a1\u6ca1\u6709\u53d1\u73b0\u5f02\u5e38\u3002<\/p>\n<p>\u4e0a\u7f51\u67e5\u4e86\u4e00\u4e0b\u8fd9\u4e2a\u662f\u95e8\u7f57\u5e01\u6316\u77ff\u6728\u9a6c\uff0c\u8be6\u7ec6\u5206\u6790\u53c2\u8003\uff1a\u817e\u8baf\u4e3b\u673a\u5b89\u5168\uff08\u4e91\u955c\uff09\u6355\u83b7 WatchBogMiner \u6316\u77ff\u6728\u9a6c\u65b0\u53d8\u79cd\uff0c\u7ea6 8000 \u53f0\u670d\u52a1\u5668\u53d7\u63a7\u6316\u77ff<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/01\/20210106_5ff5c12247a85.jpg\" alt=\"\u81ea\u5df1\u7684\u963f\u91cc\u5b66\u751f\u673a\u4e2d\u4e86\u6728\u9a6c\uff0c\u88ab\u6316\u77ff\u4e86\uff0c\u5206\u4eab\u4e00\u4e0b\" \/><\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4804655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eason1874 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5413\u5f97\u6211\u770b\u4e86\u4e0b\u81ea\u5df1\u7684\uff0c\u7ed3\u679c\u53d1\u73b0\u5565\u4e8b\u6ca1\u6709\uff0c\u51e0\u53f0\u7684 CPU \u5e38\u5e74\u5728 6%\u4ee5\u4e0b\uff0c\u5e73\u5747 3%<\/p>\n<p>\u53ef\u60dc\u7981\u6b62\u6316\u5e01\uff0c\u4e0d\u7136\u6211\u81ea\u5df1\u6316\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : boris93 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874 #1 \u8dd1\u4e2a BOINC \u5457\uff0c\u9020\u798f\u793e\u4f1a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804657\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : boris93 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f2\u731c\u8981\u4e48\u662f SSH \u5f31\u5bc6\u7801\uff0c\u8981\u4e48\u662f Redis \u5f31\u5bc6\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804658\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shellic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f2\u731c redis \u6ca1\u914d\u7f6e\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804659\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lengyihan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6b63\u5e38\u3002\u8c01\u7684\u5b66\u751f\u673a\u6ca1\u88ab\u6316\u8fc7\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804660\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BYF <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6539 SSH \u7aef\u53e3\u3002\u7981\u6b62 root \u767b\u5f55\u3002\u7528\u79d8\u94a5\u767b\u5f55\u3002<br \/>\u5b9e\u529b\u73a9\u5bb6\u518d\u5f04\u4e2a setenforce 1<br \/>\u4e07\u4e8b\u5927\u5409                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804661\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : notproblem <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u51e0\u5929\u6211\u4e5f\u662f\u4e2d\u4e86\u8fd9\u4e2a\u75c5\u6bd2\uff0c\u662f\u56e0\u4e3a redis \u6ca1\u8bbe\u5bc6\u7801~~~~crontab -l -u redis \u67e5\u770b\u5b9a\u65f6\u4efb\u52a1\u624d\u53d1\u73b0\u6709                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4804662\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : elfive <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u9047\u5230\u8fc7\u4e00\u6b21\uff0c\u4e0d\u8fc7\u662f\u4e0d\u5c0f\u5fc3\u628a php-fpm \u7684 9000 \u7aef\u53e3\u66b4\u9732\u5230\u4e86\u516c\u7f51\u4e0a\uff0c\u56e0\u4e3a\u662f\u5728\u5bb9\u5668\u91cc\u9762\u7684\u670d\u52a1\uff0c\u6240\u4ee5 CPU \u6ca1\u6709\u5360\u7528\u5230 100%\uff0c\u800c\u4e14\u56e0\u4e3a\u6ca1\u6709 Host \u6743\u9650\uff0c\u6240\u4ee5\u53ea\u5728 \/tmp\/\u4e0b\u53d1\u73b0\u4e86\u8fd9\u4e2a\u6316\u77ff\u811a\u672c\uff0c\u76f4\u63a5\u5220\u9664\u5bb9\u5668\uff0c\u5c06 9000 \u7aef\u53e3\u4ec5\u66b4\u9732\u7ed9\u5c40\u57df\u7f51\u5c31\u641e\u5b9a\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5df1\u7684\u963f\u91cc\u5b66\u751f\u673a\u4e2d\u4e86\u6728\u9a6c\uff0c\u88ab\u6316\u77ff\u4e86&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\/246913"}],"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=246913"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/246913\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246913"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}