Install Mono Daily Build Script for Fedora 13

A while back I added a Fedora 13 install script for Mono that downloads, builds, and installs the last tested daily build along with xsp and mod_mono.
I just recently updated it to use the Sept 1st, 2010 daily build. You can pull the latest script directly from my website or from my repository on github.
Script Usage
My test environment was a standard web server install from the Fedora 13 download DVD. After the install, I started the same process I performed with the Ubuntu install, which was something like this:
mkdir mono cd mono wget http://www.integratedwebsystems.com/resources/p796/fedora_mono-trunk.sh chmod 744 fed*.sh ./fedora_mono-trunk.sh
That’s it. It’ll first install all the required dependencies for the build and the web server. It’ll then download the 9/1 build (or latest tested version) from the daily tarball list and pull mod_mono and xsp from subversion trunk. Finally, it will extract, compile, and install everything.
The only thing remaining is to setup a web application and configure apache to use mod_mono. For this, I like to use the Mod Mono Config Tool as a starting point to build my virtual host configuration file.
Setup your web server:
- Move the mod_mono.conf from /etc/httpd/conf to /etc/httpd/conf.d
- Create a new directory to hold your virtual host config files at: /etc/httpd/sites-enabled
mkdir /etc/httpd/sites-enabled - Copy your new virtual host config file to /etc/httpd/sites-enabled
- Append a virtual host config line to your httpd.conf
echo ”Include sites-enabled/*.*” >> /etc/httpd/conf/httpd.conf - Disable Selinux by editing the /etc/selinux/config file and changing SELINUX=disabled
- Reboot server
- Start web server if it isn’t configured to auto-start. (use chkconfig to set auto-start)
service httpd start
That should do it. You can test your new virtual host by browsing to it. The 404 response should show the new mod-mono version.
Good luck!
