apache日志切割
摘要:一、日志切割 安装cronolog CentOS 5.4中编译安装Apache默认日志是不切割的,需要用用工具Cronnolog进行日志切割 1.下载及安装 wgethttp://cronolog.org/download/cronolog-1.6.2.tar.gz tar zxvf cronolog-1.6.2.tar.gz cd cronolog-1.6.2 ./configure make && make install 2.用which命令查看路径验证安装 which cronolog 默认路径为:/usr/local/sbin/cronolog 3.配置 v...
阅读全文
posted @ 2014-01-14 11:25