/home/weather/logs/*.log { daily rotate 30 保存30个日志文件,也就是说如果进行了31次日志轮替,就会删除第一个备份日志 copytruncate 在合适的时候进行切换,不会影响log delaycompress
1. http://www.infoq.com/2. http://highscalability.com/ 3. https://www.quora.com/
1. 安装postfix,执行命令sudo apt-get update sudo apt-get install mailutils2. 配置postfix,编辑/etc/postfix/main.cf,修改inet_interfaces = all为inet_interfaces = loopback-o
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号