Solving boot2docker's fail to start error

Posted on Sat 07 February 2015 in Devops • Tagged with docker, virtualbox

b2dimg

I'm putting this obvious solution up as I couldn't see it anywhere online.

If you try to start up boot2docker with boot2docker start and it returns.

error in run: Failed to start machine "boot2docker-vm": exit status 1

Before destroying everything and wiping your ~/Virtualbox VMs folder, try starting up Virtualbox …


Continue reading

Shellshock - Am I vulnerable and what do I do?

Posted on Thu 25 September 2014 in Devops • Tagged with security, vulnerability

bash_history

Shellshock is the latest Heartbleed level vulnerability to be discovered. It's a pretty long running exploit in how bash handles environment variables. It's a good thing to fix asap, especially if you're running any old services like telnet, ftp or an old version of apache.

Is my server vulnerable?

Run …


Continue reading

Fixing a broken vagrant box

Posted on Thu 17 October 2013 in Devops • Tagged with fixes, vagrant

image0

The first time this happened I went into a cold sweat. My box with all dev versions of my companies live databases had died. Of course I had the box provisioned with salt so configuration wasn't a problem, but grabbing all those databases, downloading, altering specific internal values and inserting …


Continue reading

Archlinux Pacman Update Fix

Posted on Sun 25 August 2013 in Devops • Tagged with archlinux, bug

I'm writing this up as a quick solution to archlinux's dreaded pacman update problem.

If your run pacman -Syu and get:

:: package-query: requires pacman<4.1
error: failed to prepare transaction (could not satisfy dependencies)

If you have yaourt installed simply update package-query through it and update pacman normally.

yaourt …

Continue reading

Screwed Server Checklist

Posted on Sat 28 April 2012 in Devops • Tagged with linux, panic!, server, sysadmin

My servers started getting unusably slow at peak hours lately and I decided, midst panic to vaguely attempt to document the various things I had to go through to narrow down the problem, anyway I'm sticking them up here so a) I don't lose the list and b) it might …


Continue reading

Simple git web interface

Posted on Sat 07 January 2012 in Devops • Tagged with git

I decided instead of springing for a monthly github payed account I'd install git on a server and use a decent web interface that could be easily installed.

So for this little guide I'm rocking ubuntu 10.04 with git and lighttpd already installed.

It was a Goldilocks search for …


Continue reading

Very Simple EC2 Snapshot Management

Posted on Fri 01 April 2011 in Devops • Tagged with amazon, ec2, s3

I've been pulling my hair out trying to get a handy ec2 snapshot backup/management working. My google results have ranged from broken libraries to using bash scripts to do one aspect and php scripts to do another, all of the solutions seem to have serious issues with regions.

Anyway …


Continue reading