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!
Use OpenDNS for Free Content Filtering | If you have little kids at home, or need to setup content filtering for schools, OpenDNS is free and works great. I’ll show you how it works! First, change the DNS servers in your router to 18.104.22.168 and 22.214.171.124. Next, go to opendns.com and create a free account. Once inside your account, you will need
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
scottlinux.com SSL cert update | scottlinux.com has always been available over HTTPS, but now has a trusted cert so your browser should not complain. Here is the ssllabs report: https://www.ssllabs.com/ssltest/analyze.html?d=scottlinux.com Note for Windows XP users: scottlinux.com is using SNI in Apache so IE8 on Windows XP will complain of an untrusted SSL certificate. Firefox or Chrome on XP work fine.
Configure Apache SSL Cipher Suites for Best Security | Apache can be configured to use various SSL Cipher suites. For best security, set Apache SSL settings to use only the highest grade security ciphers. It has become common practice to also set the server to prefer an RC4-SHA cipher both for speed (it’s fast!) as well as a fix against the BEAST attack. Google,
How to Create MySQL database and user | Here is quick way to create a MySQL database and user. This is useful for WordPress, Drupal, or other LAMP apps. Login to MySQL with the MySQL root password: $ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 Server version: