The Cult of Gary

24 Jan

Puppet and SSL

I did a yum update this morning and it seems to have broken my puppet server.
I use a CNAME entry when connecting puppet clients to the master server. As far as I can tell, something happened to cause ruby to care more about how the certificates are set up. The puppet clients were expecting the [...]

23 Jan

AMI Build Process Breaks Screen

If you’re trying to use screen on an EC2 instance with a non-root user, it probably doesn’t work for you. This is due to how the AMI build process messes with /etc/fstab. There is a thread about this in the AWS forms. I was running into this problem with one of the RightScale CentOS images. 
To fix it [...]

22 Jan

Cisco VPN Client for EC2

I need to connect an EC2 instance to a Cisco VPN server for various reasons. It turns out that this isn’t a trivial task. EC2’s use a custom 2.6.16 kernel, so it’s guaranteed to not match the headers included with your distro.
There’s an entry on the Rightscale Blog about how to successfully compile kernel modules for EC2’s. [...]

01 Dec

Mirroring CentOS

I need a local mirror of CentOS again. But I only want CentOS 5. I’ve done this before, but I figure I should post the script so that I don’t have to write it from scratch again next time.
#!/bin/bash

# change to limit# bandwidthBWLIMIT=256

# call the script with ‘1′ or something# to make it display progressVERBOSE=$1

# [...]

21 Oct

Perforce Init Script

I’m playing around with perforce. Their installation packages leave a bit to be desired. You download the binaries off of their website and drop them into your file system.
I wrote this init script to help start it up on Redhat/CentOS systems:
#!/bin/bash

# chkconfig: 345 90 50# description: perforce (p4d) is a SCM system.# processname: /usr/sbin/p4d# config: [...]

05 Oct

EC2, CentOS and PPTP

Continuing on my EC2 journey.. I wanted to allow my ec2 hosts to talk to a private network at the office. We use a Microsoft PPTP vpn — it’s the quickest way for me to set up the VPN.
I’ve been the Rightscale CentOS 5 AMI for my testing. In order to get my PPTP vpn [...]

© 2009 The Cult of Gary | Entries (RSS) and Comments (RSS)

GPSwordpress logo