Category: Linux Luvin’

Using autofs with a NAS in Chef

autofs isn’t so bad, but when it’s been a while, it can make you pull your hair out.  Been there, done that.  Now here’s the result of that for you to benefit from.  This Chef recipe simply installs autofs and

Installing Chef Server in an OpenVZ Container

I love OpenVZ, but I was unfortunately never able to successfully install Chef Server in a container; I’ve always had to try it out on KVM or Xen instead. The culprit was the procps package, which refused to install as

Install bbcp on Ubuntu

bbcp is becoming a hot contender to rsync.  Unfortunately, it’s not available by default in Ubuntu 12.04.  The steps below will get you going with it.  Note that bbcp needs to be installed at both ends of a transfer.

Chef — knife super quick start

In this post, I will show you how to get started with the open-source version of Chef using knife. Prerequisites: A working Chef server An admin account on the Chef server A supported version of Linux (this might work on

Installing SRS extensions on Postfix (Ubuntu/Debian)

Note:  This post is heavily based on this article. Install needed dependencies:

Install libsrs:

Install pfix-srsd:

Update libraries:

Create secrets:

Save to /etc/default/pfix-srsd:

Save to /etc/init.d/pfix-srsd:

Enter addresses that you need to be excluded from

Compile ImageMagick 6.8 on RHEL 6 / CentOS 6

There wasn’t a lot of thorough documentation on installing/compiling the latest ImageMagick on CentOS 6.  Below are the packages and install steps; remember to also install the PHP PECL extensions if needed (the ones from yum should work fine). If ImageMagick-6.8.5-4.tar.gz

Installing Gearman 1.1.6 on RHEL / CentOS 6

I haven’t been able to find a clear set of instructions to get Gearman compiled on CentOS 6. After some trial and error, this is what I came up with to get things going.

Bot Blocking Your Site with Apache

If you want to block bots/crawlers/search engines/your mom from reaching your site (based on user agent), there are many ways to go about it, the best (IMO) being directly with Apache. The below Apache rules set an environment variable if

Apache Digest Password Protection

I was working with a barebones Apache setup recently and needed to enable Digest authentication, but it turned out the necessary modules weren’t loaded. After some research, I came up with the below. I’m largely posting this for my own

Running Proxmox behind a single IP address

I ran into the battle of running all of my VMs and the host node under a single public IP address. Luckily, the host is just pure Debian, and ships with iptables. What needs to be done is essentially to

Top