Red Hat 6 or CentOS 6: Yum Tips – Lock Package Versions and Only Apply Security Updates | In Red Hat 6 or CentOS 6, it is possible to selectively pin or mask a particular package version to keep it from updating. It is also possible to list and apply pending security updates as opposed to security and bug fixes. This is ideal for environments that only want to push out security fixes
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
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