The unit has an unused old IBM Netfinity 7000 server, dual Pentium Pro 200 MHz CPUs, 512 MB of RAM, one 9.1 GB and five 4.5 GB SCSI hard drives. I wanted to use the waste, so:
1. Go to http://tw.releases.ubuntu.com/edgy/ to download PC (Intel x86) server install CD and burn the downloaded ubuntu-6.10-server-i386.iso file into a CD.
2. Use this CD to install Ubuntu 6.10 (Edgy) on the IBM Netfinity 7000 server.
3. Install Apache2:
sudo apt-get install apache2
4. Install the basic compilation environment:
sudo apt-get install build-essential checkinstall
5. Install libapache2-mod-mono:
The easiest way is to use the following command:
sudo apt-get install libapache2-mod-mono
However, this command will currently report an error in Ubuntu 6.10. I had to compile one myself:
md src
cd src
sudo apt-get install apache2-threaded-dev mono-xsp2 mono-apache-server mono-apache-server2
wget sudo a2enmod mod_mono
cd ../sites-available
sudo vim ben.skyiv.com Please refer to the contents of the default file. The key is to add the following statement:
#------------------------------------------------
Alias /ben /home/ben/www/ben
AddMonoApplications ben "/ben:/home/ben/www/ben"
MonoServerPath ben /usr/bin/mod-mono-server2
<Location /ben>
MonoSetServerAlias ben
SetHandler mono
</Location>
#------------------------------------------------
sudo a2ensite ben.skyiv.com
sudo /etc/init.d/apache2 restart
7. Done. For running results, please see: http://ben.skyiv.com/ben/aspx/info.aspx
References:
http://www.ifolder.com/index.php/HowTo:iFolder_Enterprise_Server_on_Ubuntu_6.10
https://help.ubuntu.com/community/ModMono
http://www.mono-project.com/Mod_mono