Log rotate
Log files are the most valuable tools available for Linux system security. The logrotate program is used to provide the administrator with an up-to-date record of events taking place on the system. The logrota…Read More
Debugging PHP Scripts Using slow_log and more
If you are an old PHP programmer, you must have used PHP’s error_log function sometime. But PHP itself does not provide a way to find out slowly executing scripts. Slow scripts are not the ones whi…Read More
Midnight Commander color schemeMidnight Commander (or "mc") can
have transparent panels instead of the ugly, dull default blue. So can
"mcedit", its text editor.
Here's how to do it. Edit the file ~/.mc/ini and add at the end the following:
[Colors]
b…Read More
The-Perfect-Apache-Configuration
# ----------------------------------------------------------------------
# Apache configuration file
# This file is best used in /apache2/httpd.conf, but works (slower) in .htaccess
#
# I've spent quite a bit of time com…Read More