Wednesday, June 1, 2011

Running ASP.net on Ubuntu 11.04 using Apache 2 web server

1.1 Install the mod_mono packages:
sudo apt-get install libapache2-mod-mono mono-apache-server2

1.2 Install the mono development tools packages:
sudo apt-get install mono-devel (optional)

2. Enable the Apache module:
sudo a2enmod mod_mono_auto

3. Restart Apache: sudo /etc/init.d/apache2 restart

To test your setup, you can create a test page with the following content anywhere that Apache can see (i.e. /var/www/test.aspx)

References:
https://help.ubuntu.com/community/ModMono
http://www.mono-project.com/Mod_mono
http://ubuntuexperiment.wordpress.com/2009/01/29/running-aspnet-applications-in-ubuntu-using-modmono/
http://thelinuxexperiment.com/uncategorized/setting-up-an-ubuntu-based-asp-net-server-with-mono/
http://www.hbyconsultancy.com/blog/install-asp-net-3-5-environment-for-ubuntu-maverick-10-10.html

No comments:

Post a Comment

How to recognize a fake Geek Squad renewal scam | Consumer Advice

Except from  https://consumer.ftc.gov/consumer-alerts/2022/10/how-recognize-fake-geek-squad-renewal-scam Scammers are at it ag...