Author: Ameir Abdeldayem

Change Chef Server settings after installation

Just about every significant aspect of Chef Server is configurable, although the defaults are okay for most.  The configuration options are documented at . Note, though, that the chef-server.rb described in the article was nowhere to be found on my server.

Use nginx as a reverse proxy to speed up your WordPress site

Everyone loves speed.  That includes your site’s visitors.  If you run a WordPress site, WP Super Cache is a pretty cool plugin that generates static files from your dynamic content, and serves those to your users instead of dynamically generating the same

Update your Ubuntu/Debian servers with Chef

If you need a hands-off way to update your Ubuntu or Debian servers, Chef’s Knife utility provides an easy way to do this (and parallelize it!). The following will update your packages in an unattended way.  In other words, all

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

Use X-Forwarded-For in Apache when behind a proxy

I love Apache. I love nginx. I love them when they’re alone, and I love them when they’re together. But when they’re together, sometimes they don’t play nice. When behind a proxy, Apache will use the proxy’s IP address in

Specify multiple redundant Vagrant box URLs

Vagrant is awesome, but there are times where you might need to specify redundant/alternative URLs in a Vagrantfile.  This could be a failover type scenario, although in my case, I needed it to give external developers access to our Vagrantbox,

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