Finding out disk space usage using Linux shell

January 28th, 2012

Linux command line program

Finding out your disk space usage using the shell or command line in Linux is easy once you know how. This article takes a look at the different commands that tell you your disk space usage at different levels of the file system i.e. from entire disk volumes/partitions all the way down to individual files and directories.

Read more »»

Backup and restore MySQL databases

December 20th, 2011

MySQLMySQL comes with a utility called mysqldump that allows you to take a backup of your MySQL database. It generates a text file containing SQL statements that you can use to recreate your database on any MySQL server.

Read more »»

CentOS continuous release repository

October 2nd, 2011

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.

Read more »»

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

September 5th, 2011

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?

Read more »»

Upgrade to PHP 5.3 on CentOS 5

July 25th, 2011

By default CentOS 5 comes with PHP version 5.1. This is an ancient version of PHP and incompatible with modern Content Management Systems (CMS). This point is driven home with the recent release of WordPress 3.2 that requires a minimum of PHP 5.2.4. Because WordPress is such a popular CMS and CentOS such a popular web server operating system it seems like a good time to write about updating PHP to version 5.3.3 on CentOS 5.

Read more »»