Wednesday, July 27, 2011

log rotate

this is to add function to rotate specific log

create a new file at /etc/logroate.d/
and write this into it for rotate log function

/var/log/SAT-backup/*.log {
     monthly
     rotate 4
     missingok
     compress
}

Wednesday, July 20, 2011

Centos change resolution

you can change the console resolution at
/boot/grub/grub.conf

add vga=775 at the end of kernal line