{"id":50224,"date":"2025-02-06T09:51:36","date_gmt":"2025-02-06T07:51:36","guid":{"rendered":"https:\/\/linuxthebest.net\/?p=50224"},"modified":"2025-02-06T09:51:36","modified_gmt":"2025-02-06T07:51:36","slug":"yak-vstanoviti-logrotate-na-debian","status":"publish","type":"post","link":"https:\/\/linuxthebest.net\/uk\/yak-vstanoviti-logrotate-na-debian\/","title":{"rendered":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian"},"content":{"rendered":"<p>\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432&#8217;\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux. \u0424\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0445\u043e\u0447\u0430 \u0456 \u0432\u0430\u0436\u043b\u0438\u0432\u0456 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0442\u0430 \u0443\u0441\u0443\u043d\u0435\u043d\u043d\u044f \u043d\u0435\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u0456 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443, \u043c\u043e\u0436\u0443\u0442\u044c \u0448\u0432\u0438\u0434\u043a\u043e \u0437\u0430\u0439\u043c\u0430\u0442\u0438 \u043c\u0456\u0441\u0446\u0435 \u043d\u0430 \u0434\u0438\u0441\u043a\u0443, \u044f\u043a\u0449\u043e \u0457\u0445 \u043d\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044e\u0432\u0430\u0442\u0438. \u0421\u0430\u043c\u0435 \u0442\u0443\u0442 \u043d\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c Logrotate. Logrotate &#8211; \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u0443\u0442\u0438\u043b\u0456\u0442\u0430, \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0456\u0457 \u043f\u0440\u043e\u0446\u0435\u0441\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457, \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f, \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f \u0456 \u043d\u0430\u0432\u0456\u0442\u044c \u0440\u043e\u0437\u0441\u0438\u043b\u043a\u0438 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u0456\u0432. \u0423 \u0446\u044c\u043e\u043c\u0443 \u0434\u043e\u043a\u043b\u0430\u0434\u043d\u043e\u043c\u0443 \u043f\u043e\u0441\u0456\u0431\u043d\u0438\u043a\u0443 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e, \u044f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 Logrotate \u0443 Debian 12, \u0449\u043e\u0431 \u0432\u0430\u0448\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u043b\u0438\u0448\u0430\u043b\u0430\u0441\u044f \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u044e \u0442\u0430 \u043a\u0435\u0440\u043e\u0432\u0430\u043d\u043e\u044e.<\/p>\n<h3>\u0420\u043e\u0437\u0443\u043c\u0456\u043d\u043d\u044f Logrotate<\/h3>\n<p>Logrotate &#8211; \u0446\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430 \u0443\u0442\u0438\u043b\u0456\u0442\u0430, \u0449\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0443\u0454 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432. \u0412\u043e\u043d\u0430 \u0434\u0430\u0454 \u0437\u043c\u043e\u0433\u0443 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u043e\u0431\u0435\u0440\u0442\u0430\u0442\u0438, \u0441\u0442\u0438\u0441\u043a\u0430\u0442\u0438, \u0432\u0438\u0434\u0430\u043b\u044f\u0442\u0438 \u0456 \u0440\u043e\u0437\u0441\u0438\u043b\u0430\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0438 \u043d\u0430 \u043f\u0435\u0440\u0456\u043e\u0434\u0438\u0447\u043d\u0456\u0439 \u043e\u0441\u043d\u043e\u0432\u0456. \u0414\u043b\u044f \u0457\u0457 \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0432\u0430\u0436\u043b\u0438\u0432\u043e \u0440\u043e\u0437\u0443\u043c\u0456\u0442\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u0456 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438.<\/p>\n<h3>\u041e\u0441\u043d\u043e\u0432\u043d\u0456 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438<\/h3>\n<ul>\n<li>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457: \u041e\u0441\u043d\u043e\u0432\u043d\u0438\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 Logrotate &#8211; \/etc\/logrotate.conf. \u0426\u0435\u0439 \u0444\u0430\u0439\u043b \u0437\u0430\u0434\u0430\u0454 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432. \u041a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0456 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u043c\u043e\u0436\u0443\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0442\u0438 \u0446\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c.<\/li>\n<li>\u0420\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c: \u0424\u0430\u0439\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0440\u043e\u0437\u0442\u0430\u0448\u043e\u0432\u0430\u043d\u0456 \u0432 \/etc\/logrotate.conf \u0434\u043b\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0438\u0445 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u044c \u0456 \/etc\/logrotate.d\/ \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u0438\u043b, \u0441\u043f\u0435\u0446\u0438\u0444\u0456\u0447\u043d\u0438\u0445 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0443.<\/li>\n<li>\u041f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0456 \u0440\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0443 \u0441\u0442\u0430\u043d\u0443: Logrotate \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u0444\u0430\u0439\u043b \u0441\u0442\u0430\u043d\u0443, \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0440\u043e\u0437\u0442\u0430\u0448\u043e\u0432\u0430\u043d\u0438\u0439 \u0437\u0430 \u0430\u0434\u0440\u0435\u0441\u043e\u044e \/var\/lib\/logrotate\/status, \u0434\u043b\u044f \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0435\u043d\u043d\u044f \u0442\u043e\u0433\u043e, \u044f\u043a\u0456 \u0436\u0443\u0440\u043d\u0430\u043b\u0438 \u0431\u0443\u043b\u0438 \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0456. \u0426\u0435\u0439 \u0444\u0430\u0439\u043b \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0443\u0454 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u044e \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0456 \u0437\u0430\u043f\u043e\u0431\u0456\u0433\u0430\u0454 \u0434\u0443\u0431\u043b\u044e\u0432\u0430\u043d\u043d\u044e.<\/li>\n<li>\u0406\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0456\u044f \u0437 Cron: Logrotate \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0454\u0442\u044c\u0441\u044f \u044f\u043a \u0449\u043e\u0434\u0435\u043d\u043d\u0435 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f cron. \u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f cron \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0443\u0454 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f Logrotate, \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0440\u0430\u0437 \u043d\u0430 \u0434\u0435\u043d\u044c, \u0434\u043b\u044f \u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e \u0434\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b.<\/li>\n<\/ul>\n<h3>\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456 \u0443\u043c\u043e\u0432\u0438<\/h3>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c Logrotate \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u0432\u0430\u0448\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u043c \u0432\u0438\u043c\u043e\u0433\u0430\u043c. \u0414\u043e \u043d\u0438\u0445 \u043d\u0430\u043b\u0435\u0436\u0430\u0442\u044c \u043d\u0430\u044f\u0432\u043d\u0456\u0441\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u0445 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0442\u0430 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0438\u0445 \u043a\u043e\u043f\u0456\u0439 \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u0431\u0456\u0433\u0430\u043d\u043d\u044f \u0432\u0442\u0440\u0430\u0442\u0456 \u0434\u0430\u043d\u0438\u0445.<\/p>\n<ul>\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u0456 \u0432\u0438\u043c\u043e\u0433\u0438: Debian 12 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0431\u0443\u0442\u0438 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0438\u0439. \u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u043c\u0435\u0440\u0435\u0436\u0456 \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043f\u0430\u043a\u0435\u0442\u0456\u0432.<\/li>\n<li>\u041d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u043f\u0440\u0430\u0432\u0430: \u0414\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f Logrotate \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u043f\u0440\u0430\u0432\u0430 root \u0430\u0431\u043e sudo.<\/li>\n<li>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0456\u0457 \u0449\u043e\u0434\u043e \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f: \u041f\u0435\u0440\u0448 \u043d\u0456\u0436 \u0432\u043d\u043e\u0441\u0438\u0442\u0438 \u0437\u043c\u0456\u043d\u0438 \u0432 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0438, \u0437\u0430\u0432\u0436\u0434\u0438 \u0432\u0430\u0440\u0442\u043e \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0443 \u043a\u043e\u043f\u0456\u044e \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0445 \u0434\u0430\u043d\u0438\u0445 \u0456 \u0444\u0430\u0439\u043b\u0456\u0432 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457.<\/li>\n<li>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043d\u0430\u044f\u0432\u043d\u043e\u0457 \u0456\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u0457: \u0429\u043e\u0431 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438, \u0447\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0432\u0436\u0435 Logrotate, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">logrotate --version<\/code><\/pre>\n<p>\u042f\u043a\u0449\u043e Logrotate \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0432\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u0454\u0442\u0435 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443. \u0412 \u0456\u043d\u0448\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u0431\u0443\u0434\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u043e\u043c\u0435\u0440 \u0432\u0435\u0440\u0441\u0456\u0457.<\/p>\n<h2>\u041f\u0440\u043e\u0446\u0435\u0441<\/h2>\n<p>\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Logrotate \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043f\u0430\u043a\u0435\u0442\u0456\u0432 APT, \u0449\u043e \u0454 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u043d\u0430 \u0431\u0430\u0437\u0456 Debian. \u041e\u0441\u044c \u044f\u043a \u0446\u0435 \u0437\u0440\u043e\u0431\u0438\u0442\u0438:<\/p>\n<h3>\u041c\u0435\u0442\u043e\u0434 1: \u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u0456\u0432 APT<\/h3>\n<p><strong>\u041e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0441\u0445\u043e\u0432\u0438\u0449 \u043f\u0430\u043a\u0435\u0442\u0456\u0432:<\/strong> \u041f\u0435\u0440\u0435\u0434 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f \u043e\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u043f\u0438\u0441\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u0456\u0432. \u0426\u0435 \u0433\u0430\u0440\u0430\u043d\u0442\u0443\u0454, \u0449\u043e \u0432\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u0454\u0442\u0435 \u043e\u0441\u0442\u0430\u043d\u043d\u044e \u0432\u0435\u0440\u0441\u0456\u044e Logrotate \u0442\u0430 \u0439\u043e\u0433\u043e \u0437\u0430\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt update<\/code><\/pre>\n<p><strong>\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Logrotate:<\/strong> \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 apt install \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Logrotate. \u041f\u0440\u0430\u043f\u043e\u0440 -y \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0447\u0438 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u044f.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt install -y logrotate<\/code><\/pre>\n<p><strong>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f:<\/strong> \u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e Logrotate \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0432\u0448\u0438 \u0439\u043e\u0433\u043e \u0432\u0435\u0440\u0441\u0456\u044e.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">logrotate --version<\/code><\/pre>\n<p><strong>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457 \u043f\u0440\u043e \u0432\u0435\u0440\u0441\u0456\u044e:<\/strong> \u0423 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456 \u043c\u0430\u0454 \u0437&#8217;\u044f\u0432\u0438\u0442\u0438\u0441\u044f \u043d\u043e\u043c\u0435\u0440 \u0432\u0435\u0440\u0441\u0456\u0457 Logrotate, \u0449\u043e \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454 \u0443\u0441\u043f\u0456\u0448\u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">logrotate 3.21.0<\/code><\/pre>\n<h3>\u041c\u0435\u0442\u043e\u0434 2: \u0420\u0443\u0447\u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f (\u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f)<\/h3>\n<p>\u0420\u0443\u0447\u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f, \u044f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u043d\u0435\u043c\u0430\u0454 \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u0438\u0445 \u043f\u0440\u0438\u0447\u0438\u043d \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0456\u043b\u044f\u0446\u0456\u0457 \u0437 \u0432\u0438\u0445\u0456\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0443. \u0426\u0435\u0439 \u043c\u0435\u0442\u043e\u0434 \u0454 \u0431\u0456\u043b\u044c\u0448 \u0441\u043a\u043b\u0430\u0434\u043d\u0438\u043c \u0456 \u0432\u0438\u043c\u0430\u0433\u0430\u0454 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0438\u0445 \u043a\u0440\u043e\u043a\u0456\u0432.<\/p>\n<p><strong>\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0432\u0438\u0445\u0456\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0443:<\/strong> \u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0442\u0435 \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u0439 \u043a\u043e\u0434 Logrotate \u0437 \u043d\u0430\u0434\u0456\u0439\u043d\u043e\u0433\u043e \u0434\u0436\u0435\u0440\u0435\u043b\u0430. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 wget \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f tarball.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">wget https:\/\/example.com\/logrotate-3.22.0.tar.gz<\/code><\/pre>\n<p><strong>\u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0430:<\/strong> \u0417\u0430\u043c\u0456\u043d\u0456\u0442\u044c URL \u043d\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u043d\u0435 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f.<\/p>\n<p><strong>\u041a\u0440\u043e\u043a\u0438 \u043a\u043e\u043c\u043f\u0456\u043b\u044f\u0446\u0456\u0457:<\/strong> \u0420\u043e\u0437\u043f\u0430\u043a\u0443\u0439\u0442\u0435 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u0438\u0439 tarball \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438 tar -xvf.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">tar -xvf logrotate-3.22.0.tar.gz<\/code><\/pre>\n<p>\u0417\u043c\u0456\u043d\u0456\u0442\u044c \u0440\u043e\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043d\u0430 \u0432\u0438\u0442\u044f\u0433\u043d\u0443\u0442\u0443 \u043f\u0430\u043f\u043a\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438 cd.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cd logrotate-3.22.0<\/code><\/pre>\n<p>\u0421\u043a\u043e\u043c\u043f\u0456\u043b\u044e\u0439\u0442\u0435 \u0442\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c Logrotate \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438 .\/configure &amp;&amp; make &amp;&amp; sudo make install.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">.\/configure &amp;&amp; make &amp;&amp; sudo make install<\/code><\/pre>\n<p><strong>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f:<\/strong> \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f, \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0432\u0448\u0438 \u0432\u0435\u0440\u0441\u0456\u044e.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">logrotate --version<\/code><\/pre>\n<h3>\u0411\u0430\u0437\u043e\u0432\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f<\/h3>\n<p>\u0420\u043e\u0437\u0443\u043c\u0456\u043d\u043d\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0457 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0442\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0456\u0432 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0435 \u0434\u043b\u044f \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f Logrotate. \u0413\u043e\u043b\u043e\u0432\u043d\u0438\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 (\/etc\/logrotate.conf) \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f, \u044f\u043a-\u043e\u0442 \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0456 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432.<\/p>\n<h3>\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f<\/h3>\n<ul>\n<li>\u0420\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457: \u041e\u0441\u043d\u043e\u0432\u043d\u0438\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0437\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0437\u0430 \u0430\u0434\u0440\u0435\u0441\u043e\u044e \/etc\/logrotate.conf. \u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \/etc\/logrotate.d\/.<\/li>\n<li>\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u041f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f: \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0443 \u0444\u0430\u0439\u043b\u0456 \/etc\/logrotate.conf \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443 \u043f\u043e\u0432\u0435\u0434\u0456\u043d\u043a\u0443 Logrotate. \u0426\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457, \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f \u0456 \u0431\u0430\u0433\u0430\u0442\u043e \u0456\u043d\u0448\u043e\u0433\u043e.<\/li>\n<li>\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u0456 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438:\n<ul>\n<li>rotate count: \u0412\u043a\u0430\u0437\u0443\u0454 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0449\u043e \u0440\u043e\u0442\u0443\u044e\u0442\u044c\u0441\u044f, \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f.<\/li>\n<li>\u0449\u043e\u0434\u043d\u044f, \u0449\u043e\u0442\u0438\u0436\u043d\u044f, \u0449\u043e\u043c\u0456\u0441\u044f\u0446\u044f: \u0412\u0438\u0437\u043d\u0430\u0447\u0430\u0454 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432.<\/li>\n<li>\u0441\u0442\u0438\u0441\u043a\u0430\u0442\u0438: \u0421\u0442\u0438\u0441\u043a\u0430\u0454 \u0436\u0443\u0440\u043d\u0430\u043b\u0438, \u0449\u043e \u0440\u043e\u0442\u0443\u044e\u0442\u044c\u0441\u044f.<\/li>\n<li>delaycompress: \u0412\u0456\u0434\u043a\u043b\u0430\u0434\u0430\u0454 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457.<\/li>\n<li>missingok: \u042f\u043a\u0449\u043e \u0444\u0430\u0439\u043b \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456\u0439, \u043d\u0435 \u0432\u0438\u0434\u0430\u0432\u0430\u0442\u0438 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443.<\/li>\n<li>notifempty: \u041d\u0435 \u043e\u0431\u0435\u0440\u0442\u0430\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b, \u044f\u043a\u0449\u043e \u0432\u0456\u043d \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439.<\/li>\n<li>create mode owner group: \u0421\u0442\u0432\u043e\u0440\u044e\u0454 \u043d\u043e\u0432\u0438\u0439 \u0444\u0430\u0439\u043b \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0456\u0437 \u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u043c\u0438 \u0434\u043e\u0437\u0432\u043e\u043b\u0430\u043c\u0438, \u0432\u043b\u0430\u0441\u043d\u0438\u043a\u043e\u043c \u0456 \u0433\u0440\u0443\u043f\u043e\u044e.<\/li>\n<\/ul>\n<\/li>\n<li>\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0438 \u0440\u043e\u0442\u0430\u0446\u0456\u0457:Logrotate \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454 \u0440\u0456\u0437\u043d\u0456 \u0456\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0438 \u0440\u043e\u0442\u0430\u0446\u0456\u0457, \u0432\u043a\u043b\u044e\u0447\u043d\u043e \u0437\u0456 \u0449\u043e\u0434\u0435\u043d\u043d\u0438\u043c\u0438, \u0449\u043e\u0442\u0438\u0436\u043d\u0435\u0432\u0438\u043c\u0438 \u0442\u0430 \u0449\u043e\u043c\u0456\u0441\u044f\u0447\u043d\u0438\u043c\u0438. \u0412\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0434\u0430\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u0456\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0438 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u00ab\u0420\u043e\u0437\u043c\u0456\u0440\u00bb, \u044f\u043a\u0438\u0439 \u0440\u043e\u0442\u0443\u0454 \u0436\u0443\u0440\u043d\u0430\u043b\u0438 \u043f\u0456\u0441\u043b\u044f \u0434\u043e\u0441\u044f\u0433\u043d\u0435\u043d\u043d\u044f \u043d\u0438\u043c\u0438 \u043f\u0435\u0432\u043d\u043e\u0433\u043e \u0440\u043e\u0437\u043c\u0456\u0440\u0443.<\/li>\n<\/ul>\n<h3>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443<\/h3>\n<ul>\n<li>\/etc\/logrotate.conf \u043e\u0433\u043b\u044f\u0434: \u0426\u0435\u0439 \u0444\u0430\u0439\u043b \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0456 \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/etc\/logrotate.d.<\/li>\n<li>\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \/etc\/logrotate.d: \u0423 \u0446\u044c\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0434\u043b\u044f \u043e\u043a\u0440\u0435\u043c\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432 \u0430\u0431\u043e \u0441\u043b\u0443\u0436\u0431.<\/li>\n<li>\u0420\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0438\u0445 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439: \u0423 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \/etc\/logrotate.d\/ \u043c\u043e\u0436\u043d\u0430 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u0444\u0430\u0439\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u043f\u0435\u0432\u043d\u0438\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432.<\/li>\n<li>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u0434\u043e\u0437\u0432\u043e\u043b\u0456\u0432: \u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u0444\u0430\u0439\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u043c\u0430\u044e\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0456 \u0434\u043e\u0437\u0432\u043e\u043b\u0438 (\u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u043f\u0440\u0430\u0432\u0430 \u0432\u043b\u0430\u0441\u043d\u043e\u0441\u0442\u0456 root \u0456 \u0434\u043e\u0437\u0432\u043e\u043b\u0438 \u043d\u0430 \u0447\u0438\u0442\u0430\u043d\u043d\u044f \u0434\u043b\u044f root).<\/li>\n<\/ul>\n<h3>\u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0438\u0445 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439<\/h3>\n<p>\u0414\u043b\u044f \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u0435\u0432\u043d\u0438\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u043c\u043e\u0436\u043d\u0430 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u0444\u0430\u0439\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \/etc\/logrotate.d\/. \u0426\u0456 \u0444\u0430\u0439\u043b\u0438 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u044c \u043f\u043e\u043b\u0456\u0442\u0438\u043a\u0438 \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0434\u043b\u044f \u043e\u043a\u0440\u0435\u043c\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0437\u0430 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e\u0441\u0442\u0456 \u043f\u0435\u0440\u0435\u0432\u0438\u0437\u043d\u0430\u0447\u0430\u044e\u0447\u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f.<\/p>\n<h3>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f<\/h3>\n<ul>\n<li>\u041e\u0441\u043d\u043e\u0432\u043d\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441: \u041a\u043e\u0436\u0435\u043d \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0441\u043a\u043b\u0430\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u0431\u043b\u043e\u043a\u0443, \u0432 \u044f\u043a\u043e\u043c\u0443 \u0432\u043a\u0430\u0437\u0443\u0454\u0442\u044c\u0441\u044f \u0448\u043b\u044f\u0445 \u0434\u043e \u0444\u0430\u0439\u043b\u0443 \u0436\u0443\u0440\u043d\u0430\u043b\u0443, \u0456 \u043d\u0430\u0431\u043e\u0440\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432.<\/li>\n<li>\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u0456 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0438:\n<ul>\n<li>rotate: \u0412\u043a\u0430\u0437\u0443\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0441\u0442\u0430\u0440\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0441\u043b\u0456\u0434 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438.<\/li>\n<li>\u0449\u043e\u0434\u043d\u044f, \u0449\u043e\u0442\u0438\u0436\u043d\u044f, \u0449\u043e\u043c\u0456\u0441\u044f\u0446\u044f: \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454 \u0456\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0440\u043e\u0442\u0430\u0446\u0456\u0457.<\/li>\n<li>compress: \u0412\u043c\u0438\u043a\u0430\u0454 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0449\u043e \u0440\u043e\u0442\u0443\u044e\u0442\u044c\u0441\u044f.<\/li>\n<li>missingok: \u0417\u0430\u043f\u043e\u0431\u0456\u0433\u0430\u0454 \u043f\u043e\u043c\u0438\u043b\u043a\u0430\u043c, \u044f\u043a\u0449\u043e \u0444\u0430\u0439\u043b \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456\u0439.<\/li>\n<li>notifempty: \u041f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0454 \u0440\u043e\u0442\u0430\u0446\u0456\u044e, \u044f\u043a\u0449\u043e \u0444\u0430\u0439\u043b \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439.<\/li>\n<li>create: \u0421\u0442\u0432\u043e\u0440\u044e\u0454 \u043d\u043e\u0432\u0438\u0439 \u0444\u0430\u0439\u043b \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457.<\/li>\n<\/ul>\n<\/li>\n<li>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457:\u0429\u043e\u0431 \u0449\u043e\u0434\u043d\u044f \u0440\u043e\u0442\u0443\u0432\u0430\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 Apache, \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0447\u0438 5 \u0441\u0442\u0430\u0440\u0438\u0445 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0441\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u0444\u0430\u0439\u043b \/etc\/logrotate.d\/apache2 \u0437 \u0442\u0430\u043a\u0438\u043c \u0432\u043c\u0456\u0441\u0442\u043e\u043c:<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">\/var\/log\/apache2\/*.log {\n  daily\n  rotate 5\n  missingok\n  notifempty\n  compress\n  delaycompress\n  create 0640 root adm\n }\n <\/code><\/pre>\n<p>\u0426\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u0449\u043e\u0434\u043d\u044f \u043f\u043e\u0432\u0435\u0440\u0442\u0430\u0454 \u0432\u0441\u0456 .log-\u0444\u0430\u0439\u043b\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \/var\/log\/apache2\/, \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043e\u0441\u0442\u0430\u043d\u043d\u0456 5 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0456 \u0441\u0442\u0438\u0441\u043a\u0430\u0454 \u0441\u0442\u0430\u0440\u0456.<\/p>\n<ul>\n<li>\u0422\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439:\u0429\u043e\u0431 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 logrotate \u0437 \u043e\u043f\u0446\u0456\u044f\u043c\u0438 -d (debug) \u0456 -f (force). \u0426\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Logrotate \u0443 \u0440\u0435\u0436\u0438\u043c\u0456 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f, \u043d\u0435 \u0432\u043d\u043e\u0441\u044f\u0447\u0438 \u0436\u043e\u0434\u043d\u0438\u0445 \u0437\u043c\u0456\u043d \u0434\u043e \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">sudo logrotate -d -f \/etc\/logrotate.d\/apache2<\/code><\/pre>\n<h3>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u043e-\u043d\u0435\u0437\u0430\u043b\u0435\u0436\u043d\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f<\/h3>\n<ul>\n<li>\u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u0444\u0430\u0439\u043b\u0438 \u0441\u0442\u0430\u043d\u0443:\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0438\u0439 \u0444\u0430\u0439\u043b \u0441\u0442\u0430\u043d\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043e\u043f\u0446\u0456\u0457 -s. \u0426\u0435 \u043a\u043e\u0440\u0438\u0441\u043d\u043e \u043f\u0456\u0434 \u0447\u0430\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u0445 \u0435\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0456\u0432 Logrotate \u0437 \u0440\u0456\u0437\u043d\u0438\u043c\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f\u043c\u0438.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">sudo logrotate -s \/var\/lib\/logrotate\/apache2.status \/etc\/logrotate.d\/apache2<\/code><\/pre>\n<ul>\n<li>\u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457:\u0421\u0442\u0432\u043e\u0440\u0456\u0442\u044c \u0444\u0430\u0439\u043b\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \/etc\/logrotate.d\/ \u0437 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438. \u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u0444\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u043d\u0430\u043b\u0435\u0436\u0430\u0442\u044c \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u0432\u0456, \u044f\u043a\u0438\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0454 \u0434\u043e\u0434\u0430\u0442\u043e\u043a.<\/li>\n<li>\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f Cron:Logrotate \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0454\u0442\u044c\u0441\u044f \u044f\u043a \u0449\u043e\u0434\u0435\u043d\u043d\u0435 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f cron. \u0424\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 cron \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0437\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0437\u0430 \u0430\u0434\u0440\u0435\u0441\u043e\u044e \/etc\/cron.daily\/logrotate. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u0446\u0435\u0439 \u0444\u0430\u0439\u043b, \u0449\u043e\u0431 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0440\u043e\u0437\u043a\u043b\u0430\u0434 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f, \u0430\u043b\u0435 \u0449\u043e\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0434\u043e\u0441\u0442\u0430\u0442\u043d\u044c\u043e.<\/li>\n<li>\u0422\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430:\u041f\u0456\u0441\u043b\u044f \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439 \u0440\u0435\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0443\u0439\u0442\u0435 \u0457\u0445 \u0443 \u0440\u0435\u0436\u0438\u043c\u0456 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432\u043e\u043d\u0438 \u043f\u0440\u0430\u0446\u044e\u044e\u0442\u044c \u0442\u0430\u043a, \u044f\u043a \u043e\u0447\u0456\u043a\u0443\u0432\u0430\u043b\u043e\u0441\u044f. \u0412\u0456\u0434\u0441\u0442\u0435\u0436\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0440\u043e\u0442\u0430\u0446\u0456\u044f \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/li>\n<\/ul>\n<h3>\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456<\/h3>\n<p>Logrotate \u043f\u0440\u043e\u043f\u043e\u043d\u0443\u0454 \u043a\u0456\u043b\u044c\u043a\u0430 \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0456\u0439, \u044f\u043a\u0456 \u0434\u0430\u044e\u0442\u044c \u0437\u043c\u043e\u0433\u0443 \u0431\u0456\u043b\u044c\u0448 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044e\u0432\u0430\u0442\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438. \u0414\u043e \u043d\u0438\u0445 \u043d\u0430\u043b\u0435\u0436\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u0438 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f, \u043f\u043e\u043b\u0456\u0442\u0438\u043a\u0438 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f, \u0441\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u044e \u043f\u043e\u0448\u0442\u043e\u044e \u0442\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457 \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457.<\/p>\n<h3>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u043e\u0431\u0435\u0440\u0442\u0430\u043d\u043d\u044f<\/h3>\n<ul>\n<li>\u041c\u0435\u0442\u043e\u0434\u0438 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f:Logrotate \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454 \u0440\u0456\u0437\u043d\u0456 \u043c\u0435\u0442\u043e\u0434\u0438 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f, \u0437\u043e\u043a\u0440\u0435\u043c\u0430 gzip, bzip2 \u0456 xz. \u0417\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f gzip, \u044f\u043a\u0438\u0439 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0443\u0454 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0431\u0430\u043b\u0430\u043d\u0441 \u043c\u0456\u0436 \u0441\u0442\u0443\u043f\u0435\u043d\u0435\u043c \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f \u0456 \u0448\u0432\u0438\u0434\u043a\u0456\u0441\u0442\u044e. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u0456\u043d\u0448\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432 compresscmd \u0456 uncompresscmd.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">compresscmd \/usr\/bin\/gzip\nuncompresscmd \/usr\/bin\/gunzip<\/code><\/pre>\n<ul>\n<li>\u041f\u043e\u043b\u0456\u0442\u0438\u043a\u0438 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f:\u0414\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430 rotate \u0432\u043a\u0430\u0437\u0443\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0441\u0442\u0430\u0440\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0441\u043b\u0456\u0434 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, rotate 7 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043e\u0441\u0442\u0430\u043d\u043d\u0456 7 \u0440\u043e\u0442\u043e\u0432\u0430\u043d\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0443. \u0412\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 maxage, \u0449\u043e\u0431 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u0432\u0456\u043a \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0432 \u0434\u043d\u044f\u0445. \u0424\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0441\u0442\u0430\u0440\u0448\u0435 \u0446\u044c\u043e\u0433\u043e \u0432\u0456\u043a\u0443 \u0431\u0443\u0434\u0443\u0442\u044c \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u0456 \u043d\u0435\u0437\u0430\u043b\u0435\u0436\u043d\u043e \u0432\u0456\u0434 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f rotate.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">rotate 7\nmaxage 30<\/code><\/pre>\n<p>\u0426\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043e\u0441\u0442\u0430\u043d\u043d\u0456 7 \u0440\u043e\u0442\u043e\u0432\u0430\u043d\u0438\u0445 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0456 \u0432\u0438\u0434\u0430\u043b\u044f\u0454 \u0432\u0441\u0456 \u0436\u0443\u0440\u043d\u0430\u043b\u0438, \u0441\u0442\u0430\u0440\u0448\u0456 \u0437\u0430 30 \u0434\u043d\u0456\u0432.<\/p>\n<ul>\n<li>\u041f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u044e \u043f\u043e\u0448\u0442\u043e\u044e:Logrotate \u043c\u043e\u0436\u0435 \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u0442\u0438 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u044e \u043f\u043e\u0448\u0442\u043e\u044e \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432. \u0417\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0438 mail \u043c\u043e\u0436\u043d\u0430 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u0443 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0457 \u043f\u043e\u0448\u0442\u0438 \u0434\u043b\u044f \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u044c. \u0414\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430 mailfirst \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0434\u043e \u0440\u043e\u0442\u0430\u0446\u0456\u0457, \u0430 maillast &#8211; \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">mail admin@example.com\nmaillast<\/code><\/pre>\n<p>\u0426\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u0454 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u044e \u043f\u043e\u0448\u0442\u043e\u044e \u043d\u0430 \u0430\u0434\u0440\u0435\u0441\u0443 admin@example.com \u043f\u0456\u0441\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0457 \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0436\u0443\u0440\u043d\u0430\u043b\u0443.<\/p>\n<ul>\n<li>\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0457 \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457:\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0438 prerotate, postrotate, firstaction \u0456 lastaction \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457\u0432 \u0434\u043e \u0456 \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0436\u0443\u0440\u043d\u0430\u043b\u0443. \u0426\u0456 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457 \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0432\u0434\u0430\u043d\u044c, \u044f\u043a \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u043b\u0443\u0436\u0431, \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439 \u0430\u0431\u043e \u0430\u0440\u0445\u0456\u0432\u0443\u0432\u0430\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432. \u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0457 \u043c\u0430\u044e\u0442\u044c \u0431\u0443\u0442\u0438 \u0443\u043a\u043b\u0430\u0434\u0435\u043d\u0456 \u0443 \u0444\u0456\u0433\u0443\u0440\u043d\u0456 \u0434\u0443\u0436\u043a\u0438 {}.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">postrotate\n\/usr\/sbin\/apache2ctl graceful\nendscript<\/code><\/pre>\n<p>\u0426\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u0432\u0438\u0442\u043e\u043d\u0447\u0435\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0454 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 Apache \u043f\u0456\u0441\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0443 \u0436\u0443\u0440\u043d\u0430\u043b\u0443.<\/p>\n<h3>\u041f\u043e\u0441\u0456\u0431\u043d\u0438\u043a \u0437 \u0443\u0441\u0443\u043d\u0435\u043d\u043d\u044f \u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043e\u043a<\/h3>\n<p>\u041d\u0430\u0432\u0456\u0442\u044c \u0437\u0430 \u0440\u0435\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043c\u043e\u0436\u0443\u0442\u044c \u0432\u0438\u043d\u0438\u043a\u043d\u0443\u0442\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438. \u0422\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0434\u0435\u044f\u043a\u0456 \u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0442\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0438 \u0457\u0445 \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f.<\/p>\n<ul>\n<li>\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u0456 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438:\n<ul>\n<li>\u0416\u0443\u0440\u043d\u0430\u043b\u0438 \u043d\u0435 \u043e\u0431\u0435\u0440\u0442\u0430\u044e\u0442\u044c\u0441\u044f: \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0442\u0430 \u0441\u0442\u0430\u043d \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f cron.<\/li>\n<li>\u041f\u043e\u043c\u0438\u043b\u043a\u0438 \u0434\u043e\u0437\u0432\u043e\u043b\u0443: \u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e Logrotate \u043c\u0430\u0454 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u0434\u043e\u0437\u0432\u043e\u043b\u0438 \u043d\u0430 \u0447\u0438\u0442\u0430\u043d\u043d\u044f \u0456 \u0437\u0430\u043f\u0438\u0441 \u0444\u0430\u0439\u043b\u0456\u0432 \u0456 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432.<\/li>\n<li>\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u0440\u043e\u0442\u0430\u0446\u0456\u0457: \u0414\u0432\u0456\u0447\u0456 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0456\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0432 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0456.<\/li>\n<\/ul>\n<\/li>\n<li>\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0440\u0435\u0436\u0438\u043c\u0443 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f:\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 -d \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0443 Logrotate \u0443 \u0440\u0435\u0436\u0438\u043c\u0456 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f. \u041f\u0440\u0438 \u0446\u044c\u043e\u043c\u0443 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454\u0442\u044c\u0441\u044f \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f \u043f\u0440\u043e \u0442\u0435, \u0449\u043e \u0440\u043e\u0431\u0438\u0442\u044c Logrotate, \u043d\u0435 \u0432\u043d\u043e\u0441\u044f\u0447\u0438 \u0436\u043e\u0434\u043d\u0438\u0445 \u0437\u043c\u0456\u043d.<\/li>\n<\/ul>\n<pre><code class=\"language-bash\" data-line=\"\">sudo logrotate -d \/etc\/logrotate.conf<\/code><\/pre>\n<ul>\n<li>\u0410\u043d\u0430\u043b\u0456\u0437 \u0436\u0443\u0440\u043d\u0430\u043b\u0443:\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0456 \u0436\u0443\u0440\u043d\u0430\u043b\u0438 \u043d\u0430 \u043d\u0430\u044f\u0432\u043d\u0456\u0441\u0442\u044c \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u044c \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0438, \u043f\u043e\u0432&#8217;\u044f\u0437\u0430\u043d\u0456 \u0437 Logrotate. \u0426\u0456 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043c\u043e\u0436\u0443\u0442\u044c \u0434\u0430\u0442\u0438 \u0446\u0456\u043d\u043d\u0456 \u043f\u0456\u0434\u043a\u0430\u0437\u043a\u0438 \u043f\u0440\u043e \u0442\u0435, \u0449\u043e \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u043d\u0435 \u0442\u0430\u043a. \u0416\u0443\u0440\u043d\u0430\u043b\u0438 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0440\u043e\u0437\u0442\u0430\u0448\u043e\u0432\u0443\u044e\u0442\u044c\u0441\u044f \u0432 \/var\/log\/syslog \u0430\u0431\u043e \/var\/log\/messages.<\/li>\n<li>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0437 \u0434\u043e\u0437\u0432\u043e\u043b\u0430\u043c\u0438:\u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u043f\u0440\u043e\u0446\u0435\u0441 Logrotate \u043c\u0430\u0454 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0456 \u0434\u043e\u0437\u0432\u043e\u043b\u0438 \u043d\u0430 \u0434\u043e\u0441\u0442\u0443\u043f \u0456 \u0437\u043c\u0456\u043d\u0443 \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0443. \u0424\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u043d\u0430\u043b\u0435\u0436\u0430\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u0432\u0456, \u0434\u043e \u044f\u043a\u043e\u0433\u043e Logrotate \u043c\u043e\u0436\u0435 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f, \u0430\u0431\u043e \u043f\u0440\u043e\u0446\u0435\u0441 Logrotate \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u0438\u0441\u044f \u0432\u0456\u0434 \u0456\u043c\u0435\u043d\u0456 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0437 \u0434\u043e\u0441\u0442\u0430\u0442\u043d\u0456\u043c\u0438 \u043f\u0440\u0438\u0432\u0456\u043b\u0435\u044f\u043c\u0438.<\/li>\n<\/ul>\n<h3>\u041d\u0430\u0439\u043a\u0440\u0430\u0449\u0456 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438<\/h3>\n<p>\u0414\u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u043d\u0430\u0439\u043a\u0440\u0430\u0449\u0438\u0445 \u043f\u0440\u0430\u043a\u0442\u0438\u043a \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0443\u0454 \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0443 \u0442\u0430 \u0431\u0435\u0437\u043f\u0435\u0447\u043d\u0443 \u0440\u043e\u0431\u043e\u0442\u0443 Logrotate.<\/p>\n<ul>\n<li>\u041c\u0456\u0440\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0431\u0435\u0437\u043f\u0435\u043a\u0438:\u041e\u0431\u043c\u0435\u0436\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0444\u0430\u0439\u043b\u0456\u0432 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 Logrotate, \u0449\u043e\u0431 \u0437\u0430\u043f\u043e\u0431\u0456\u0433\u0442\u0438 \u043d\u0435\u0441\u0430\u043d\u043a\u0446\u0456\u043e\u043d\u043e\u0432\u0430\u043d\u0438\u043c \u0437\u043c\u0456\u043d\u0430\u043c. \u041f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0439\u0442\u0435\u0441\u044f, \u0449\u043e \u0444\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0432 \u0431\u0435\u0437\u043f\u0435\u0447\u043d\u043e\u043c\u0443 \u043c\u0456\u0441\u0446\u0456 \u0437 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u043c\u0438 \u0434\u043e\u0437\u0432\u043e\u043b\u0430\u043c\u0438.<\/li>\n<li>\u041e\u043f\u0442\u0438\u043c\u0456\u0437\u0430\u0446\u0456\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0456:\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f, \u0449\u043e\u0431 \u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0443, \u0430\u043b\u0435 \u043f\u0430\u043c&#8217;\u044f\u0442\u0430\u0439\u0442\u0435 \u043f\u0440\u043e \u043d\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u043e\u0440. \u0420\u043e\u0437\u0433\u043b\u044f\u043d\u044c\u0442\u0435 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f delaycompress, \u0449\u043e\u0431 \u0432\u0456\u0434\u043a\u043b\u0430\u0441\u0442\u0438 \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457. \u0423\u043d\u0438\u043a\u0430\u0439\u0442\u0435 \u0437\u0430\u043d\u0430\u0434\u0442\u043e \u0447\u0430\u0441\u0442\u0438\u0445 \u0456\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0456\u0432 \u0440\u043e\u0442\u0430\u0446\u0456\u0457, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0446\u0435 \u043c\u043e\u0436\u0435 \u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 \u043d\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0443.<\/li>\n<li>\u0421\u0442\u0440\u0430\u0442\u0435\u0433\u0456\u0457 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043f\u0456\u044e\u0432\u0430\u043d\u043d\u044f:\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0441\u0442\u0432\u043e\u0440\u044e\u0439\u0442\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0456 \u043a\u043e\u043f\u0456\u0457 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 Logrotate \u0456 \u0444\u0430\u0439\u043b\u0443 \u0441\u0442\u0430\u043d\u0443. \u0426\u0435 \u0434\u0430\u0441\u0442\u044c \u0437\u043c\u043e\u0433\u0443 \u0448\u0432\u0438\u0434\u043a\u043e \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0440\u043e\u0442\u0430\u0446\u0456\u0457 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0443 \u0440\u0430\u0437\u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u0431\u043e\u044e \u0430\u0431\u043e \u0432\u0442\u0440\u0430\u0442\u0438 \u0434\u0430\u043d\u0438\u0445.<\/li>\n<li>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0456\u0457 \u0437 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443:\u0421\u043b\u0456\u0434\u043a\u0443\u0439\u0442\u0435 \u0437\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u043e\u043c Logrotate, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432\u0456\u043d \u043f\u0440\u0430\u0446\u044e\u0454 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0456 \u0449\u043e \u0440\u043e\u0442\u0430\u0446\u0456\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432 \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e \u0434\u043e \u043e\u0447\u0456\u043a\u0443\u0432\u0430\u043d\u044c. \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0439\u0442\u0435 \u0441\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u0431\u0443\u0434\u044c-\u044f\u043a\u0456 \u043f\u043e\u043c\u0438\u043b\u043a\u0438 \u0430\u0431\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438. \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0430\u0439\u0442\u0435 \u0440\u043e\u0442\u043e\u0432\u0430\u043d\u0456 \u0444\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432\u043e\u043d\u0438 \u043c\u0456\u0441\u0442\u044f\u0442\u044c \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0443 \u0434\u043b\u044f \u0443\u0441\u0443\u043d\u0435\u043d\u043d\u044f \u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043e\u043a \u0456 \u0430\u043d\u0430\u043b\u0456\u0437\u0443.<\/li>\n<\/ul>\n<p>\u0412\u0456\u0442\u0430\u0454\u043c\u043e! \u0412\u0438 \u0443\u0441\u043f\u0456\u0448\u043d\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 logrotate. \u0414\u043b\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u043e\u0457 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0438 \u0430\u0431\u043e \u043a\u043e\u0440\u0438\u0441\u043d\u043e\u0457 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457 \u043c\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u043c\u043e \u0432\u0430\u043c \u0432\u0456\u0434\u0432\u0456\u0434\u0430\u0442\u0438 \u043e\u0444\u0456\u0446\u0456\u0439\u043d\u0438\u0439 <a class=\"fasc-button fasc-size-medium fasc-type-popout fasc-rounded-medium\" style=\"background-color: #33809e; color: #ffffff;\" target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/linux.die.net\/man\/8\/logrotate\">\u0441\u0430\u0439\u0442 Logrotate<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432&#8217;\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux. \u0424\u0430\u0439\u043b\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0456\u0432, \u0445\u043e\u0447\u0430 \u0456 \u0432\u0430\u0436\u043b\u0438\u0432\u0456 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0442\u0430 \u0443\u0441\u0443\u043d\u0435\u043d\u043d\u044f \u043d\u0435\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u0456 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433\u0443, \u043c\u043e\u0436\u0443\u0442\u044c \u0448\u0432\u0438\u0434\u043a\u043e \u0437\u0430\u0439\u043c\u0430\u0442\u0438 \u043c\u0456\u0441\u0446\u0435 \u043d\u0430 \u0434\u0438\u0441\u043a\u0443, \u044f\u043a\u0449\u043e \u0457\u0445 \u043d\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044e\u0432\u0430\u0442\u0438. \u0421\u0430\u043c\u0435 \u0442\u0443\u0442 \u043d\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c Logrotate. Logrotate &#8211; \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u0443\u0442\u0438\u043b\u0456\u0442\u0430, \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0456\u0457 \u043f\u0440\u043e\u0446\u0435\u0441\u0443 \u0440\u043e\u0442\u0430\u0446\u0456\u0457, \u0441\u0442\u0438\u0441\u043d\u0435\u043d\u043d\u044f, \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f \u0456 [&hellip;]<\/p>\n","protected":false},"author":3227,"featured_media":50225,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[211,396],"tags":[472,4450],"class_list":["post-50224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","category-rabochee-okruzhenie","tag-debian","tag-logrotate"],"blocksy_meta":[],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"uk","enabled_languages":["ru","uk"],"languages":{"ru":{"title":true,"content":true,"excerpt":false},"uk":{"title":true,"content":true,"excerpt":false}}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian<\/title>\n<meta name=\"description\" content=\"\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432&#039;\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian\" \/>\n<meta property=\"og:description\" content=\"\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432&#039;\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxTheBest\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/UserAndLINUX\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-06T07:51:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"walle9054\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UserAndLINUX\" \/>\n<meta name=\"twitter:site\" content=\"@UserAndLINUX\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"walle9054\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u0445\u0432\u0438\u043b\u0438\u043d\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/\"},\"author\":{\"name\":\"walle9054\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/person\\\/4ef8b04b8a00956d024e66df7f488c3b\"},\"headline\":\"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian\",\"datePublished\":\"2025-02-06T07:51:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/\"},\"wordCount\":3228,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/logrotate.png?fit=1460%2C730&ssl=1\",\"keywords\":[\"debian\",\"Logrotate\"],\"articleSection\":[\"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438\",\"\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/\",\"name\":\"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/logrotate.png?fit=1460%2C730&ssl=1\",\"datePublished\":\"2025-02-06T07:51:36+00:00\",\"description\":\"\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432'\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/logrotate.png?fit=1460%2C730&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/logrotate.png?fit=1460%2C730&ssl=1\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/yak-vstanoviti-logrotate-na-debian\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f\",\"item\":\"https:\\\/\\\/linuxthebest.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\",\"item\":\"https:\\\/\\\/linuxthebest.net\\\/rabochee-okruzhenie\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Logrotate \u043d\u0430 Debian\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#website\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/\",\"name\":\"LinuxTheBest\",\"description\":\"\u0412\u0430\u0448 \u043f\u0440\u043e\u0432\u0456\u0434\u043d\u0438\u043a \u0443 \u0434\u0438\u0432\u043e\u0432\u0438\u0436\u043d\u0438\u0439 \u0441\u0432\u0456\u0442 Linux\",\"publisher\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxthebest.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#organization\",\"name\":\"UALinux\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/UALinux.png\",\"contentUrl\":\"https:\\\/\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/UALinux.png\",\"width\":270,\"height\":73,\"caption\":\"UALinux\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/UserAndLINUX\",\"https:\\\/\\\/x.com\\\/UserAndLINUX\",\"https:\\\/\\\/www.linkedin.com\\\/groups\\\/7487863\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/person\\\/4ef8b04b8a00956d024e66df7f488c3b\",\"name\":\"walle9054\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g\",\"caption\":\"walle9054\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian","description":"\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432'\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/","og_locale":"uk_UA","og_type":"article","og_title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian","og_description":"\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432'\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux","og_url":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/","og_site_name":"LinuxTheBest","article_publisher":"https:\/\/www.facebook.com\/UserAndLINUX","article_published_time":"2025-02-06T07:51:36+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png","type":"image\/png"}],"author":"walle9054","twitter_card":"summary_large_image","twitter_creator":"@UserAndLINUX","twitter_site":"@UserAndLINUX","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"walle9054","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"3 \u0445\u0432\u0438\u043b\u0438\u043d\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#article","isPartOf":{"@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/"},"author":{"name":"walle9054","@id":"https:\/\/linuxthebest.net\/#\/schema\/person\/4ef8b04b8a00956d024e66df7f488c3b"},"headline":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian","datePublished":"2025-02-06T07:51:36+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/"},"wordCount":3228,"commentCount":0,"publisher":{"@id":"https:\/\/linuxthebest.net\/#organization"},"image":{"@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png?fit=1460%2C730&ssl=1","keywords":["debian","Logrotate"],"articleSection":["\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/","url":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/","name":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Logrotate \u043d\u0430 Debian","isPartOf":{"@id":"https:\/\/linuxthebest.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#primaryimage"},"image":{"@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png?fit=1460%2C730&ssl=1","datePublished":"2025-02-06T07:51:36+00:00","description":"\u0415\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430\u043c\u0438 \u043c\u0430\u0454 \u043f\u0435\u0440\u0448\u043e\u0440\u044f\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432'\u044f \u0456 \u0441\u0442\u0430\u0431\u0456\u043b\u044c\u043d\u043e\u0441\u0442\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 Linux","breadcrumb":{"@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/"]}]},{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#primaryimage","url":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png?fit=1460%2C730&ssl=1","contentUrl":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png?fit=1460%2C730&ssl=1","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/linuxthebest.net\/yak-vstanoviti-logrotate-na-debian\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","item":"https:\/\/linuxthebest.net\/"},{"@type":"ListItem","position":2,"name":"\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435","item":"https:\/\/linuxthebest.net\/rabochee-okruzhenie\/"},{"@type":"ListItem","position":3,"name":"\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Logrotate \u043d\u0430 Debian"}]},{"@type":"WebSite","@id":"https:\/\/linuxthebest.net\/#website","url":"https:\/\/linuxthebest.net\/","name":"LinuxTheBest","description":"\u0412\u0430\u0448 \u043f\u0440\u043e\u0432\u0456\u0434\u043d\u0438\u043a \u0443 \u0434\u0438\u0432\u043e\u0432\u0438\u0436\u043d\u0438\u0439 \u0441\u0432\u0456\u0442 Linux","publisher":{"@id":"https:\/\/linuxthebest.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxthebest.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/linuxthebest.net\/#organization","name":"UALinux","url":"https:\/\/linuxthebest.net\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/linuxthebest.net\/#\/schema\/logo\/image\/","url":"https:\/\/linuxthebest.net\/wp-content\/uploads\/2010\/06\/UALinux.png","contentUrl":"https:\/\/linuxthebest.net\/wp-content\/uploads\/2010\/06\/UALinux.png","width":270,"height":73,"caption":"UALinux"},"image":{"@id":"https:\/\/linuxthebest.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/UserAndLINUX","https:\/\/x.com\/UserAndLINUX","https:\/\/www.linkedin.com\/groups\/7487863\/"]},{"@type":"Person","@id":"https:\/\/linuxthebest.net\/#\/schema\/person\/4ef8b04b8a00956d024e66df7f488c3b","name":"walle9054","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/secure.gravatar.com\/avatar\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g","caption":"walle9054"}}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2025\/02\/logrotate.png?fit=1460%2C730&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p7Dc7N-d44","jetpack-related-posts":[{"id":27446,"url":"https:\/\/linuxthebest.net\/uk\/yak-vstanovyty-fail2ban-na-debian-12-11-10\/","url_meta":{"origin":50224,"position":0},"title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Fail2ban \u043d\u0430 Debian 12\/11\/10","author":"walle9054","date":"2023-04-19","format":false,"excerpt":"{:ru}\u041a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c\u0438 Debian, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438\u043c\u0435\u0435\u0442 \u043f\u0435\u0440\u0432\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Fail2Ban, \u043c\u043e\u0449\u043d\u043e\u0433\u043e \u0438 \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0432\u0442\u043e\u0440\u0436\u0435\u043d\u0438\u0439. \u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 Fail2Ban, \u0432\u044b\u0434\u0435\u043b\u0438\u0432 \u043f\u0440\u0438\u0447\u0438\u043d\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/04\/fail2ban.jpg?fit=1200%2C844&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/04\/fail2ban.jpg?fit=1200%2C844&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/04\/fail2ban.jpg?fit=1200%2C844&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/04\/fail2ban.jpg?fit=1200%2C844&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/04\/fail2ban.jpg?fit=1200%2C844&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":33597,"url":"https:\/\/linuxthebest.net\/uk\/yak-vstanoviti-rabbitmq-na-debian\/","url_meta":{"origin":50224,"position":1},"title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 RabbitMQ \u043d\u0430 Debian","author":"walle9054","date":"2024-04-23","format":false,"excerpt":"{:ru}RabbitMQ, \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0431\u0440\u043e\u043a\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u0437\u0430\u0432\u043e\u0435\u0432\u0430\u043b \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0441\u0432\u043e\u0435\u0439 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438, \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u0438 \u0438 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043e\u0447\u0435\u0440\u0435\u0434\u044f\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u041e\u043d \u0438\u0433\u0440\u0430\u0435\u0442 \u0432\u0430\u0436\u043d\u0443\u044e \u0440\u043e\u043b\u044c \u0432 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 RabbitMQ \u043d\u0430 Debian 12, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/04\/1_rlqb4ltvgta-xiskussmtg.png?fit=1200%2C642&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/04\/1_rlqb4ltvgta-xiskussmtg.png?fit=1200%2C642&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/04\/1_rlqb4ltvgta-xiskussmtg.png?fit=1200%2C642&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/04\/1_rlqb4ltvgta-xiskussmtg.png?fit=1200%2C642&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/04\/1_rlqb4ltvgta-xiskussmtg.png?fit=1200%2C642&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":29838,"url":"https:\/\/linuxthebest.net\/uk\/yak-vstanoviti-redis-na-debian-12-11-abo-10\/","url_meta":{"origin":50224,"position":2},"title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Redis \u043d\u0430 Debian 12, 11 \u0430\u0431\u043e 10","author":"walle9054","date":"2023-09-26","format":false,"excerpt":"{:ru}Redis - \u044d\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 in-memory \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u044d\u0448\u0430 \u0438 \u0431\u0440\u043e\u043a\u0435\u0440\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u0412\u044b\u0441\u043e\u043a\u0430\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0434\u0435\u043b\u0430\u044e\u0442 \u0435\u0433\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0442\u0440\u0430\u0441\u043b\u044f\u0445. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Redis \u043d\u0430 Debian 12 Bookworm, Debian 11 Bullseye \u0438\u043b\u0438 Debian 10 Buster, \u0442\u043e \u044d\u0442\u043e\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/redis-blog-social-b.webp?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/redis-blog-social-b.webp?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/redis-blog-social-b.webp?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/redis-blog-social-b.webp?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/redis-blog-social-b.webp?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":32894,"url":"https:\/\/linuxthebest.net\/uk\/5-gui-instrumentov-dlya-osvobozhdeniya-mesta-v-debian-ubuntu-i-linux-mint\/","url_meta":{"origin":50224,"position":3},"title":"5 GUI-\u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0456\u0432 \u0434\u043b\u044f \u0437\u0432\u0456\u043b\u044c\u043d\u0435\u043d\u043d\u044f \u043c\u0456\u0441\u0446\u044f \u0432 Debian, Ubuntu \u0456 Linux Mint","author":"walle9054","date":"2024-01-29","format":false,"excerpt":"{:ru}\u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0438\u0441\u0442\u043e\u0449\u0430\u0435\u0442\u0441\u044f. \u041e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u0434\u0438\u0441\u043a. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u043e\u0431\u044b\u0447\u043d\u043e \u043a\u044d\u0448\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/var\/cache\/ \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0445 \u0441\u043d\u043e\u0432\u0430. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e,\u2026","rel":"","context":"\u0423 &quot;\u041e\u0431\u0437\u043e\u0440\u044b&quot;","block_context":{"text":"\u041e\u0431\u0437\u043e\u0440\u044b","link":"https:\/\/linuxthebest.net\/uk\/review\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/01\/ubuntu-system-clean.jpg?fit=800%2C450&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/01\/ubuntu-system-clean.jpg?fit=800%2C450&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/01\/ubuntu-system-clean.jpg?fit=800%2C450&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/01\/ubuntu-system-clean.jpg?fit=800%2C450&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":33762,"url":"https:\/\/linuxthebest.net\/uk\/yak-vstanoviti-samba-na-debian\/","url_meta":{"origin":50224,"position":4},"title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Samba \u043d\u0430 Debian","author":"walle9054","date":"2024-05-13","format":false,"excerpt":"{:ru}Samba, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 SMB\/CIFS \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 Linux-\u0441\u0438\u0441\u0442\u0435\u043c \u0441 \u0441\u0435\u0442\u044f\u043c\u0438 Windows. \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0438\u043b\u0438 \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, Samba \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043c\u043e\u0449\u043d\u0443\u044e \u0438 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430\u043c\u0438. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/05\/configure-samba-in-debian.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/05\/configure-samba-in-debian.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/05\/configure-samba-in-debian.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/05\/configure-samba-in-debian.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/05\/configure-samba-in-debian.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":34066,"url":"https:\/\/linuxthebest.net\/uk\/yak-vstanoviti-fail2ban-na-ubuntu\/","url_meta":{"origin":50224,"position":5},"title":"\u042f\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 Fail2ban \u043d\u0430 Ubuntu","author":"walle9054","date":"2024-06-11","format":false,"excerpt":"{:ru}Fail2ban - \u044d\u0442\u043e \u043c\u043e\u0449\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0431\u0430\u0437\u0435 Python, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c Linux-\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043e\u0442 \u0430\u0442\u0430\u043a \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0433\u0440\u0443\u0431\u043e\u0439 \u0441\u0438\u043b\u044b, \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044f IP-\u0430\u0434\u0440\u0435\u0441\u0430, \u043f\u044b\u0442\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u043c\u0438 \u0443\u0447\u0435\u0442\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u041e\u043d \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0436\u0443\u0440\u043d\u0430\u043b\u043e\u0432 \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0432\u0445\u043e\u0434\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. \u041f\u0440\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0442\u0430\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043e\u043d \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442 IP-\u0430\u0434\u0440\u0435\u0441\u0430\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/06\/fail2ban-apache-dos.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/06\/fail2ban-apache-dos.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/06\/fail2ban-apache-dos.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/06\/fail2ban-apache-dos.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/06\/fail2ban-apache-dos.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts\/50224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/users\/3227"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/comments?post=50224"}],"version-history":[{"count":2,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts\/50224\/revisions"}],"predecessor-version":[{"id":50227,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts\/50224\/revisions\/50227"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/media\/50225"}],"wp:attachment":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/media?parent=50224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/categories?post=50224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/tags?post=50224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}