MySQL log slow queries
edit /etc/my.cnf using # vi /etc/my.cnf Then add log-slow-queries long_query_time = 5 Long_query_time is the number of seconds for a query to be considered long enough to log. The log…
edit /etc/my.cnf using # vi /etc/my.cnf Then add log-slow-queries long_query_time = 5 Long_query_time is the number of seconds for a query to be considered long enough to log. The log…
To change the login banner/welcome message, simply edit the /etc/issue file. #vim /etc/issue
tar -tvzf tarfile.tar.gz non gzip file: tar -tfv tarfile.tar
If you don’t want to use a user interface to change the effect of Ctrl+Alt+Backspace in any flavour of Ubuntu you can follow these steps: 1) Install the “dontzap” package…
from http://www.labradordata.ca/home/13 vpsinfo is a Linux server monitoring script, written in PHP, that provides web access to system status information. It gathers the output from several common Linux commands into…
Ever notice how the public RBL databases aren't enough? spamcop and spamhaus are great, but there are spammers still getting through. Did you ever want to do it yourself? This…
Compile an Ubuntu 9.04 Kernel The purpose of this tutorial is to show you how to set up a kernel that is highly tuned for your CPU, in this case…