Log rotation in CentOS Linux

CentOSLots of daemons running in CentOS Linux create their own log files. These log files contain helpful messages pertaining to the operation of those daemons. For example error messages that help in diagnosing problems with the system. Over time these log files have to be rotated so that they are easier to manage. Log rotation is the process of splitting large log files and archiving old log files for future reference. In CentOS a program called logrotate is responsible for rotating log files. In this post I look at how to customize the operation of logrotate.

Continue reading

CentOS continuous release repository

CentOSCentOS is a project run by volunteers who take the source RPMs behind Redhat Enterprise Linux or RHEL and turn it into a binary compatible free version of the OS. Because it is run by volunteers the CentOS project can sometimes fall behind in it’s releases. To address the need for timely updates the CentOS team has created a Continuous Release (CR) repository. The purpose of a CR repository is to deliver bug fixes and security updates for existing users before an ISO image of the latest point version is ready.

Continue reading

Scheduling system maintenance cron jobs in CentOS/RHEL 6.x

CentOS 6.x has changed how the default system maintenance cronjobs are scheduled. These are the cron jobs responsible for things like rotating logs and indexing files on the filesystem. That is routine jobs that are best scheduled to run at off peak times when the server is not busy doing more important things like serving money making websites. So how do you go about changing the timing of cron jobs on CentOS or RHEL 6.x?

Continue reading