Installing sshpass on OS X

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. [Read more...]

Installing HipHop Virtual Machine

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.

[Read more...]

Install the latest version of Nginx on Ubuntu

If you are looking to install the most current version of nginx on Ubuntu you can add the following apt source.

If you are wanting to install the latest development version you can use the following source instead

After adding the source you can then update and then apt-get install nginx and you are all set.
If you haven’t installed via ppa on your system you will likely have to install the following packages

Installing rr26xx driver on Ubuntu server 12.10

I recently upgraded my home server with a HighPoint RocketRAID 2640×1 PCI-Express RAID Controller Card. I had the option of software RAID but I figured that I might as well go hardware since the price really wasnt that bad and in case of a software issue the RAID Array should keep working upon a system reinstall.

Unfortunaly the required module for the card is not built into the kernel or available as a packge for Ubuntu 12.10 so I had to compile it manually to get it working.

Outlined below are the steps that I took to get it working on my system, results may vary but this works great and is using an updated version of module (most other info I found was for version 1.2 this is 1.5)

[Read more...]

DD-WRT firewall settings for external Squid proxy server

My home network setup starts off with an Asus RT-N16 which has DD-WRT installed on it to get a little more than what the stock firmware can provide to me. I also have my home fileserver which also acts as a Squid Caching server to help speed up my browsing.

In order to have all network traffic pushed through my Squid server this is these are the firewall settings I had to use on the Asus RT-N16 router. (I am not going to provide setup details for the Squid server in this post) [Read more...]