[Mono-list] mod_mono on Fedora Core 4
Alex Roman
allex2k3 at yahoo.ca
Sun Jul 24 16:45:45 EDT 2005
Hi,
I've managed to get mod_mono running on Fedora Core 4. I know a few users have not been able to, so I am posting the way I did it in the hope that it will help anyone who wants to do just that.
1. vi /etc/yum.repos.d/nrpms and add this to the file
--snip
[nr-production]
name=Fedora Core $releasever - $basearch - nrpms.net/production
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/production/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/production/mirrors-nrpms
enabled=1
gpgcheck=0
[nr-testing]
name=Fedora Core $releasever - $basearch - nrpms.net/testing
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/testing/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/testing/mirrors-nrpms
enabled=1
gpgcheck=0
[nr-experimental]
name=Fedora Core $releasever - $basearch - nrpms.net/experimental
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/experimental/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/experimental/mirrors-nrpms
enabled=0
gpgcheck=0
[nr-graveyard]
name=Fedora Core $releasever - $basearch - nrpms.net/graveyard
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/graveyard/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/graveyard/mirrors-nrpms
enabled=0
gpgcheck=0
[nr-debug]
name=Fedora Core $releasever - $basearch - nrpms.net/debug
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/debug
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/debug/mirrors-nrpms
enabled=0
gpgcheck=0
--snip--
2. vi /etc/yum.repos.d/nrpms-mono.repo and add this to the file:
--snip--
[nr-mono]
name=Fedora Core $releasever - $basearch - nrpms.net/mono
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/mono/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/mono/mirrors-nrpms
enabled=1
gpgcheck=0
[nr-mono-devel]
name=Fedora Core $releasever - $basearch - nrpms.net/mono-devel
#baseurl=http://yum.nrpms.net/fedora-$releasever-$basearch/mono-devel/
mirrorlist=http://yum.nrpms.net/fedora-$releasever-$basearch/mono-devel/mirrors-nrpms
enabled=1
gpgcheck=0
--snip--
3. Update your system with
# yum update
4. Install mono with
# yum install mono
5. Install httpd-devel package
# yum install httpd-devel
6. I am not sure, but you _MAY_ have to install other packages as well...
Now for the fun part:
As a regular non-root user:
cd
mkdir mod_mono
cd mod_mono
svn co svn://svn.myrealbox.com/source/trunk/xsp
svn co svn://svn.myrealbox.com/source/trunk/mod_mono
cd mod_mono
./autogen.sh --prefix=/usr
make
sudo make install
cd ../xsp
./autogen.sh --prefix=/usr
make
sudo make install
Now follow the tutorial on the main mono page:
http://www.mono-project.com/Mod_mono#Configuring_Mod_Mono
I really hope this helps. Please send comments if you try this tutorial and tell me of any mistakes I made. I will try to post this on a web page somewhere.
Things to think about:
- Could mono be compiled from scratch on Fedora Core 4? ie. without using the pre-compiled nrpms mono rpms?
- How to set up /~user/ to handle .aspx pages as mono? I have not been able to...
Alex Roman
More information about the Mono-list
mailing list