{"id":245601,"date":"2022-07-04T09:00:57","date_gmt":"2022-07-04T01:00:57","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=245601"},"modified":"2022-06-30T14:46:42","modified_gmt":"2022-06-30T06:46:42","slug":"linux-jyt","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-jyt.html","title":{"rendered":"\u7ecf\u9a8c\u4e4b\u8c08\uff1aLinux \u8fd0\u7ef4\u5de5\u7a0b\u5e08\u7684\u516d\u7c7b\u597d\u4e60\u60ef\u548c 23 \u4e2a\u6559\u8bad"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u4ece\u4e8b\u8fd0\u7ef4\u4e09\u5e74\u534a\uff0c\u4eca\u5929\u7b80\u5355\u6574\u7406\u4e00\u4e0b Linux \u8fd0\u7ef4\u5de5\u7a0b\u5e08\u7684 6 \u7c7b\u597d\u4e60\u60ef\u548c 23 \u4e2a\u6559\u8bad\uff0c\u5206\u4eab\u7ed9\u5404\u4f4d\u5c0f\u4f19\u4f34\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u4ece\u4e8b\u8fd0\u7ef4\u4e09\u5e74\u534a\uff0c\u9047\u5230\u8fc7\u5404\u5f0f\u5404\u6837\u7684\u95ee\u9898\uff0c\u6570\u636e\u4e22\u5931\uff0c\u7f51\u7ad9\u6302\u9a6c\uff0c\u8bef\u5220\u6570\u636e\u5e93\u6587\u4ef6\uff0c\u9ed1\u5ba2\u653b\u51fb\u7b49\u5404\u7c7b\u95ee\u9898\u3002<\/p>\n \u4eca\u5929\u7b80\u5355\u6574\u7406\u4e00\u4e0b\uff0c\u5206\u4eab\u7ed9\u5404\u4f4d\u5c0f\u4f19\u4f34\u3002<\/p>\n \u4e00\u3001\u7ebf\u4e0a\u64cd\u4f5c\u89c4\u8303<\/strong><\/div>\n 1\u3001\u6d4b\u8bd5\u4f7f\u7528<\/strong><\/span><\/div>\n \u5f53\u521d\u5b66\u4e60Linux\u7684\u4f7f\u7528\uff0c\u4ece\u57fa\u7840\u5230\u670d\u52a1\u5230\u96c6\u7fa4\uff0c\u90fd\u662f\u5728\u865a\u62df\u673a\u505a\u7684\uff0c\u867d\u7136\u8001\u5e08\u544a\u8bc9\u6211\u4eec\u8ddf\u771f\u673a\u6ca1\u6709\u4ec0\u4e48\u5dee\u522b\uff0c\u53ef\u662f\u5bf9\u771f\u5b9e\u73af\u5883\u7684\u6e34\u671b\u65e5\u6e10\u4e0a\u5347\uff0c\u4e0d\u8fc7\u865a\u62df\u673a\u7684\u5404\u79cd\u5feb\u7167\u5374\u8ba9\u6211\u4eec\u517b\u6210\u4e86\u5404\u79cd\u624b\u8d31\u7684\u4e60\u60ef\uff0c\u4ee5\u81f4\u4e8e\u62ff\u5230\u670d\u52a1\u5668\u64cd\u4f5c\u6743\u9650\u65f6\u5019\uff0c\u5c31\u8feb\u4e0d\u53ca\u5f85\u7684\u60f3\u53bb\u8bd5\u8bd5\uff0c\u8bb0\u5f97\u4e0a\u73ed\u7b2c\u4e00\u5929\uff0c\u8001\u5927\u628aroot\u5bc6\u7801\u4ea4\u7ed9\u6211\uff0c\u7531\u4e8e\u53ea\u80fd\u4f7f\u7528putty\uff0c\u6211\u5c31\u60f3\u4f7f\u7528xshell\uff0c\u4e8e\u662f\u6084\u6084\u767b\u5f55\u670d\u52a1\u5668\u5c1d\u8bd5\u6539\u4e3aXshell+\u5bc6\u94a5\u767b\u5f55\uff0c\u56e0\u4e3a\u6ca1\u6709\u6d4b\u8bd5\uff0c\u4e5f\u6ca1\u6709\u7559\u4e00\u4e2aSSH\u8fde\u63a5\uff0c\u6240\u6709\u91cd\u542fSSHD\u670d\u52a1\u5668\u4e4b\u540e\uff0c\u81ea\u5df1\u5c31\u88ab\u6321\u5728\u670d\u52a1\u5668\u4e4b\u5916\u4e86\uff0c\u5e78\u597d\u5f53\u65f6\u6211\u5907\u4efd\u4e86sshd_config\u6587\u4ef6\uff0c\u540e\u6765\u8ba9\u673a\u623f\u4eba\u5458cp\u8fc7\u53bb\u5c31\u53ef\u4ee5\u4e86\uff0c\u5e78\u4e8f\u8fd9\u662f\u4e00\u5bb6\u5c0f\u516c\u53f8\uff0c\u4e0d\u7136\u76f4\u63a5\u5c31\u88ab\u5e72\u4e86\u2026\u2026\u5e86\u5e78\u5f53\u5e74\u8fd0\u6c14\u6bd4\u8f83\u597d\u3002<\/p>\n \u7b2c\u4e8c\u4e2a\u4f8b\u5b50\u662f\u5173\u4e8e\u6587\u4ef6\u540c\u6b65\u7684\uff0c\u5927\u5bb6\u90fd\u77e5\u9053rsync\u540c\u6b65\u5f88\u5feb\uff0c\u53ef\u662f\u4ed6\u5220\u9664\u6587\u4ef6\u7684\u901f\u5ea6\u5927\u5927\u8d85\u8fc7\u4e86rm<\/p>\n -rf\uff0c\u5728rsync\u4e2d\u6709\u4e00\u4e2a\u547d\u4ee4\u662f\uff0c\u4ee5\u67d0\u76ee\u5f55\u4e3a\u51c6\u540c\u6b65\u67d0\u6587\u4ef6\uff08\u5982\u679c\u7b2c\u4e00\u4e2a\u76ee\u5f55\u662f\u7a7a\u7684\uff0c\u90a3\u4e48\u7ed3\u679c\u53ef\u60f3\u800c\u77e5\uff09\uff0c\u6e90\u76ee\u5f55\uff08\u6709\u6570\u636e\u7684\uff09\u5c31\u4f1a\u88ab\u5220\u9664\uff0c\u5f53\u521d\u6211\u5c31\u662f\u56e0\u4e3a\u8bef\u64cd\u4f5c\uff0c\u4ee5\u53ca\u7f3a\u4e4f\u6d4b\u8bd5\uff0c\u5c31\u76ee\u5f55\u5199\u53cd\u4e86\uff0c\u5173\u952e\u662f\u6ca1\u6709\u5907\u4efd\u2026\u2026\u751f\u4ea7\u73af\u5883\u6570\u636e\u88ab\u5220\u4e86\u3002<\/p>\n \u6ca1\u5907\u4efd\uff0c\u5927\u5bb6\u81ea\u5df1\u60f3\u540e\u679c\u5427\uff0c\u5176\u91cd\u8981\u6027\u4e0d\u8a00\u800c\u55bb\u3002<\/p>\n 2\u3001Enter\u524d\u518d\u4e09\u786e\u8ba4<\/strong><\/span><\/div>\n \u5173\u4e8erm -rf \/ var\u8fd9\u79cd\u9519\u8bef\uff0c\u6211\u76f8\u4fe1\u624b\u5feb\u7684\u4eba\uff0c\u6216\u8005\u7f51\u901f\u6bd4\u8f83\u6162\u7684\u65f6\u5019\uff0c\u51fa\u73b0\u7684\u51e0\u7387\u76f8\u5f53\u5927\uff0c\u5f53\u4f60\u53d1\u73b0\u6267\u884c\u5b8c\u4e4b\u540e\uff0c\u4f60\u7684\u5fc3\u81f3\u5c11\u662f\u51c9\u4e86\u534a\u622a\u3002<\/p>\n \u5927\u5bb6\u53ef\u80fd\u4f1a\u8bf4\uff0c\u6211\u6309\u4e86\u8fd9\u4e48\u591a\u6b21\u90fd\u6ca1\u51fa\u8fc7\u9519\uff0c\u4e0d\u7528\u6015\uff0c\u6211\u53ea\u60f3\u8bf4\u5f53\u51fa\u73b0\u4e00\u6b21\u4f60\u5c31\u660e\u767d\u4e86\uff0c\u4e0d\u8981\u4ee5\u4e3a\u90a3\u4e9b\u8fd0\u7ef4\u4e8b\u6545\u90fd\u662f\u5728\u522b\u4eba\u8eab\u4e0a\uff0c\u5982\u679c\u4f60\u4e0d\u6ce8\u610f\uff0c\u4e0b\u4e00\u4e2a\u5c31\u662f\u4f60\u3002<\/p>\n 3\u3001\u5207\u5fcc\u591a\u4eba\u64cd\u4f5c<\/strong><\/span><\/div>\n \u6211\u5728\u7684\u4e0a\u4e00\u5bb6\u516c\u53f8\uff0c\u8fd0\u7ef4\u7ba1\u7406\u76f8\u5f53\u6df7\u4e71\uff0c\u4e3e\u4e00\u4e2a\u6700\u5178\u578b\u7684\u4f8b\u5b50\u5427\uff0c\u79bb\u804c\u597d\u51e0\u4efb\u7684\u8fd0\u7ef4\u90fd\u6709\u670d\u52a1\u5668root\u5bc6\u7801\u3002<\/p>\n \u901a\u5e38\u6211\u4eec\u8fd0\u7ef4\u63a5\u5230\u4efb\u52a1\uff0c\u90fd\u4f1a\u8fdb\u884c\u7b80\u5355\u67e5\u770b\u5982\u679c\u65e0\u6cd5\u89e3\u51b3\uff0c\u5c31\u8bf7\u6c42\u4ed6\u4eba\u5e2e\u5fd9\uff0c\u53ef\u662f\u5f53\u95ee\u9898\u7126\u5934\u70c2\u989d\u7684\u65f6\u5019\uff0c\u5ba2\u670d\u4e3b\u7ba1\uff08\u61c2\u70b9Linux\uff09\uff0c\u7f51\u7ba1\uff0c\u4f60\u4e0a\u53f8\u4e00\u8d77\u8c03\u8bd5\u4e00\u4e2a\u670d\u52a1\u5668\uff0c\u5f53\u4f60\u5404\u79cd\u767e\u5ea6,\u5404\u79cd\u5bf9\u7167\uff0c\u5b8c\u4e86\u53d1\u73b0\uff0c\u4f60\u7684\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6\uff0c\u8ddf\u4e0a\u6b21\u4f60\u4fee\u6539\u4e0d\u4e00\u6837\u4e86\uff0c\u7136\u540e\u518d\u6539\u56de\u6765\uff0c\u7136\u540e\u518d\u8c37\u6b4c\uff0c\u5174\u51b2\u51b2\u53d1\u73b0\u95ee\u9898\uff0c\u89e3\u51b3\u4e86\uff0c\u522b\u4eba\u5374\u544a\u8bc9\u4f60\uff0c\u4ed6\u4e5f\u89e3\u51b3\u4e86\uff0c\u4fee\u6539\u7684\u662f\u4e0d\u540c\u7684\u53c2\u6570\u2026\u2026\u8fd9\u4e2a\uff0c\u6211\u5c31\u771f\u4e0d\u77e5\u9053\u54ea\u4e2a\u662f\u95ee\u9898\u771f\u6b63\u7684\u539f\u56e0\u4e86\uff0c\u5f53\u7136\u8fd9\u8fd8\u662f\u597d\u7684\uff0c\u95ee\u9898\u89e3\u51b3\u4e86\uff0c\u7686\u5927\u6b22\u559c\uff0c\u53ef\u662f\u4f60\u9047\u5230\u8fc7\u4f60\u521a\u4fee\u6539\u7684\u6587\u4ef6\uff0c\u6d4b\u8bd5\u65e0\u6548\uff0c\u518d\u53bb\u4fee\u6539\u53d1\u73b0\u6587\u4ef6\u53c8\u88ab\u4fee\u6539\u7684\u65f6\u5019\u5462\uff1f\u771f\u7684\u5f88\u607c\u706b\uff0c\u5207\u5fcc\u591a\u4eba\u64cd\u4f5c\u3002<\/p>\n 4\u3001\u5148\u5907\u4efd\u540e\u64cd\u4f5c<\/strong><\/span><\/div>\n \u517b\u6210\u4e00\u4e2a\u4e60\u60ef\uff0c\u8981\u4fee\u6539\u6570\u636e\u65f6\uff0c\u5148\u5907\u4efd\uff0c\u6bd4\u5982.conf\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u53e6\u5916\uff0c\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u65f6\uff0c\u5efa\u8bae\u6ce8\u91ca\u539f\u9009\u9879\uff0c\u7136\u540e\u518d\u590d\u5236\uff0c\u4fee\u6539\u3002<\/p>\n \u518d\u8005\u8bf4\uff0c\u5982\u679c\u7b2c\u4e00\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6709\u6570\u636e\u5e93\u5907\u4efd\uff0c\u90a3rsync\u7684\u8bef\u64cd\u4f5c\u4e0d\u4e45\u6ca1\u4e8b\u4e86\u5427\u3002\u6240\u4ee5\u8bf4\u4e22\u6570\u636e\u5e93\u975e\u4e00\u671d\u4e00\u5915\uff0c\u968f\u4fbf\u5907\u4efd\u4e00\u4e2a\u5c31\u4e0d\u7528\u90a3\u4e48\u60e8\u3002<\/p>\n \u4e8c\u3001\u6d89\u53ca\u6570\u636e<\/strong><\/div>\n 5\u3001\u614e\u7528rm -rf<\/strong><\/span><\/div>\n \u7f51\u4e0a\u7684\u4f8b\u5b50\u5f88\u591a\uff0c\u5404\u79cdrm -rf \/\uff0c\u5404\u79cd\u5220\u9664\u4e3b\u6570\u636e\u5e93\uff0c\u5404\u79cd\u8fd0\u7ef4\u4e8b\u6545\u2026\u2026<\/p>\n \u4e00\u70b9\u5c0f\u5931\u8bef\u5c31\u4f1a\u9020\u6210\u5f88\u5927\u7684\u635f\u5931\u3002\u5982\u679c\u771f\u9700\u8981\u5220\u9664\uff0c\u4e00\u5b9a\u8981\u8c28\u614e\u3002<\/p>\n 6\u3001\u5907\u4efd\u5927\u4e8e\u4e00\u5207<\/strong><\/span><\/div>\n \u672c\u6765\u4e0a\u9762\u90fd\u6709\u5404\u79cd\u5173\u4e8e\u5907\u4efd\uff0c\u4f46\u662f\u6211\u60f3\u628a\u5b83\u5212\u5206\u5728\u6570\u636e\u7c7b\u518d\u6b21\u5f3a\u8c03\uff0c\u5907\u4efd\u975e\u5e38\u4e4b\u91cd\u8981\u54c7\u3002<\/p>\n \u6211\u8bb0\u5f97\u6211\u7684\u8001\u5e08\u8bf4\u8fc7\u4e00\u53e5\u8bdd\uff0c\u6d89\u53ca\u5230\u6570\u636e\u4f55\u79cd\u7684\u8c28\u614e\u90fd\u4e0d\u4e3a\u8fc7\u3002\u6211\u5c31\u804c\u7684\u516c\u53f8\u6709\u505a\u7b2c\u4e09\u65b9\u652f\u4ed8\u7f51\u7ad9\u548c\u7f51\u8d37\u5e73\u53f0\u7684\uff0c\u7b2c\u4e09\u65b9\u652f\u4ed8\u662f\u6bcf\u4e24\u4e2a\u5c0f\u65f6\u5b8c\u5168\u5907\u4efd\u4e00\u6b21\uff0c\u7f51\u8d37\u5e73\u53f0\u662f\u6bcf20\u5206\u949f\u5907\u4efd\u4e00\u6b21\u3002<\/p>\n \u6211\u4e0d\u591a\u8bf4\u4e86\uff0c\u5927\u5bb6\u81ea\u5df1\u659f\u914c\u5427\u3002<\/p>\n 7\u3001\u7a33\u5b9a\u5927\u4e8e\u4e00\u5207<\/strong><\/span><\/div>\n \u5176\u5b9e\u4e0d\u6b62\u662f\u6570\u636e\uff0c\u5728\u6574\u4e2a\u670d\u52a1\u5668\u73af\u5883\uff0c\u90fd\u662f\u7a33\u5b9a\u5927\u4e8e\u4e00\u5207\uff0c\u4e0d\u6c42\u6700\u5feb\uff0c\u4f46\u6c42\u6700\u7a33\u5b9a\uff0c\u6c42\u53ef\u7528\u6027\uff0c\u6240\u4ee5\u672a\u7ecf\u6d4b\u8bd5\uff0c\u4e0d\u8981\u5728\u670d\u52a1\u5668\u4f7f\u7528\u65b0\u7684\u8f6f\u4ef6\uff0c\u6bd4\u5982Nginx+PHP-FPM\uff0c\u751f\u4ea7\u73af\u5883\u4e2dPHP\u5404\u79cd\u6302\u554a\u3002<\/p>\n \u91cd\u542f\u4e0b\u5c31\u597d\u4e86\uff0c\u6216\u8005\u6362apache\u5c31\u597d\u4e86\u3002<\/p>\n 8\u3001\u4fdd\u5bc6\u5927\u4e8e\u4e00\u5207<\/strong><\/span><\/div>\n \u73b0\u5728\u5404\u79cd\u8273\u7167\u95e8\u6f2b\u5929\u98de\uff0c\u5404\u79cd\u8def\u7531\u5668\u540e\u95e8\uff0c\u6240\u4ee5\u8bf4\uff0c\u6d89\u53ca\u5230\u6570\u636e\uff0c\u4e0d\u4fdd\u5bc6\u662f\u4e0d\u884c\u7684\u3002<\/p>\n \u4e09\u3001\u6d89\u53ca\u5b89\u5168<\/strong><\/div>\n 9\u3001SSH<\/strong><\/span><\/div>\n \u66f4\u6539\u9ed8\u8ba4\u7aef\u53e3\uff08\u5f53\u7136\u5982\u679c\u4e13\u4e1a\u8981\u9ed1\u4f60\uff0c\u626b\u63cf\u4e0b\u5c31\u51fa\u6765\u4e86\uff09 10\u3001\u9632\u706b\u5899<\/strong><\/span><\/div>\n \u9632\u706b\u5899\u751f\u4ea7\u73af\u5883\u4e00\u5b9a\u8981\u5f00\uff0c\u5e76\u4e14\u8981\u9075\u5faa\u6700\u5c0f\u539f\u5219\uff0cdrop\u6240\u6709\uff0c\u7136\u540e\u653e\u884c\u9700\u8981\u7684\u670d\u52a1\u7aef\u53e3\u3002<\/p>\n 11\u3001\u7cbe\u7ec6\u6743\u9650\u548c\u63a7\u5236\u7c92\u5ea6<\/strong><\/span><\/div>\n \u80fd\u4f7f\u7528\u666e\u901a\u7528\u6237\u542f\u52a8\u7684\u670d\u52a1\u575a\u51b3\u4e0d\u4f7f\u7528root\uff0c\u628a\u5404\u79cd\u670d\u52a1\u6743\u9650\u63a7\u5236\u5230\u6700\u4f4e\uff0c\u63a7\u5236\u7c92\u5ea6\u8981\u7cbe\u7ec6\u3002<\/p>\n 12\u3001\u5165\u4fb5\u68c0\u6d4b\u548c\u65e5\u5fd7\u76d1\u63a7<\/strong><\/span><\/div>\n \u4f7f\u7528\u7b2c\u4e09\u65b9\u8f6f\u4ef6\uff0c\u65f6\u523b\u68c0\u6d4b\u7cfb\u7edf\u5173\u952e\u6587\u4ef6\u4ee5\u53ca\u5404\u79cd\u670d\u52a1\u914d\u7f6e\u6587\u4ef6\u7684\u6539\u52a8\uff0c\u6bd4\u5982\uff1a\/etc\/passwd\uff0c\/etc\/my.cnf\uff0c\/etc\/httpd\/con\/httpd.con\u7b49\u3002<\/p>\n \u4f7f\u7528\u96c6\u4e2d\u5316\u7684\u65e5\u5fd7\u76d1\u63a7\u4f53\u7cfb\uff0c\u76d1\u63a7\/var\/log\/secure\uff0c\/etc\/log\/message\uff0cftp\u4e0a\u4f20\u4e0b\u8f7d\u6587\u4ef6\u7b49\u62a5\u8b66\u9519\u8bef\u65e5\u5fd7\u3002<\/p>\n \u53e6\u5916\u9488\u5bf9\u7aef\u53e3\u626b\u63cf\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u7b2c\u4e09\u65b9\u8f6f\u4ef6\uff0c\u53d1\u73b0\u88ab\u626b\u63cf\u5c31\u76f4\u63a5\u62c9\u5165host.deny\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u7cfb\u7edf\u88ab\u5165\u4fb5\u540e\u6392\u9519\u5f88\u6709\u5e2e\u52a9\u3002<\/p>\n \u6709\u4eba\u8bf4\u8fc7\uff0c\u4e00\u4e2a\u516c\u53f8\u5728\u5b89\u5168\u6295\u5165\u7684\u6210\u672c\u8ddf\u4ed6\u88ab\u5b89\u5168\u653b\u51fb\u635f\u5931\u7684\u6210\u672c\u6210\u6b63\u6bd4\uff0c\u5b89\u5168\u662f\u4e00\u4e2a\u5f88\u5927\u7684\u8bdd\u9898\uff0c\u4e5f\u662f\u4e00\u4e2a\u5f88\u57fa\u7840\u7684\u5de5\u4f5c\uff0c\u628a\u57fa\u7840\u505a\u597d\u4e86\uff0c\u5c31\u80fd\u76f8\u5f53\u7684\u63d0\u9ad8\u7cfb\u7edf\u5b89\u5168\u6027\uff0c\u5176\u4ed6\u7684\u5c31\u662f\u5b89\u5168\u9ad8\u624b\u505a\u7684\u4e86\u3002<\/p>\n \u56db\u3001\u65e5\u5e38\u76d1\u63a7<\/strong><\/div>\n 13\u3001\u7cfb\u7edf\u8fd0\u884c\u76d1\u63a7<\/strong><\/span><\/div>\n \u597d\u591a\u4eba\u8e0f\u5165\u8fd0\u7ef4\u90fd\u662f\u4ece\u76d1\u63a7\u505a\u8d77\uff0c\u5927\u7684\u516c\u53f8\u4e00\u822c\u90fd\u6709\u4e13\u4e1a24\u5c0f\u65f6\u76d1\u63a7\u8fd0\u7ef4\u3002\u7cfb\u7edf\u8fd0\u884c\u76d1\u63a7\u4e00\u822c\u5305\u62ec\u786c\u4ef6\u5360\u7528\u7387\uff0c\u5e38\u89c1\u7684\u6709\uff0c\u5185\u5b58\uff0c\u786c\u76d8\uff0cCPU\uff0c\u7f51\u5361\uff0cOS\u5305\u62ec\u767b\u5f55\u76d1\u63a7\uff0c\u7cfb\u7edf\u5173\u952e\u6587\u4ef6\u76d1\u63a7\u3002<\/p>\n \u5b9a\u671f\u7684\u76d1\u63a7\u53ef\u4ee5\u9884\u6d4b\u51fa\u786c\u4ef6\u635f\u574f\u7684\u6982\u7387\uff0c\u5e76\u4e14\u7ed9\u8c03\u4f18\u5e26\u6765\u5f88\u5b9e\u7528\u7684\u529f\u80fd\u3002<\/p>\n 14\u3001\u670d\u52a1\u8fd0\u884c\u76d1\u63a7<\/strong><\/span><\/div>\n \u670d\u52a1\u76d1\u63a7\u4e00\u822c\u5c31\u662f\u5404\u79cd\u5e94\u7528\uff0cWeb\uff0cDB\uff0cLVS\u7b49\uff0c\u8fd9\u4e00\u822c\u90fd\u662f\u76d1\u63a7\u4e00\u4e9b\u6307\u6807\u3002\u5728\u7cfb\u7edf\u51fa\u73b0\u6027\u80fd\u74f6\u9888\u7684\u65f6\u5019\u5c31\u80fd\u5f88\u5feb\u53d1\u73b0\u5e76\u89e3\u51b3\u3002<\/p>\n 15\u3001\u65e5\u5fd7\u76d1\u63a7<\/strong><\/span><\/div>\n \u8fd9\u91cc\u7684\u65e5\u5fd7\u76d1\u63a7\u8ddf\u5b89\u5168\u7684\u65e5\u5fd7\u76d1\u63a7\u7c7b\u4f3c\uff0c\u4f46\u8fd9\u91cc\u4e00\u822c\u90fd\u662f\u786c\u4ef6\uff0cOS\uff0c\u5e94\u7528\u7a0b\u5e8f\u7684\u62a5\u9519\u548c\u8b66\u62a5\u4fe1\u606f\u3002<\/p>\n \u76d1\u63a7\u5728\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u884c\u7684\u65f6\u5019\u786e\u5b9e\u6ca1\u5565\u7528\uff0c\u4f46\u662f\u4e00\u65e6\u51fa\u73b0\u95ee\u9898\uff0c\u4f60\u53c8\u6ca1\u505a\u76d1\u63a7\uff0c\u5c31\u4f1a\u5f88\u88ab\u52a8\u4e86\u3002<\/p>\n \u4e94\u3001\u6027\u80fd\u8c03\u4f18<\/strong><\/div>\n 16\u3001\u6df1\u5165\u4e86\u89e3\u8fd0\u884c\u673a\u5236<\/strong><\/span><\/div>\n \u5176\u5b9e\u6309\u4e00\u5e74\u591a\u7684\u8fd0\u7ef4\u7ecf\u9a8c\u6765\u8bf4\uff0c\u8c08\u8c03\u4f18\u6839\u672c\u5c31\u662f\u7eb8\u4e0a\u8c08\u5175\uff0c\u4f46\u662f\u6211\u53ea\u662f\u60f3\u7b80\u5355\u603b\u7ed3\u4e0b\uff0c\u5982\u679c\u6709\u66f4\u6df1\u5165\u7684\u4e86\u89e3\uff0c\u6211\u4f1a\u66f4\u65b0\u3002\u5728\u5bf9\u8f6f\u4ef6\u8fdb\u884c\u4f18\u5316\u4e4b\u524d\uff0c\u6bd4\u5982\u8981\u6df1\u5165\u4e86\u89e3\u4e00\u4e2a\u8f6f\u4ef6\u7684\u8fd0\u884c\u673a\u5236\uff0c\u6bd4\u5982Nginx\u548cApache\uff0c\u5927\u5bb6\u90fd\u8bf4Nginx\u5feb\uff0c\u90a3\u5c31\u5fc5\u987b\u77e5\u9053Nginx\u4e3a\u4ec0\u4e48\u5feb\uff0c\u5229\u7528\u4ec0\u4e48\u539f\u7406\uff0c\u5904\u7406\u8bf7\u6c42\u6bd4Apache\uff0c\u5e76\u4e14\u8981\u80fd\u8ddf\u522b\u4eba\u7528\u6d45\u663e\u6613\u61c2\u7684\u8bdd\u8bf4\u51fa\u6765\uff0c\u5fc5\u8981\u7684\u65f6\u5019\u8fd8\u8981\u80fd\u770b\u61c2\u6e90\u4ee3\u7801\uff0c\u5426\u5219\u4e00\u5207\u4ee5\u53c2\u6570\u4e3a\u8c03\u4f18\u5bf9\u8c61\u7684\u6587\u6863\u90fd\u662f\u778e\u8c08\u3002<\/p>\n 17\u3001\u8c03\u4f18\u6846\u67b6\u4ee5\u53ca\u5148\u540e<\/strong><\/span><\/div>\n \u719f\u6089\u4e86\u5e95\u5c42\u8fd0\u884c\u673a\u5236\uff0c\u5c31\u8981\u6709\u8c03\u4f18\u7684\u6846\u67b6\u548c\u5148\u540e\u987a\u5e8f\uff0c\u6bd4\u5982\u6570\u636e\u5e93\u51fa\u73b0\u74f6\u9888\uff0c\u597d\u591a\u4eba\u76f4\u63a5\u5c31\u53bb\u66f4\u6539\u6570\u636e\u5e93\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u6211\u7684\u5efa\u8bae\u662f\uff0c\u5148\u6839\u636e\u74f6\u9888\u53bb\u5206\u6790\uff0c\u67e5\u770b\u65e5\u5fd7\uff0c\u5199\u51fa\u6765\u8c03\u4f18\u65b9\u5411\uff0c\u7136\u540e\u518d\u5165\u624b\uff0c\u5e76\u4e14\u6570\u636e\u5e93\u670d\u52a1\u5668\u8c03\u4f18\u5e94\u8be5\u662f\u6700\u540e\u4e00\u6b65\uff0c\u6700\u5148\u7684\u5e94\u8be5\u662f\u786c\u4ef6\u548c\u64cd\u4f5c\u7cfb\u7edf\uff0c\u73b0\u5728\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\u90fd\u662f\u5728\u5404\u79cd\u6d4b\u8bd5\u4e4b\u540e\u624d\u4f1a\u53d1\u5e03\u7684<\/p>\n \u9002\u7528\u4e8e\u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4e0d\u5e94\u8be5\u5148\u4ece\u4ed6\u5165\u624b\u3002<\/p>\n 18\u3001\u6bcf\u6b21\u53ea\u8c03\u4e00\u4e2a\u53c2\u6570<\/strong><\/span><\/div>\n \u6bcf\u6b21\u53ea\u8c03\u4e00\u4e2a\u53c2\u6570\uff0c\u8fd9\u4e2a\u76f8\u6bd4\u5927\u5bb6\u90fd\u4e86\u89e3\uff0c\u8c03\u7684\u591a\u4e86\uff0c\u4f60\u5c31\u81ea\u5df1\u5c31\u8ff7\u7cca\u4e86\u3002<\/p>\n 19\u3001\u57fa\u51c6\u6d4b\u8bd5<\/strong><\/span><\/div>\n \u5224\u65ad\u8c03\u4f18\u662f\u5426\u6709\u7528\uff0c\u548c\u6d4b\u8bd5\u4e00\u4e2a\u65b0\u7248\u672c\u8f6f\u4ef6\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u7b49\u65b9\u9762\uff0c\u5c31\u5fc5\u987b\u8981\u57fa\u51c6\u6d4b\u8bd5\u4e86\uff0c\u6d4b\u8bd5\u8981\u6d89\u53ca\u5f88\u591a\u56e0\u7d20\u3002<\/p>\n \u6d4b\u8bd5\u662f\u5426\u63a5\u8fd1\u4e1a\u52a1\u771f\u5b9e\u9700\u6c42\u8fd9\u8981\u770b\u6d4b\u8bd5\u4eba\u7684\u7ecf\u9a8c\u4e86\uff0c\u76f8\u5173\u8d44\u6599\u5927\u5bb6\u53ef\u4ee5\u53c2\u8003\u300a\u9ad8\u6027\u80fdMySQL\u300b\u7b2c\u4e09\u7248\u76f8\u5f53\u7684\u597d\u3002<\/p>\n \u6211\u7684\u8001\u5e08\u66fe\u8bf4\u8fc7\uff0c\u6ca1\u6709\u653e\u4e4b\u56db\u6d77\u7686\u51c6\u7684\u53c2\u6570\uff0c\u4efb\u4f55\u53c2\u6570\u66f4\u6539\u4efb\u4f55\u8c03\u4f18\u90fd\u5fc5\u987b\u7b26\u5408\u4e1a\u52a1\u573a\u666f\uff0c\u6240\u4ee5\u4e0d\u8981\u518d\u8c37\u6b4c\u4ec0\u4e48\u4ec0\u4e48\u8c03\u4f18\u4e86\uff0c\u5bf9\u4f60\u7684\u63d0\u5347\u548c\u4e1a\u52a1\u73af\u5883\u7684\u6539\u5584\u6ca1\u6709\u957f\u4e45\u4f5c\u7528\u3002<\/p>\n \u516d\u3001\u8fd0\u7ef4\u5fc3\u6001<\/strong><\/div>\n 20\u3001\u63a7\u5236\u5fc3\u6001<\/strong><\/span><\/div>\n \u5f88\u591arm -rf \/data\u90fd\u5728\u4e0b\u73ed\u7684\u524d\u51e0\u5206\u949f\uff0c\u90fd\u5728\u70e6\u8e81\u7684\u9ad8\u5cf0\uff0c\u90a3\u4e48\u4f60\u8fd8\u4e0d\u6253\u7b97\u63a7\u5236\u4e0b\u4f60\u7684\u5fc3\u6001\u4e48\uff1f<\/p>\n \u6709\u4eba\u8bf4\u4e86\uff0c\u70e6\u8e81\u4e5f\u8981\u4e0a\u73ed\uff0c\u53ef\u662f\u4f60\u53ef\u4ee5\u5728\u70e6\u8e81\u7684\u65f6\u5019\u5c3d\u91cf\u907f\u514d\u5904\u7406\u5173\u952e\u6570\u636e\u73af\u5883\uff0c\u8d8a\u662f\u6709\u538b\u529b\uff0c\u8d8a\u8981\u51b7\u9759\uff0c\u4e0d\u7136\u4f1a\u635f\u5931\u66f4\u591a\u3002<\/p>\n \u5927\u591a\u4eba\u90fd\u6709rm -rf \/data\/mysql\u7684\u7ecf\u5386\uff0c\u53d1\u73b0\u5220\u9664\u4e4b\u540e\uff0c\u90a3\u79cd\u5fc3\u60c5\u4f60\u53ef\u4ee5\u60f3\u8c61\u4e00\u4e0b\uff0c\u53ef\u662f\u5982\u679c\u6ca1\u6709\u5907\u4efd\uff0c\u4f60\u6025\u53c8\u6709\u4ec0\u4e48\u7528\uff0c\u4e00\u822c\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f60\u5c31\u8981\u51b7\u9759\u60f3\u4e0b\u6700\u574f\u6253\u7b97\u4e86\uff0c\u5bf9\u4e8eMySQL\u6765\u8bf4\uff0c\u5220\u9664\u4e86\u7269\u7406\u6587\u4ef6\uff0c\u4e00\u90e8\u5206\u8868\u8fd8\u4f1a\u5b58\u5728\u5185\u5b58\u4e2d\uff0c\u6240\u4ee5\u65ad\u5f00\u4e1a\u52a1\uff0c\u4f46\u662f\u4e0d\u8981\u5173\u95edMySQL\u6570\u636e\u5e93\uff0c\u8fd9\u5bf9\u6062\u590d\u5f88\u6709\u5e2e\u52a9\uff0c\u5e76\u4f7f\u7528dd\u590d\u5236\u786c\u76d8\uff0c\u7136\u540e\u4f60\u518d\u8fdb\u884c\u6062\u590d\u3002<\/p>\n \u5f53\u7136\u4e86\u5927\u591a\u65f6\u5019\u4f60\u5c31\u53ea\u80fd\u627e\u6570\u636e\u6062\u590d\u516c\u53f8\u4e86\u3002<\/p>\n \u8bd5\u60f3\u4e00\u4e0b\uff0c\u6570\u636e\u88ab\u5220\u4e86\uff0c\u4f60\u5404\u79cd\u64cd\u4f5c\uff0c\u5173\u95ed\u6570\u636e\u5e93\uff0c\u7136\u540e\u4fee\u590d\uff0c\u4e0d\u4f46\u6709\u53ef\u80fd\u8986\u76d6\u6587\u4ef6\uff0c\u8fd8\u627e\u4e0d\u5230\u5185\u5b58\u4e2d\u7684\u8868\u4e86\u3002<\/p>\n 21\u3001\u5bf9\u6570\u636e\u8d1f\u8d23<\/strong><\/span><\/div>\n \u751f\u4ea7\u73af\u5883\u4e0d\u662f\u513f\u620f\uff0c\u6570\u636e\u5e93\u4e5f\u4e0d\u662f\u513f\u620f\uff0c\u4e00\u5b9a\u8981\u5bf9\u6570\u636e\u8d1f\u8d23\u3002\u4e0d\u5907\u4efd\u7684\u540e\u679c\u662f\u975e\u5e38\u4e25\u91cd\u7684\u3002<\/p>\n 22\u3001\u8ffd\u6839\u7a76\u5e95<\/strong><\/span><\/div>\n \u5f88\u591a\u8fd0\u7ef4\u4eba\u5458\u6bd4\u8f83\u5fd9\uff0c\u9047\u5230\u95ee\u9898\u89e3\u51b3\u5c31\u4e0d\u4f1a\u518d\u7ba1\u4e86\uff0c\u8bb0\u5f97\u53bb\u5e74\u4e00\u4e2a\u5ba2\u6237\u7684\u7f51\u7ad9\u8001\u662f\u6253\u4e0d\u5f00\uff0c\u7ecf\u8fc7PHP\u4ee3\u7801\u62a5\u9519\uff0c\u53d1\u73b0\u662fsession\u548cwhos_online\u635f\u574f\uff0c\u524d\u4efb\u8fd0\u7ef4\u662f\u901a\u8fc7repair\u4fee\u590d\u7684\uff0c\u6211\u5c31\u4e5f\u8fd9\u6837\u4fee\u590d\u4e86\uff0c\u4f46\u662f\u8fc7\u4e86\u51e0\u4e2a\u5c0f\u65f6\uff0c\u53c8\u51fa\u73b0\u4e86\u3002\u53cd\u590d\u4e09\u56db\u6b21\u4e4b\u540e\uff0c\u6211\u5c31\u53bb\u8c37\u6b4c\u6570\u636e\u5e93\u8868\u83ab\u540d\u635f\u574f\u539f\u56e0\uff1a\u4e00\u662fmyisam\u7684bug\uff0c\u4e8c\u662fmysqlbug\uff0c\u4e09\u662fMySQL\u5728\u5199\u5165\u8fc7\u7a0b\u4e2d\u88abkill\uff0c\u6700\u540e\u53d1\u73b0\u662f\u5185\u5b58\u4e0d\u591f\u7528\uff0c\u5bfc\u81f4OOM kill\u4e86mysqld\u8fdb\u7a0b\uff0c\u5e76\u4e14\u6ca1\u6709swap\u5206\u533a\uff0c\u540e\u53f0\u76d1\u63a7\u5185\u5b58\u662f\u591f\u7528\u7684\uff0c\u6700\u540e\u5347\u7ea7\u7269\u7406\u5185\u5b58\u89e3\u51b3\u3002<\/p>\n 23\u3001\u6d4b\u8bd5\u548c\u751f\u4ea7\u73af\u5883<\/strong><\/span><\/div>\n \u5728\u91cd\u8981\u64cd\u4f5c\u4e4b\u524d\u4e00\u5b9a\u8981\u770b\u81ea\u5df1\u6240\u5728\u7684\u673a\u5668\uff0c\u5c3d\u91cf\u907f\u514d\u591a\u5f00\u7a97\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u4ece\u4e8b\u8fd0\u7ef4\u4e09\u5e74\u534a\uff0c\u9047\u5230\u8fc7\u5404\u5f0f\u5404\u6837\u7684\u95ee\u9898\uff0c\u6570\u636e\u4e22\u5931\uff0c\u7f51\u7ad9\u6302\u9a6c\uff0c\u8bef\u5220\u6570\u636e\u5e93\u6587\u4ef6\uff0c\u9ed1\u5ba2\u653b\u51fb\u7b49\u5404\u7c7b\u95ee\u9898\u3002 \u4eca\u5929\u7b80\u5355\u6574\u7406\u4e00 […]<\/p>\n","protected":false},"author":1469,"featured_media":245603,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-245601","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1469"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=245601"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245601\/revisions"}],"predecessor-version":[{"id":246045,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/245601\/revisions\/246045"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/245603"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=245601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=245601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=245601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |