运维管理(经常使用工具、知识整理)

一、日志管理 html  使用"logrotate"来管理linux日志文件,能够实现日志的自动滚动,日志归档等功能。下面以nginx日志文件来说解下logrotate的用法。linux     使用logrotate管理nginx日志文件nginx 二、自动重启服务git   管理服务,自动重启,failover。常见的有ubuntu的upstart,Linux的init.d等 可参考inits
相关文章
相关标签/搜索