Nginx is an alternative web server that is fast becoming popular. Nginx is famed for its ability to handle thousands of concurrent connections while using very little memory. In this post I look at how to install Nginx, PHP-FPM, MySQL and WordPress on a brand new CentOS 6.x Linux installation.
Continue reading
centos
Log rotation in CentOS Linux
Lots 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.
CentOS continuous release repository
CentOS 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.
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?
CentOS Linux: Setting timezone and synchronizing time with NTP
Learn how to set the correct timezone and synchronize time with NTP servers on your CentOS box.
Continue reading