{"id":452,"date":"2025-09-27T09:26:21","date_gmt":"2025-09-27T09:26:21","guid":{"rendered":"https:\/\/anjir.top\/?p=452"},"modified":"2025-09-27T22:43:46","modified_gmt":"2025-09-27T14:43:46","slug":"%e7%95%99%e5%ad%98%e7%bd%91%e7%ab%99%e6%97%a5%e5%bf%97%e4%b8%8d%e5%b0%91%e4%ba%8e%e5%85%ad%e4%b8%aa%e6%9c%88%ef%bc%8c%e7%a1%ae%e4%bf%9d%e5%90%88%e6%b3%95%e5%90%88%e8%a7%84","status":"publish","type":"post","link":"https:\/\/anjir.top\/?p=452","title":{"rendered":"\u7559\u5b58\u7f51\u7ad9\u65e5\u5fd7\u4e0d\u5c11\u4e8e\u516d\u4e2a\u6708\uff0c\u786e\u4fdd\u5408\u6cd5\u5408\u89c4"},"content":{"rendered":"<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, 'Microsoft YaHei', PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;\" data-pm-slice=\"0 0 []\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u300a\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u7b2c\u4e8c\u5341\u4e00\u6761\u8981\u6c42\uff0c\u7f51\u7edc\u8fd0\u8425\u8005\u5e94\u6309\u7167\u89c4\u5b9a<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u7559\u5b58\u76f8\u5173\u7684\u7f51\u7edc\u65e5\u5fd7\u4e0d\u5c11\u4e8e\u516d\u4e2a\u6708<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u4e3a\u4e86\u786e\u4fdd\u5df2\u5907\u6848\u7684\u7f51\u7ad9\u5408\u6cd5\u5408\u89c4\uff0c\u6211\u4eec\u8fd8\u8981\u5b9a\u671f\u5907\u4efd\u7f51\u7ad9\u7684\u76f8\u5173\u65e5\u5fd7\uff0c\u5e76\u7559\u5b58\u4e0d\u5c11\u4e8e\u516d\u4e2a\u6708\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5bf9\u4e8e\u4e2a\u4eba\u7ad9\u957f\u6765\u8bf4\uff0c\u7f51\u7ad9\u642d\u5efa\u597d\uff0c\u8bbe\u7f6e\u7b80\u5355\u7684\u9632\u62a4\u540e\uff0c\u56e0\u4e3a\u7528\u6237\u91cf\u5c0f\u3001\u88ab\u5173\u6ce8\u5ea6\u5c0f\uff0c\u57fa\u672c\u4e0d\u4f1a\u6709\u4ec0\u4e48\u5927\u7684\u6545\u969c\uff0c\u6240\u4ee5\u5f88\u591a\u4eba\u4e0d\u4f1a\u53bb\u67e5\u770b\u7f51\u7ad9\u65e5\u5fd7\uff0c\u66f4\u4e0d\u4f1a\u53bb\u4fdd\u7559\u65e5\u5fd7\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5176\u5b9e\u9664\u4e86\u5408\u6cd5\u5408\u89c4\uff0c\u51fa\u4e8e\u5b89\u5168\u5206\u6790\u548c\u6545\u969c\u6392\u67e5\u7684\u76ee\u7684\uff0c\u6211\u4eec\u4e5f\u8fd8\u662f\u6709\u5fc5\u8981\u5b9a\u671f\u7559\u5b58\u76f8\u5173\u7f51\u7edc\u65e5\u5fd7\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u672c\u6587\u4e3b\u8981<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5206\u6790\u54ea\u4e9b\u65e5\u5fd7\u503c\u5f97\u6211\u4eec\u4fdd\u5b58<\/span><\/strong><span leaf=\"\">\uff0c\u4ee5\u53ca<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u8fd0\u7528<\/span><code style=\"color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;\"><span leaf=\"\">logrotate<\/span><\/code><span leaf=\"\">\u81ea\u52a8\u5316\u7ba1\u7406\u8981\u7559\u5b58\u7684\u65e5\u5fd7<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/p>\n<hr style=\"margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;\">\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u54ea\u4e9b\u65e5\u5fd7\u503c\u5f97\u4fdd\u5b58\uff1f<\/span><\/span><span style=\"display: none;\"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u770b\u8fc7\u6211\u4e4b\u524d\u6587\u7ae0\u7684\u8bfb\u8005\u5e94\u8be5\u77e5\u9053\uff0c\u6211\u7684\u7f51\u7ad9\uff1aanjir.top\uff0c\u662f\u5728Debian\u7cfb\u7edf\u4e0a\uff0c\u7528Docker\u642d\u5efa\u7684WordPress\u7f51\u7ad9\u3002\u6240\u4ee5\uff0c\u6211\u7684\u670d\u52a1\u5668\u4e0a\u4e3b\u8981\u6709<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u4e09\u5927\u65e5\u5fd7\u6765\u6e90\uff1aDebian \u7cfb\u7edf\u3001Docker \u670d\u52a1\u3001\u4ee5\u53ca WordPress \u5e94\u7528<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u4e0d\u662f\u6240\u6709\u65e5\u5fd7\u90fd\u503c\u5f97\u4fdd\u5b58\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u9488\u5bf9\u4e09\u5927\u65e5\u5fd7\u6765\u6e90\u505a\u5177\u4f53\u5206\u6790\u3002<\/span><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">Debian \u7cfb\u7edf\u4ea7\u751f\u7684\u6838\u5fc3\u65e5\u5fd7<\/span><\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u8fd9\u4e9b\u65e5\u5fd7\u8bb0\u5f55\u4e86\u64cd\u4f5c\u7cfb\u7edf\u7684\u5e95\u5c42\u6d3b\u52a8\uff0c\u662f\u6392\u67e5\u7cfb\u7edf\u7ea7\u95ee\u9898\u548c\u8fdb\u884c\u5b89\u5168\u5ba1\u8ba1\u7684\u57fa\u77f3\u3002\u5b83\u4eec\u901a\u5e38\u90fd\u4f4d\u4e8e<\/span><code style=\"color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;\"><span leaf=\"\">\/var\/log\/<\/span><\/code><span leaf=\"\">\u76ee\u5f55\u4e0b\u3002<\/span><\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">1. auth.log (\u8ba4\u8bc1\u65e5\u5fd7)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: \u7528\u6237\u767b\u5f55\uff08\u5305\u62ec SSH \u6210\u529f\/\u5931\u8d25\uff09\u3001sudo \u547d\u4ee4\u6267\u884c\u3001\u7528\u6237\/\u7ec4\u53d8\u66f4\u3001cron \u4efb\u52a1\u7684\u7528\u6237\u4f1a\u8bdd\u7b49\u6240\u6709\u4e0e\u7cfb\u7edf\u5b89\u5168\u548c\u7528\u6237\u8ba4\u8bc1\u76f8\u5173\u7684\u4e8b\u4ef6\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u6781\u5176\u91cd\u8981\uff01<\/span><\/strong><span leaf=\"\">\u00a0\u8fd9\u662f\u5b89\u5168\u5ba1\u8ba1\u7684<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u7b2c\u4e00\u624b\u8d44\u6599<\/span><\/strong><span leaf=\"\">\u3002\u4efb\u4f55\u4e00\u6b21\u5165\u4fb5\u5c1d\u8bd5\u6216\u672a\u6388\u6743\u7684\u6743\u9650\u63d0\u5347\uff0c\u90fd\u4f1a\u5728\u8fd9\u91cc\u7559\u4e0b\u75d5\u8ff9\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\uff0c\u5fc5\u987b\u5907\u4efd\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u8fd9\u76f8\u5f53\u4e8e\u670d\u52a1\u5668\u7684\u201c\u9ed1\u5323\u5b50\u201d\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">2. syslog (\u7cfb\u7edf\u4e3b\u65e5\u5fd7)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: \u5305\u7f57\u4e07\u8c61\uff0c\u8bb0\u5f55\u4e86\u4ece\u7cfb\u7edf\u542f\u52a8\u5230\u5173\u673a\u7684\u7edd\u5927\u591a\u6570\u975e\u8ba4\u8bc1\u7c7b\u4e8b\u4ef6\u3002\u5305\u62ec\u5185\u6838\u6d88\u606f\u3001\u670d\u52a1\u542f\u52a8\/\u505c\u6b62\u3001\u7f51\u7edc\u63a5\u53e3\u53d8\u5316\u3001\u786c\u4ef6\u9a71\u52a8\u4fe1\u606f\u7b49\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">: \u975e\u5e38\u91cd\u8981\u3002\u5f53\u670d\u52a1\u5668\u51fa\u73b0\u201c\u7591\u96be\u6742\u75c7\u201d\uff08\u6bd4\u5982\u65e0\u6545\u91cd\u542f\u3001\u67d0\u4e2a\u670d\u52a1\u65e0\u6cd5\u542f\u52a8\uff09\u65f6\uff0c\u8fd9\u91cc\u662f\u5bfb\u627e\u7ebf\u7d22\u7684\u9996\u9009\u4e4b\u5730\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\uff0c\u5f3a\u70c8\u5efa\u8bae\u5907\u4efd\u3002<\/span><\/strong><\/section>\n<\/li>\n<\/ul>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">3. ufw.log (\u9632\u706b\u5899\u65e5\u5fd7)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: UFW \u9632\u706b\u5899\u6240\u6709\u62e6\u622a\u548c\u653e\u884c\u7684\u7f51\u7edc\u8fde\u63a5\u8bb0\u5f55\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">: \u91cd\u8981\u3002\u901a\u8fc7\u5206\u6790\u88ab\u62e6\u622a\u7684\u8bf7\u6c42\uff0c\u53ef\u4ee5\u4e86\u89e3\u670d\u52a1\u5668\u6b63\u5728\u906d\u53d7\u54ea\u4e9b\u7c7b\u578b\u7684\u7f51\u7edc\u626b\u63cf\u548c\u653b\u51fb\uff0c\u4ece\u800c\u8c03\u6574\u9632\u706b\u5899\u7b56\u7565\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u63a8\u8350\u5907\u4efd\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u6784\u5efa\u66f4\u957f\u671f\u7684\u653b\u51fb\u8005\u753b\u50cf\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">4. dpkg.log \u548c apt\/history.log (\u8f6f\u4ef6\u5305\u7ba1\u7406\u65e5\u5fd7)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: dpkg.log \u8bb0\u5f55\u4e86\u6240\u6709\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u3001\u5347\u7ea7\u3001\u5220\u9664\u64cd\u4f5c\u3002apt\/history.log \u8bb0\u5f55\u4e86\u6267\u884c apt \u547d\u4ee4\u7684\u5386\u53f2\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">: \u4e2d\u7b49\u3002\u4e3b\u8981\u7528\u4e8e\u8ffd\u6eaf\u6211\u4eec\u5bf9\u670d\u52a1\u5668\u8f6f\u4ef6\u73af\u5883\u505a\u8fc7\u54ea\u4e9b\u53d8\u66f4\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">: \u53ef\u9009\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">5. fail2ban.log (Fail2ban \u65e5\u5fd7)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: Fail2ban \u670d\u52a1\u81ea\u8eab\u7684\u542f\u52a8\/\u505c\u6b62\u3001\u89c4\u5219\u52a0\u8f7d\u3001\u4ee5\u53ca\u6bcf\u4e00\u6b21\u5c01\u7981\u548c\u89e3\u5c01IP \u7684\u8be6\u7ec6\u8bb0\u5f55\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">: \u91cd\u8981\u3002\u5b83\u662f\u4e3b\u52a8\u9632\u5fa1\u7cfb\u7edf\u7684\u5de5\u4f5c\u62a5\u544a\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u63a8\u8350\u5907\u4efd\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u901a\u8fc7\u957f\u671f\u5206\u6790\uff0c\u6211\u4eec\u53ef\u4ee5\u4e86\u89e3\u54ea\u4e9b IP \u662f\u201c\u60ef\u72af\u201d\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">Docker \u670d\u52a1\u4ea7\u751f\u7684\u65e5\u5fd7<\/span><\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">Docker \u7684\u65e5\u5fd7\u6bd4\u8f83\u7279\u6b8a\uff0c\u5b83\u5206\u4e3a<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5b88\u62a4\u8fdb\u7a0b\u65e5\u5fd7<\/span><\/strong><span leaf=\"\">\u548c<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5bb9\u5668\u65e5\u5fd7<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">1. Docker \u5b88\u62a4\u8fdb\u7a0b\u65e5\u5fd7 (Daemon Log)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: Docker \u670d\u52a1 (dockerd) \u672c\u8eab\u7684\u8fd0\u884c\u60c5\u51b5\uff0c\u6bd4\u5982\u542f\u52a8\/\u505c\u6b62\u3001API \u8c03\u7528\u3001\u7f51\u7edc\u521b\u5efa\u3001\u955c\u50cf\u62c9\u53d6\/\u5220\u9664\u7b49\u5e95\u5c42\u64cd\u4f5c\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5982\u4f55\u67e5\u770b<\/span><\/strong><span leaf=\"\">: \u901a\u5e38\u7531 systemd \u7ba1\u7406\uff0c\u901a\u8fc7 journalctl -u docker.service \u67e5\u770b\u3002\u5b83\u4e00\u822c\u4e0d\u4f1a\u4ee5\u72ec\u7acb\u6587\u4ef6\u5f62\u5f0f\u957f\u671f\u5b58\u50a8\uff0c\u9664\u975e\u5355\u72ec\u914d\u7f6e\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">: \u4e2d\u7b49\u3002\u4e3b\u8981\u7528\u4e8e\u6392\u67e5 Docker \u670d\u52a1\u81ea\u8eab\u7684\u95ee\u9898\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u901a\u5e38\u4e0d\u9700\u8981\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u5b83\u7684\u4fe1\u606f\u65f6\u6548\u6027\u5f88\u5f3a\uff0c\u5bf9\u4e8e\u957f\u671f\u5ba1\u8ba1\u4ef7\u503c\u4e0d\u5927\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">2. \u5bb9\u5668\u65e5\u5fd7 (Container Logs)<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u8fd9\u662f\u6700\u91cd\u8981\u7684\u90e8\u5206\uff01<\/span><\/strong><span leaf=\"\">\u00a0\u5b83\u8bb0\u5f55\u4e86\u6bcf\u4e2a\u5bb9\u5668\u5185\u90e8\u5e94\u7528\u7a0b\u5e8f\u7684\u6807\u51c6\u8f93\u51fa (stdout) \u548c\u6807\u51c6\u9519\u8bef\u8f93\u51fa (stderr)\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u6211\u4eec\u5173\u5fc3\u7684\u662f<\/span><\/strong><span leaf=\"\">: nginx \u5bb9\u5668\u548c wordpress \u5bb9\u5668\u7684\u65e5\u5fd7\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u6211\u4eec\u662f\u5982\u4f55\u5904\u7406\u7684\uff1f<\/span><\/strong><\/section>\n<\/li>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">Nginx \u5bb9\u5668<\/span><\/strong><span leaf=\"\">: \u6211\u4eec\u5df2\u7ecf\u975e\u5e38\u660e\u667a\u5730\u901a\u8fc7 volumes \u6302\u8f7d\uff0c\u5c06 Nginx \u7684<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u8bbf\u95ee\u65e5\u5fd7 (access.log)<\/span><\/strong><span leaf=\"\">\u00a0\u548c\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u9519\u8bef\u65e5\u5fd7 (error.log)<\/span><\/strong><span leaf=\"\">\u00a0\uff0c\u4ece\u5bb9\u5668\u5185\u90e8\u7684 \/var\/log\/nginx \u76ee\u5f55\uff0c\u6c38\u4e45\u5730\u4fdd\u5b58\u5230\u4e86\u5bbf\u4e3b\u673a\u7684 \/root\/my_website\/nginx\/logs\/ \u76ee\u5f55\u4e0b\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">WordPress (PHP-FPM) \u5bb9\u5668<\/span><\/strong><span leaf=\"\">: PHP \u7684\u9519\u8bef\u548c echo\/print \u8f93\u51fa\uff0c\u4f1a\u76f4\u63a5\u8f93\u51fa\u5230\u5bb9\u5668\u7684\u6807\u51c6\u8f93\u51fa\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 docker compose logs wordpress \u6765\u67e5\u770b\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8fd9\u4e9b\u65e5\u5fd7\u662f\u4ee5 JSON \u683c\u5f0f\u5b58\u50a8\u5728 Docker \u7684\u5185\u90e8\u76ee\u5f55\u4e2d (\/var\/lib\/docker\/containers\/&#8230;)\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u91cd\u8981\u6027<\/span><\/strong><span leaf=\"\">:<\/span><\/section>\n<\/li>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">nginx\/access.log:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u6781\u5176\u91cd\u8981<\/span><\/strong><span leaf=\"\">\uff0c\u8bb0\u5f55\u4e86\u6240\u6709\u5bf9\u6211\u4eec\u7f51\u7ad9\u7684\u8bbf\u95ee\u8bf7\u6c42\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">nginx\/error.log:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u975e\u5e38\u91cd\u8981<\/span><\/strong><span leaf=\"\">\uff0c\u8bb0\u5f55\u4e86\u6240\u6709 Web \u670d\u52a1\u7684\u9519\u8bef\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">WordPress \u5bb9\u5668\u65e5\u5fd7: \u91cd\u8981\uff0c\u8bb0\u5f55\u4e86 PHP \u811a\u672c\u6267\u884c\u8fc7\u7a0b\u4e2d\u7684\u9519\u8bef\u548c\u8b66\u544a\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:<\/span><\/section>\n<\/li>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/root\/my_website\/nginx\/logs\/access.log:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\uff0c\u5fc5\u987b\u5907\u4efd\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u8fd9\u662f\u7f51\u7ad9\u7684\u751f\u547d\u7ebf\u3002<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/root\/my_website\/nginx\/logs\/error.log:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\uff0c\u5fc5\u987b\u5907\u4efd\u3002<\/span><\/strong><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">WordPress \u5bb9\u5668\u65e5\u5fd7:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u53ef\u9009\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u5bf9\u4e8e\u957f\u671f\u5907\u4efd\uff0c\u4ef7\u503c\u76f8\u5bf9\u8f83\u4f4e\u3002\u66f4\u91cd\u8981\u7684\u662f\u5728\u51fa\u73b0\u95ee\u9898\u65f6\u5b9e\u65f6\u67e5\u770b\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<\/ul>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">WordPress \u5e94\u7528\u4ea7\u751f\u7684\u65e5\u5fd7<\/span><\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">WordPress \u81ea\u8eab\u9ed8\u8ba4\u60c5\u51b5\u4e0b<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u4e0d\u4ea7\u751f<\/span><\/strong><span leaf=\"\">\u72ec\u7acb\u7684\u65e5\u5fd7\u6587\u4ef6\u3002\u5b83\u4f1a\u5c06 PHP \u9519\u8bef\u548c\u8b66\u544a\uff0c\u901a\u8fc7\u6211\u4eec\u4e0a\u9762\u8bf4\u7684\u65b9\u5f0f\uff0c\u8f93\u51fa\u5230\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">Docker \u5bb9\u5668\u65e5\u5fd7<\/span><\/strong><span leaf=\"\">\u4e2d\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u4f46\u662f\uff0c\u4e00\u4e9b<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5b89\u5168\u63d2\u4ef6<\/span><\/strong><span leaf=\"\">\u6216<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u8c03\u8bd5\u63d2\u4ef6<\/span><\/strong><span leaf=\"\">\u53ef\u80fd\u4f1a\u521b\u5efa\u81ea\u5df1\u7684\u65e5\u5fd7\u6587\u4ef6\uff0c\u901a\u5e38\u4f4d\u4e8e \/wp-content\/ \u6216 \/wp-content\/uploads\/ \u7684\u67d0\u4e2a\u5b50\u76ee\u5f55\u4e2d\u3002<\/span><\/p>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5185\u5bb9<\/span><\/strong><span leaf=\"\">: \u53d6\u51b3\u4e8e\u63d2\u4ef6\u3002\u53ef\u80fd\u662f\u5b89\u5168\u4e8b\u4ef6\u65e5\u5fd7\u3001\u6027\u80fd\u76d1\u63a7\u65e5\u5fd7\u7b49\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u662f\u5426\u503c\u5f97\u5907\u4efd<\/span><\/strong><span leaf=\"\">:\u00a0<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u53d6\u51b3\u4e8e\u5177\u4f53\u63d2\u4ef6\u7684\u91cd\u8981\u6027\u3002<\/span><\/strong><span leaf=\"\">\u00a0\u5c31\u6211\u4eec\u76ee\u524d\u7684\u7eaf\u51c0\u67b6\u6784\u800c\u8a00\uff0c<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u4e0d\u5b58\u5728<\/span><\/strong><span leaf=\"\">\u8fd9\u7c7b\u65e5\u5fd7\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u7efc\u4e0a\u5206\u6790\uff0c\u6211\u51b3\u5b9a\u5907\u4efd\u4e0b\u9762\u8fd9\u4e9b\u65e5\u5fd7<\/span><\/span><span style=\"display: none;\"><\/span><\/h3>\n<ol style=\"list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/var\/log\/auth.log: \u8c01\u5728\u5c1d\u8bd5\u767b\u5f55\u6211\u7684\u670d\u52a1\u5668\uff1f\uff08\u5fc5\u5907\uff09<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/root\/my_website\/nginx\/logs\/access.log: \u8c01\u5728\u8bbf\u95ee\u6211\u7684\u7f51\u7ad9\uff1f\uff08\u5fc5\u5907\uff09<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/root\/my_website\/nginx\/logs\/error.log: \u6211\u7684\u7f51\u7ad9\u51fa\u4e86\u4ec0\u4e48\u9519\uff1f\uff08\u5fc5\u5907\uff09<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/var\/log\/syslog: \u6211\u7684\u670d\u52a1\u5668\u6700\u8fd1\u5065\u5eb7\u5417\uff1f \u00a0\uff08\u63a8\u8350\uff09\u00a0<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/var\/log\/ufw.log: \u9632\u706b\u5899\u6700\u8fd1\u90fd\u62e6\u4e86\u4e9b\u4ec0\u4e48\uff1f \u00a0\uff08\u63a8\u8350\uff09<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/var\/log\/fail2ban.log: Fail2ban \u6700\u8fd1\u90fd\u5c01\u4e86\u8c01\uff1f\uff08\u63a8\u8350\uff09\u00a0<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/var\/log\/dpkg.log: \u6211\u6700\u8fd1\u88c5\u4e86\/\u5220\u4e86\u4ec0\u4e48\u8f6f\u4ef6\uff1f \u00a0\uff08\u53ef\u9009\uff09\u00a0<\/span><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\"><span leaf=\"\">\/var\/log\/apt\/history.log: \u6211\u6700\u8fd1\u6267\u884c\u4e86\u4ec0\u4e48 apt \u547d\u4ee4\uff1f\uff08\u53ef\u9009\uff09<\/span><\/section>\n<\/li>\n<\/ol>\n<hr style=\"margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;\">\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u8fd0\u7528<\/span><code><span leaf=\"\">logrotate<\/span><\/code><span leaf=\"\">\u81ea\u52a8\u5316\u7ba1\u7406\u65e5\u5fd7<\/span><\/span><span style=\"display: none;\"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><code style=\"color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;\"><span leaf=\"\">logrotate<\/span><\/code><span leaf=\"\">\u662f\u4e00\u4e2aLinux\u7cfb\u7edf\u9ed8\u8ba4\u5b89\u88c5\u4e86\u7684\u65e5\u5fd7\u6587\u4ef6\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u81ea\u52a8\u8f6e\u8f6c\u3001\u538b\u7f29\u3001\u5220\u9664\u65e5\u5fd7\u6587\u4ef6\u3002\u6211\u4eec\u53ef\u4ee5\u7528\u5b83\u6839\u636e\u65e5\u5fd7\u6587\u4ef6\u7684\u5927\u5c0f\u3001\u5929\u6570\u7b49\u6765\u8f6c\u50a8\uff0c\u4fbf\u4e8e\u5bf9\u65e5\u5fd7\u6587\u4ef6\u7ba1\u7406\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u4e3a\u4e86\u786e\u4fdd\u8981\u5907\u4efd\u7684\u65e5\u5fd7\u7559\u5b58\u4e0d\u5c11\u4e8e6\u4e2a\u6708\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7<\/span><code style=\"color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;\"><span leaf=\"\">logrotate<\/span><\/code><span leaf=\"\">\u914d\u7f6e\u6587\u4ef6<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u8ba9\u65e5\u5fd7\u6708\u5ea6\u8f6e\u8f6c\uff0c\u5e76\u4fdd\u75598\u4e2a\u6708<\/span><\/strong><span leaf=\"\">\uff0c\u8fd9\u6837\u5373\u4f7f\u6211\u4eec\u6ca1\u6709\u53ca\u65f6\u53bb\u670d\u52a1\u5668\u5907\u4efd\u65e5\u5fd7\uff0c\u4e5f\u53ef\u4ee5\u786e\u4fdd\u6709\u4e0d\u5c11\u4e8e6\u4e2a\u6708\u7684\u65e5\u5fd7\u6570\u636e\u3002<\/span><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u64cd\u4f5c\u6b65\u9aa4<\/span><\/span><span style=\"display: none;\"><\/span><\/h3>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">1. \u521b\u5efa\u5168\u5c40\u914d\u7f6e\u6587\u4ef6:<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: none;height: 30px;width: 100%;background-size: 40px;background-repeat: no-repeat;background-color: #282c34;margin-bottom: -7px;border-radius: 5px;background-position: 10px 10px;background-image: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/VHU8bI7BOJDLNQ3otibbYGL1Hgzzoc20HFPyp1cmqPC077fzuLMdH1z71oce0WDQn6NbvsveOvLQEhF1nict6IPRoTfgBj2gFS\/640?wx_fmt=svg&amp;from=appmsg\");'><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;\"><span leaf=\"\">nano \/etc\/logrotate.d\/zz-my-final-log-rules<\/span><span leaf=\"\"><br><\/span><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">2. \u7c98\u8d34\u914d\u7f6e\u5185\u5bb9:<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;\"><span data-cacheurl=\"\" data-remoteid=\"\" style='display: block;background: none;height: 30px;width: 100%;background-size: 40px;background-repeat: no-repeat;background-color: #282c34;margin-bottom: -7px;border-radius: 5px;background-position: 10px 10px;background-image: url(\"https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/VHU8bI7BOJDLNQ3otibbYGL1Hgzzoc20HFPyp1cmqPC077fzuLMdH1z71oce0WDQn6NbvsveOvLQEhF1nict6IPRoTfgBj2gFS\/640?wx_fmt=svg&amp;from=appmsg\");'><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;\"><span leaf=\"\"># =================================================================<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># \u00a0 \u00a0 \u00a0 \u00a0\u670d\u52a1\u5668\u5168\u5c40\u65e5\u5fd7\u8f6e\u8f6c\u7b56\u7565 (\u6708\u5ea6\u8f6e\u8f6c, \u4fdd\u75598\u4e2a\u6708)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># =================================================================<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># -----------------------------------------------------------------<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># 1. Nginx \u5e94\u7528\u65e5\u5fd7 (\u6211\u4eec\u7684\u7f51\u7ad9\u65e5\u5fd7)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># \u8def\u5f84: \/root\/my_website\/nginx\/logs\/<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># -----------------------------------------------------------------<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/root\/my_website\/nginx\/logs\/*.log {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u6bcf\u6708\u6267\u884c\u4e00\u6b21\u8f6e\u8f6c<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 monthly<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u4fdd\u7559\u6700\u8fd1\u7684 8 \u4efd\u8f6e\u8f6c\u540e\u7684\u65e5\u5fd7\u6587\u4ef6 (8\u4e2a\u6708)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 rotate 8<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u5982\u679c\u65e5\u5fd7\u6587\u4ef6\u4e3a\u7a7a\uff0c\u5219\u4e0d\u6267\u884c\u8f6e\u8f6c<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 notifempty<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u5982\u679c\u6307\u5b9a\u7684\u65e5\u5fd7\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u4e0d\u62a5\u9519<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 missingok<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u5bf9\u8f6e\u8f6c\u540e\u7684\u65e7\u65e5\u5fd7\u6587\u4ef6\u8fdb\u884c gzip \u538b\u7f29<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 compress<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u4e0d\u7acb\u5373\u538b\u7f29\u6700\u65b0\u7684\u90a3\u4efd\u8f6e\u8f6c\u65e5\u5fd7\uff0c\u7b49\u5230\u4e0b\u4e00\u6b21\u518d\u538b\u7f29<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 delaycompress<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u5148\u590d\u5236\u5185\u5bb9\u518d\u6e05\u7a7a\u539f\u6587\u4ef6\uff0c\u5bf9 Docker \u73af\u5883\u6700\u53cb\u597d<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 copytruncate<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u8bbe\u7f6e\u521b\u5efa\u65b0\u65e5\u5fd7\u6587\u4ef6\u7684\u6743\u9650<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 create 0644 root root<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># -----------------------------------------------------------------<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># 2. \u7cfb\u7edf\u6838\u5fc3\u65e5\u5fd7 (\u5b89\u5168\u5ba1\u8ba1\u4e0e\u7cfb\u7edf\u5065\u5eb7)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># \u5305\u62ec: auth.log, syslog, ufw.log, fail2ban.log<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># -----------------------------------------------------------------<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/var\/log\/auth.log<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/var\/log\/syslog<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/var\/log\/ufw.log<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/var\/log\/fail2ban.log {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u6bcf\u6708\u6267\u884c\u4e00\u6b21\u8f6e\u8f6c<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 monthly<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u4fdd\u7559\u6700\u8fd1\u7684 8 \u4efd\u8f6e\u8f6c\u540e\u7684\u65e5\u5fd7\u6587\u4ef6 (8\u4e2a\u6708)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 rotate 8<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 notifempty<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 missingok<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 compress<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 delaycompress<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u786e\u4fdd postrotate \u811a\u672c\u53ea\u5bf9\u6240\u6709\u5339\u914d\u6587\u4ef6\u6267\u884c\u4e00\u6b21<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 sharedscripts<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 # \u5728\u8f6e\u8f6c\u64cd\u4f5c\u5b8c\u6210\u540e\u6267\u884c\u7684\u547d\u4ee4<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 postrotate<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 # \u5411 rsyslog \u670d\u52a1\u53d1\u9001 HUP \u4fe1\u53f7\uff0c\u901a\u77e5\u5b83\u91cd\u65b0\u52a0\u8f7d\u65e5\u5fd7\u6587\u4ef6\u53e5\u67c4<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 if [ -f \/var\/run\/rsyslogd.pid ]; then<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 kill -HUP `cat \/var\/run\/rsyslogd.pid`<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 fi<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 # \u5411 fail2ban \u670d\u52a1\u53d1\u9001 HUP \u4fe1\u53f7 (\u67d0\u4e9b\u7248\u672c\u9700\u8981)<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 if [ -f \/var\/run\/fail2ban\/fail2ban.pid ]; then<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 kill -HUP `cat \/var\/run\/fail2ban\/fail2ban.pid`<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0 fi<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 endscript<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># -----------------------------------------------------------------<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># 3. (\u53ef\u9009) \u8f6f\u4ef6\u5305\u7ba1\u7406\u65e5\u5fd7<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># \u5305\u62ec: dpkg.log, apt\/history.log<\/span><span leaf=\"\"><br><\/span><span leaf=\"\"># -----------------------------------------------------------------<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/var\/log\/dpkg.log<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\/var\/log\/apt\/history.log {<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 monthly<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 rotate 8<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 notifempty<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 missingok<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 compress<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">\u00a0 \u00a0 delaycompress<\/span><span leaf=\"\"><br><\/span><span leaf=\"\">}<\/span><span leaf=\"\"><br><\/span><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">3. \u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5230\u8fd9\u81ea\u52a8\u5316\u65e5\u5fd7\u7ba1\u7406\u7cfb\u7edf\u5c31\u914d\u7f6e\u5b8c\u6bd5\u4e86\uff0c\u5b83\u4f1a\u6bcf\u6708\u81ea\u52a8\u5730\u5c06\u8fd9\u4e9b\u5173\u952e\u65e5\u5fd7\u6253\u5305\u538b\u7f29\uff0c\u5e76\u53ea\u4fdd\u7559\u6700\u8fd1 8 \u4e2a\u6708\u7684\u5386\u53f2\u8bb0\u5f55\u3002<\/span><\/p>\n<hr style=\"margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;\">\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u5c06\u76f8\u5173\u65e5\u5fd7\u5907\u4efd\u5230\u672c\u5730<\/span><\/span><span style=\"display: none;\"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u6211\u4eec\u5df2\u7ecf\u901a\u8fc7<\/span><code style=\"color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;\"><span leaf=\"\">logrotate<\/span><\/code><span leaf=\"\">\u6bcf\u4e2a\u6708\u5c06\u8981\u5907\u4efd\u7684\u65e5\u5fd7\u5206\u522b\u6253\u5305\u6210\u4e86.gz\u6587\u4ef6\uff0c\u6240\u4ee5\u53ea\u9700\u8981\u5b9a\u671f\uff08\u5efa\u8bae\u6bcf\u96946\u4e2a\u6708\uff09\u767b\u5f55\u670d\u52a1\u5668\uff0c\u5c06.gz\u6587\u4ef6\u4e0b\u8f7d\u4e0b\u6765\uff0c\u4fdd\u5b58\u5230\u672c\u5730\uff0c\u518d\u591a\u786c\u76d8\u5907\u4efd\uff0c\u5c31\u53ef\u4ee5\u786e\u4fdd\u201c\u7559\u5b58\u76f8\u5173\u7684\u7f51\u7edc\u65e5\u5fd7\u4e0d\u5c11\u4e8e\u516d\u4e2a\u6708\u201d\uff0c\u800c\u4e14\u53ef\u5b9e\u73b0\u7f51\u7ad9\u65e5\u5fd7\u7684\u6c38\u4e45\u4fdd\u5b58\u3002<\/span><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u6211\u4e60\u60ef\u7528FileZilla\u8fde\u63a5\u8fdc\u7a0b\u670d\u52a1\u5668\u8fdb\u884c\u8d44\u6e90\u4e0b\u8f7d\uff0c\u8fde\u63a5\u8fc7\u7a0b\u53c2\u8003\u6211\u4e4b\u524d\u5199\u7684\u8fd9\u7bc7\u6587\u7ae0\uff1a\u300a<a class=\"normal_text_link\" target=\"_blank\" style=\"\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MjM5NTAwNjI4Mg==&amp;mid=2247484105&amp;idx=1&amp;sn=f73429856757c7602334bdab4a728bc0&amp;scene=21#wechat_redirect\" textvalue=\"WordPress\u7f51\u7ad9\u901f\u5ea6\u4f18\u5316\uff08\u4e09\uff09\uff1a\u4e0a\u4f20favicon.ico\u56fe\u6807\uff0c\u5904\u7406\u975e\u5fc5\u8981301\u91cd\u5b9a\u5411\" data-itemshowtype=\"0\" linktype=\"text\" data-linktype=\"2\">WordPress\u7f51\u7ad9\u901f\u5ea6\u4f18\u5316\uff08\u4e09\uff09\uff1a\u4e0a\u4f20favicon.ico\u56fe\u6807\uff0c\u5904\u7406\u975e\u5fc5\u8981301\u91cd\u5b9a\u5411<\/a>\u300b\uff0c\u8fde\u63a5\u4e0a\u540e\uff0c\u518d\u4e0b\u8f7d\u6211\u4eec\u9700\u8981\u7684\u76f8\u5173\u65e5\u5fd7\u6587\u4ef6\u3002<\/span><\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u4e0b\u8f7d Nginx \u65e5\u5fd7:<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5728<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u53f3\u4fa7<\/span><\/strong><span leaf=\"\">\uff08\u670d\u52a1\u5668\uff09\u7a97\u53e3\u4e2d\uff0c\u5bfc\u822a\u5230 \/root\/my_website\/nginx\/logs\/ \u76ee\u5f55\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5728<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u5de6\u4fa7<\/span><\/strong><span leaf=\"\">\uff08\u672c\u5730\uff09\u7a97\u53e3\u4e2d\uff0c\u5bfc\u822a\u5230\u4f60\u60f3\u4fdd\u5b58\u65e5\u5fd7\u7684\u6587\u4ef6\u5939\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5728\u53f3\u4fa7\u7a97\u53e3\u4e2d\uff0c\u9009\u4e2d\u6240\u6709\u4ee5 .gz \u7ed3\u5c3e\u7684\u6587\u4ef6\uff0c\u7136\u540e<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u76f4\u63a5\u62d6\u62fd<\/span><\/strong><span leaf=\"\">\u5230\u5de6\u4fa7\u7a97\u53e3\u4e2d\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;\"><span leaf=\"\">\u4e0b\u8f7d\u7cfb\u7edf\u65e5\u5fd7:<\/span><\/span><span style=\"display: none;\"><\/span><\/h4>\n<ul style=\"list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u5728<\/span><strong style=\"color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;\"><span leaf=\"\">\u53f3\u4fa7<\/span><\/strong><span leaf=\"\">\u7a97\u53e3\u4e2d\uff0c\u5bfc\u822a\u5230 \/var\/log\/ \u76ee\u5f55\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\">\n<p style=\"color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;\"><span leaf=\"\">\u91cd\u590d\u4e0a\u9762\u7684\u62d6\u62fd\u64cd\u4f5c\uff0c\u5c06\u6240\u6709\u9700\u8981\u7684 .gz \u6587\u4ef6\u4e0b\u8f7d\u4e0b\u6765\u3002<\/span><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<\/section>\n<section><span leaf=\"\"><br \/><\/span><\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300a\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u7b2c\u4e8c\u5341\u4e00\u6761\u8981\u6c42\uff0c\u7f51\u7edc\u8fd0\u8425\u8005\u5e94\u6309\u7167\u89c4\u5b9a\u7559\u5b58\u76f8\u5173\u7684\u7f51\u7edc\u65e5\u5fd7\u4e0d\u5c11\u4e8e\u516d\u4e2a\u6708\u3002 \u4e3a\u4e86\u786e\u4fdd\u5df2\u5907\u6848\u7684\u7f51\u7ad9\u5408\u6cd5\u5408\u89c4\uff0c\u6211\u4eec\u8fd8\u8981\u5b9a\u671f\u5907\u4efd\u7f51\u7ad9\u7684\u76f8\u5173\u65e5\u5fd7\uff0c\u5e76\u7559\u5b58\u4e0d\u5c11\u4e8e\u516d\u4e2a\u6708\u3002 \u5bf9\u4e8e\u4e2a\u4eba\u7ad9\u957f\u6765\u8bf4\uff0c\u7f51\u7ad9\u642d\u5efa\u597d\uff0c\u8bbe\u7f6e\u7b80\u5355\u7684\u9632\u62a4\u540e\uff0c\u56e0\u4e3a\u7528\u6237\u91cf\u5c0f\u3001\u88ab\u5173\u6ce8\u5ea6\u5c0f\uff0c\u57fa\u672c\u4e0d\u4f1a\u6709\u4ec0\u4e48\u5927\u7684\u6545\u969c\uff0c\u6240\u4ee5\u5f88\u591a\u4eba\u4e0d\u4f1a\u53bb\u67e5\u770b\u7f51\u7ad9\u65e5\u5fd7\uff0c\u66f4\u4e0d\u4f1a\u53bb\u4fdd\u7559\u65e5\u5fd7\u3002 \u5176\u5b9e\u9664\u4e86\u5408\u6cd5\u5408\u89c4\uff0c\u51fa\u4e8e\u5b89\u5168\u5206\u6790\u548c\u6545\u969c\u6392\u67e5\u7684\u76ee\u7684\uff0c\u6211\u4eec\u4e5f\u8fd8\u662f\u6709\u5fc5\u8981\u5b9a\u671f\u7559 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[29,30,39],"class_list":["post-452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","tag-wordpress","tag-30","tag-39"],"_links":{"self":[{"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anjir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=452"}],"version-history":[{"count":1,"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":454,"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions\/454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/anjir.top\/index.php?rest_route=\/wp\/v2\/media\/453"}],"wp:attachment":[{"href":"https:\/\/anjir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anjir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anjir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}