-
posts
-
Orchestration with Fabric #1
When figuring out how I wanted to deploy my website I had a few things that I
knew I wanted. I wanted to be able to create my server(s), provision them, and
deploy the app all from one tool. This will be the first in a series of posts
about how I ...
-
Using Daemontools
Introduction
daemontools is a set of programs for
monitoring daemon programs and also restarts them immediately if they
crash or are terminated. I generally use daemontools for daemons that
are required and are always running websites. These incl...
-
Recent EC2 Problems
Over the weekend we had some problems with EC2 in which some
instances could not be connected to via a network. This happened to us
for a Nginx load balancing server on Friday and a database master on
Saturday for two different web services. Sever...
-
Django and nginx settings
One problem I keep encountering with setting up fastcgi with Django is
that the default nginx fastcgi parameters cause django to load the top
url no matter what url you try to go to. This is because the default
nginx fastcgi parameters pass the SC...
-
Using less and grep with logs
Recently I’ve been doing a decent amount of debugging a database conversion
process and looking at log files on the Red Hat servers at work. This has meant
looking at some rather big (10 or so megabytes) log files. Normally I just fire
up vim when...
-
apt pinning
Many people who are new to Debian might be thinking
that Debian stable releases are slow. You are right. Many do look at this and
turn to Ubuntu because of their relatively quick
releases. It’s true that Ubuntu does release “stable” versions more ...
-
Backup with rsync
I wanted to have a simple incremental backup system I could use on my machine to
back up to an external drive so I came across this
post on Benno’s
blog. Basically it involves using rsync with the
--link-dest option to compare files you are backin...
-
cp interactive copy
Is it just me or has the behavior of cp in linux distributions changed
recently? cp is non-interactive by default so a lot of people, myself included,
set an alias to include the -i flag so that cp was interactive by default.
alias cp=cp -i
But...