Quantcast
Channel: Alexander D. Chamberlain
Viewing all articles
Browse latest Browse all 7

Setting Up an Arch Linux server on the Rackspace UK Cloud

$
0
0

I like Arch Linux. I have a bit of experience with Rackspace's UK cloud servers. So, I wanted to combine the two!

Easy, right? Rackspace provides an "Arch 2011.10" image. Just need to run pacman -Syu to update it. Unfortunately not... The image is too old and numerous errors occur, including all those relating to the glibc changes.

I reached out to Rackspace support and they gave the following list of commands to run. They worked! Well Done Rackspace... Please can you upgrade the image now?

Of course, these should be run as root.

pacman -Sy
rm -rf /var/run/ /var/lock && pacman -Sf filesystem && init 6 #Say no to the pacman upgrade
pacman -S tzdata haveged #Say no to the pacman upgrade
pacman -U http://pkgbuild.com/~allan/glibc-2.16.0-1-x86_64.pkg.tar.xz
rm /etc/profile.d/locale.sh
pacman -S pacman
haveged -w 1024 && pacman-key --init && pkill haveged && pacman-key --populate archlinux
pacman -Rs haveged
rm -rf /lib/modules/
pacman -Rns kernel26-xen xe-guest-utilities
pacman -Su --ignore glibc
init 6
pacman -Syu base-devel
wget http://aur.archlinux.org/packages/xe-guest-utilities/xe-guest-utilities.tar.gz
tar xzvf xe-guest-utilities.tar.gz
cd xe-guest-utilities
makepkg -si --asroot

Viewing all articles
Browse latest Browse all 7

Trending Articles