Category: Linux

  • AWS, WordPress, Bitnami, and Ansible – A Journey

    AWS, WordPress, Bitnami, and Ansible – A Journey

    In The Beginning…   I’ve been running a number of WordPress sites at AWS, and using the Bitnami AMIs to do so.  They make it super easy, just fire up an instance of the AMI, and boom you have a full WordPress environment up and running, with Apache, WordPress, and a database. When The Palace […]

  • PHP and FastCGI

    I’ve just converted my server and many sites from mod_php under Apache to FastCGI and php-cgi. In theory this should perform better, scale better, and generally BE better. However I’m new to it, so if you find something that is broken on being weird, let me know!

  • Want an even better job? :)

    While the ATG job opportunity at TOMS is pretty sweet, Spark::red is also hiring!  I might be a bit biased but I think Spark::red is an amazing place to work. First, the jobs:  We’re looking for sys admins, jboss admins, or technical ATG folks (architects, deployment specialists, etc…) to join our sys ops and support/deployment/load […]

  • rsync is MUCH faster than scp

    Working at a hosting company that specializes in J2EE application hosting, we move EARs around a lot.  Typically I’ve just been using scp since rsync can easily get you into trouble if you’re pushing deltas you’re not super careful.  And if you’re not pushing deltas, and pushing full ears, it makes more sense to use […]

  • Automated ClamAV Virus Scanning

    Automating Linux Anti-Virus Using ClamAV and Cron Thankfully Linux isn’t a platform which has a significant problem with Viruses, however it is always better to be safe than sorry. Luckily ClamAV is an excellent free anti-virus solution for Linux servers. However, at least on RedHat Enterprise 5 (RHEL5) the default install doesn’t offer any automated […]

  • Looking for abusive clients in your web server logs

    Here’s a quick tip on how to find IPs that may be hammering on your web server: cat access.log |cut -d ‘ ‘ -f 2 |sort|uniq -c | sort -nk 1 Run that against your Apache access log and you’ll find out hits/IP address. Just check to be sure they aren’t Google before you block […]