Ubuntu 9.04 server at home

              · · ·

Over the past week or so (slowed down by the damn flu) I have been building a new server for home. Its going to have the following duties:

The hardware is mounted in rackmount chassis with space for 12 drives, 6 of which will be populated straight away, has a 64bit processor and will have 3Gb of RAM (The maximum on this old hardware).

I have installed Ubuntu 9.04 Server edition on it, and I must say that it went very smoothly except for the fact that Python 2.5 on Ubuntu 9.04 is a pain, often breaking. Here are some useful commands:

Having two installations of different version of python and switching between them:

<br /> sudo apt-get install python2.5 idle-python2.5<br /> sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.6 1<br /> sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.5 10<br /> sudo update-alternatives --config python<br />

To undo:

<br /> sudo update-alternatives --remove-all python<br /> sudo ln -s python2.6 /usr/bin/python<br />

To force a change of version:

<br /> sudo rm /usr/bin/python &#038;&#038; sudo ln -s python2.5 /usr/bin/python<br />

Then this will be the main server in the house, with lightweight front ends (This will have over 4Tb of RAID with expandability to 12TB). My old book will retire until I think of a good use for its out of date hardware.

comments powered by Disqus