In the following tutorial i will describe the steps to optimize the performance of a MySQL database with the mysqltuner script:

Step1. Download the mysqltuner script:

cd /usr/bin
 chmod +x

Step2.  Run mysqltuner:

[email protected]:~# /usr/bin/

Enter the root as username and the  password and you will get a output like this:

[email protected]:~# /usr/bin/

>>  MySQLTuner 1.2.0 - Major Hayden <[email protected]>
>>  Bug reports, feature requests, and downloads at
>>  Run with '--help' for additional options and output filtering
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password:

-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.1.58-1~dotdeb.1
[!!] Switch to 64-bit OS - MySQL cannot currently use all of your RAM

Continue Reading…

Page Speed ​​is an open source project started by Google to help developers optimize their web pages by applying best practices in web performance.
Page Speed ​​began as an extension of the open source browser, and is now deployed in third party products as, Show Slow and Google Webmaster Tools.

How it works :

The Page Speed extensions run performance tests on the basis of a set of best practices known to reduce page load time.
mod_pagespeed, the Apache module, automatically optimizes the resources in a web page.


First you need to download the module from here:  mod-pagespeed download

Then run the following commands to install it:

dpkg -i mod-pagespeed-*.deb
apt-get -f install

After you installed the plugin you must restart the apache2 server.

/etc/init.d/apache2 restart

Configure mod_pagespeed for using  on VirtualHosts:

Continue Reading…

Page 1 of 11