The Unit is an idle old IBMNetfinity7000 server, dual PentiumPro200MHzCPU, MB memory, a 9.1GB and five 4.5GB SCSI hard disks. The Unit is an idle old IBM Netfinity 7000 server, Dual Pentium Pro 200 MHz CPU, 512 MB memory, a 9.1 GB and five 4.5 gb scsi hard disks. I want to take advantage of the waste, so:
1. Download the PC (Intel x86) server install CD from the http://tw.releases.ubuntu.com/edgy/ and burn the downloaded ubuntu-6.10-server-i386.iso file to a CD.
2. Use this CD to install Ubuntu 7000 (Edgy) on the IBM Netfinity 6.10 server ).
3. Install Apache2:
Sudo apt-get install apache2
4. Install the basic compiling environment:
Sudo apt-get install build-essential checkinstall
5. Install libapache2-mod-mono:
The simplest method is to use the following
Command:
Sudo apt-get install libapache2-mod-mono
However, in Ubuntu 6.10, an error is reported. 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 http://go-mono.com/sources/mod_mono/mod_mono-1.2.1.tar.gz
Tar xzf mod_mono-* .tar.gz
Cd mod_mono -*/
./Configure -- prefix =/usr -- sysconfdir =/etc
Make
Sudo checkinstall
6. Configure Apache2 to run ASP. NET 2.0
Cd/etc/apache2/mods-available
Sudo ln-s ../mod_mono.conf
Sudo echo "LoadModule mono_module/usr/lib/apache2/modules/mod_mono.so"> mod_mono.load
Sudo a2enmod mod_mono
Cd ../sites-available
For details about sudo vim ben.skyiv.com, refer to the content 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
MonoSetServerAlias ben
SetHandler mono
#-------------------------------------------------
Sudo a2ensite ben.skyiv.com
Sudo/etc/init. d/apache2 restart
7. Complete. See: http://ben.skyiv.com/ben/aspx/info.aspx Running Effect
;