Logwatch How-To for CentOS or Red Hat | Logwatch is the classic log file email utility that emails a daily status of activity from Linux logs. On CentOS, the default install of logwatch does not have many fancy features enabled. I’ll show you how to configure logwatch! First, install logwatch: $ sudo yum install logwatch Next, navigate to the logwatch services directory which
scottlinux.com – Powered by Linode and your referrals! | Thank you to all who have used my referral code or link to sign up for Linode. Right now scottlinux.com has generated 11 completed referrals and counting. Rock on!
Browsercheck.com – check your browser security | Qualys has a free website that scans your web browser for any pending security updates. Here is the link: http://browsercheck.com The site works for Linux, Windows, and Mac OS X. On Windows, the scan will even show any pending Windows security updates that need to be applied. Here are some screenshots!
Log POST data in Apache | Apache can log all POST data for troubleshooting purposes. I’ll show you how to set this up! First you will need to enabled mod_dumpio. On Ubuntu / Debian enable the module: $ sudo a2enmod dump_io Then add the following and restart apache: $ sudo nano /etc/apache2/apache2.conf LogLevel debug DumpIOInput On DumpIOOutput On DumpIOLogLevel debug
Search for 777 Directories of Common Name | With a simple find command, it is possible to locate similar named directories that are 777. I’ll show you how! This will identify public_html directories under /home that are 777: $ sudo find /home -name ‘public_html’ -type d -perm 777 Alter as desired, for example: $ sudo find /var/www/ -name ‘httpdocs’ -type d -perm 777
Speed Up Website in Apache by Enabling Compression and Leveraging Browser Caching | Google has a cool website to inspect your website for speed improvements. Two of the main areas are leveraging browser caching as well as enabling compression for your website. I’ll show you how to set this up in Apache! Firstly, here is that website. Put in your site for a quick review: https://developers.google.com/speed/pagespeed/insights If you
John the Ripper Multithreaded Multicore How-To | Linux | John the Ripper must be compiled from source to enable multithreaded support as well to gain the added features of the jumbo patch. It’s not that hard and I’ll show you how! 1. Grab latest patched jumbo version that includes lots of goodies: $ wget http://openwall.com/john/g/john-1.7.9-jumbo-7.tar.bz2 2. Extract $ tar xvf john-1.7.9-jumbo-7.tar.bz2 3. Change to