Archlinux: Setting up SALT Stack

Setup a salt stack server to keep all your computers properly configure when you reformat them:     1. Install SALT on a box that is accessible from anywhere that will become your salt master:   # pacman -S salt resolving dependencies… looking for inter-conflicts… Packages (19): apache-libcloud-0.14.1-1 libsodium-0.5.0-1 libxslt-1.1.28-3… Continue reading

MediaTemple: Enable Imagick on your GS

Here's how to enable Imagick on your GS:   1. Download the latest stable from http://pecl.php.net/package/imagick   2. Create folder to store the compiled module: mkdir /home/$SITEID/data/lib mkdir /home/$SITEID/data/lib/php/     3. Uncompress it tar -xvzf imagick-3.1.2.tgz cd imagick-3.1.2   4. Configure it with phpize (I'm using php 5.5.5 on… Continue reading

Hosting: Enabling Redis class on MediaTemple’s gridserver (gs)

Here's how I enabled access to a Redis server from my (GS) gridserver: 1. Store your SITEID in a variable: export SITEID=`pwd | awk -F\/ '{ print $3 }'`   2. Create a folder to store the redis.so module mkdir /home/$SITEID/data/lib mkdir /home/$SITEID/data/lib/php/   3. Get the Redis PECL package… Continue reading