最近使用nginx做负载均衡器,日志文件比较多,因此做一个日志切割脚本,临时用用。
一、脚本切割日志
[crayon-688553d470e61883769926/]
将上面的脚本加入定时任务即...
Tomcat HTTPS 证书制作
[crayon-688553d471028076784665/]
[crayon-688553d47102b022867698/]
[crayon-688553d47102c332910350...
DRBD高可用集群解决裂脑步骤
高可用集群的时候,不可不可考虑的就是裂脑问题。
[crayon-688553d47106a824734319/]...
DRBD+Heartbeat+MySQL高可用
基础环境:
[root@DB1 ~]# uname -a
Linux DB1.mysql.hz.t4x.org 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug...
srcache-nginx-module+redis+wordpress
最近在研究缓存的问题,现在我的网站采用的阿里云cdn+Redis(https://note.t4x.org/environment/wordpress-redis-mysql/)的方式。 (more&...
You (root) are not allowed to access to (crontab) because of pam configurati
遇到一个错误:
[crayon-688553d4711fb807834322/]
(more…)...