Select a Category

How to limit Apache log files size?

Problem

Apache is a popular web server. It logs every access and error error. If Apache is ran for for a long time, its access log and error log file can be huge.

Solution

Most Linux include a small program called rotatelogs, which can limit log file size.

The line below limit error log to […]

How to Use Ubuntu Live CD to Rescue Grub Problem?

Background

While testing various options in Grub menu, the system broke – it booted into a blank black screen. I had to use an Ubuntu Live CD to rescue the system.

Steps to Use Ubuntu Live CD to Rescue Grub Problem

Boot up the computer with a live Ubuntu Desktop CD with option “Try Ubuntu […]