I recently came across ansible and decided to give it a go, actually kind of upset that I never came across it before as I can already imagine quite a few cases when it could have come in handy and saved me a lot of time when it came to running the same command across multiple servers.
I went about installing ansible by using Homebrew which I have installed on my MacBook Air but soon noticed that I was not able to run commands against all the servers since sshpass was not installed on my machine. I figured the easy route would be to use Homebrew and just install it, but just searching for sshpass with Homebrew I was presented with the following error message. Continue reading Installing sshpass on OS X
I recently read an article about how you can install HipHp Virtual Machine (HHVM) for a 2x+ speed boost on your site. The newest version of WordPress works 100% with HHVM, but unfortunately some of the plugins out there don’t. I decided the pros out weighed the cons and decided to install HHVM on my development server. Outlined below are the steps for installing it on your own.
wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
echo deb http://dl.hhvm.com/ubuntu saucy main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install hhvm
sudo update-rc.d hhvm defaults
sudo /etc/init.d/hhvm restart
sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/hhvm 60
Continue reading Installing HipHop Virtual Machine
I was trying to install git on one of my servers that is running CPanel but it kept giving me errors about dependancies due to CPanel/WHM. I was finally able to install Git by using the following command.
yum --disableexcludes=main install git