Enabled WP-SuperCache for my blog

I’ve decided to install and enable WP-SuperCache plugin for my blog. This does not mean that I’ve been receiving thousands of site hit everyday, but as a precaution because I’ve noticed spikes of traffic on the server log that might effect the overall performance of the web server.

Since most pro-blogger suggested WP-Supercache, I might as well take their advice and install it. Hopefully this would improve the server load during the spike (which I suspect contributed by ill-behave webbots/crawler) as well as loading time for my blog.

I’ll keep my fingers crossed

Get Cool Powered By Ubuntu Stickers Locally in Malaysia !

Great news to all Ubuntu users out there! Fahmi from MelayuBuntu has made available these cool stickers for you to brag to your friends!

 

Ubuntu Stickers

The best thing about these stickers is that they are available locally, and thus much more cheaper and is faster to obtain.

Interested? You can forward your order to :

Name : Mohd Fahmi
Maybank : 164799012134
CIMB : 14081271592525
E-mel : editor[a]jomlinux.com

The price for the stickers as follows :

  • 1 set (4 pieces) – RM 2.50
  • 3 set (12 pieces) – RM 4.50
  • 5 set (20 pieces) – RM 6.80
  • Delivery : FREE!

Don’t forget to fill in the Order Form after you’ve made payment.

The first batch of these stickers has been shipped out! Order now!

Read the original post from melayubuntu

How to find cause of heavy usage on your Apache webserver

Here’s a quick and dirty tips on how to find cause of heavy CPU resources usage on your Apache webserver (especially when running php scripts).

First you need to locate the Apache 2 “access.log” file. By default in Ubuntu, this file is located in “/var/logs/apache2” directory.

Then you need to run this command to find out which IP address accesses your website the most in a short time.
[code]
tail -10000 access.log| awk ‘{print $1}’ | sort | uniq -c |sort -n
[/code]

The output of the command should contain a list of IP addresses along with the number of hits it made in the last 10,000 access of your website
[code]
47 117.58.252.98
81 202.124.242.186
84 202.124.245.26
182 194.164.101.217
220 208.101.22.146
225 72.167.131.144
3946 93.135.xxx.xxx
[/code]

From here you can easily locate the offending ip address and proceed to block it from accessing your website further using .htaccess file or other blocking method.

Here is an example to block certain ip address from accessing your website using .htaccess file
[code] order deny,allow
deny from 93.135.xxx.xxx
[/code]

Save .htaccess file in the root directory of your web server (example /var/www), and the ip address wont be available to access your site again.

Hope that would help you!

Linux Laptop Hardware Compatibility List

If you are a serious Linux user, probably the first thing that come across your mind when shopping for a laptop is how compatible it is with GNU/Linux operating system.

Fortunately sites like The Linux Laptop Wiki, Ubuntu Linux Hardware Support and Mandriva Hardware Database provides a good starting point to find out about your laptop hardware compatibility with Linux.

As for my personal experience, I find out most hardware incompatibility ranges from unsupported 56k softmodem driver to unsupported hard-disk controller which i consider as the worse case scenario.

So please bear this in mind that not all laptop are 100% compatible with Linux. Do ask around, and check for its compatibility status before you finally made a decision to purchase a new laptop.