ArchLinux domU - Setup Script

Today i played around with ArchLinux, a very neat distro!

I am always trying to keep my software as minimalistic as possible, so i can easily reproduce my setups. Having similar setups helps you to keep administrative tasks to a minimum.

For the past 8 years since the first official release, i was a Gentoo fan. Sure, i used some Debian boxes for this and had BSD boxes for my most precious tasks. Gentoo was always this comfortable distribution that didn’t dictate which features i had in my default packages, since i could choose “USE”-Flags myself.

These days, having over 55 Gentoo domUs, i managed to get around with a bindist host and some custom scripts, but that’s over.

ArchLinux

ArchLinux gives me that extra “slickness” i wanted, by removing compile-time depedencies on the core-system. In Gentoo i hardly customized settings there, except build flags, but hey.. Anyway, the ArchLinux base seemed slick enough to beat Gentoo’s, so i gave it a shot.

The first thing i do when i try a new distro is to reproduce existing setups, because i mostly have the config files for the service i want to have running. I had chosen to replace my primary nameserver, which i had replaced in under an hour.

The biggest problem for a distro like ArchLinux is, that they have still a bit too much packages in the base, so i found my self removing usbutils, rp-pppoe and some mkcpio-crap for creating kernel images. Anyway, i found that instead of installing it from the dom0 with -S base, i could specify my own packages.

Before you run this script, you need to install pacman. On gentoo i could emerge it, otherwise check archlinux.org.

So i thought that i could customize that script, but i ended up only stealing the “echo” lines. It looks like this:

Please read and customize it before using it!

I am NOT responsible for any data-loss, corruption or alien invasions!

It downloads the latest version of packer from github, which is by far the niftiest client to xmlrpc which wraps makepkg and pacman i’ve ever used. Wait what? Yeah, that’s right! It’s a shell-script which helps you install custom PKGBUILD scripts. ;)

So, i consider this my Christmas present to you all, so have fun trying out an ArchLinux domU!

Flattr me!

Tell your friends!