Archive

Archive for the ‘Uncategorized’ Category

Spacewalk setup

December 6, 2010 Leave a comment

I was going build my own howto to setup spacwalk but the CentOS community beat me to it.  The only think I recommend you do is install spacewalk 1.2 instead of 1.0.

Use this baseurl instead of the one listed in the guide in the spacewalk.repo file for both the server and client.

http://spacewalk.redhat.com/yum/1.2/RHEL/5/$basearch/

http://wiki.centos.org/HowTos/PackageManagement/Spacewalk

Advertisements
Categories: Uncategorized

EC2 custom Kernel

November 23, 2010 Leave a comment

One minor issue with EC2 is that they supply the kernel, and that already caused difficulties with my first EC2-tutorial – the image I created doesn’t let you create a new snapshot from a running image since the EC2 kernel lacks loopback support, and I didn’t supply a matching kernel module.

Amazon has a nice guide on how to do it – here is a gentoo-specific one.

These instructions start from a working ami image created using my previous instructions. Go ahead and mount it and chroot into the image.

  1. Install a kernel using emerge xen-sources
  2. Be sure to enable xen support in the kernel config file. Here is a working config.
  3. Build the kernel with make && make modules_install as usual
  4. Copy the kernel image to /boot as usual.
  5. Create /boot/grub/menu.lst, containing:
    default 0
    timeout 3
    title EC2
    root (hd0)
    kernel /boot/kernel root=/dev/sda1
  6. While optional you might want to clean up the kernel source directory, or even remove it – you’re paying by the gb and the sources and object files are large.
  7. Bundle it up with the instructions in the first guide, but on the ec2-bundle-vol command line add –kernel followed by a suitable kernel ID from the pdf linked above. For a 64-bit ami in the US-east region use aki‐427d952b

That’s it – upload, register, and boot it up!

Categories: Uncategorized

Spacewalk – My favorite Red Hat Project

February 15, 2010 Leave a comment

I’ve been playing with spacewalk on and off for a couple of months, I haven’t touched it since 0.8* I just updated to 0.9* and there are enough improvements I want to say it is ready for any production Linux shop.
Download it and give it a try, it takes some time to setup but once you do it will be worth it!
I may put up my Virtualbox VM on my personal FTP server, let please post a comment on this post if you are interested!

Categories: Uncategorized Tags: , ,