Skip to main content

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

Comments

Popular posts from this blog

Visual Studio 2010 Keyboard Shortcuts

These keyboard shortcuts are helpful. Some of them are not document in Visual Studio 2010 Express, for example: <Ctrl> F5 to run the application without debug <Ctrl> Period or <Ctrl> Space for code completion. <Ctr> <Shift> <B> to build the solution For more download the Visual Studio 2010 Keybinding Posters from Microsoft. Credit:  Visual Studio 2010 Keyboard Shortcuts - ScottGu's Blog DevCurry: 30 Favorite Visual Studio Keyboard Shortcuts

Install Android Development Tools on Ubuntu 12.10 (Quantal Quetzal)

First thing first. Make sure Java Development Kit (JDK) install. Go to Terminal and type 'Java -version' to check. You should see the following: java version "1.7.0_07" OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1ubuntu1) OpenJDK Server VM (build 23.2-b09, mixed mode) If Java Development Kit is not installed, you can install it from Ubuntu Software Center. Click on Ubuntu Software Center icon from left side bar and search for Java. Here, I selected 'OpenJava JDK 7 runtime' Go to http://www.eclipse.org/downloads/ to download Eclipse Classic 4.2.1 (Juno) Go to your downloads folder and extract it. Move 'eclipse' folder to your home directory. Launch Eclipse 4.2.1 (Juno) from 'eclipse' folder. Install Android Developer Tools (ADT) plugin for Eclipse. Click on Help -> Install New Software and add the URL 'https://dl-ssl.google.com/android/eclipse/' on the input text box next to 'Work with' and click the 'Add

Recent Activity

It’s fun to check my email account recent activity. Here is the fun. Someone attempted to log in to my account from other countries. It is good to check activity log in your Gmail, Hotmail, Yahoo, Facebook, and other accounts frequently.