2

Hello I'm a Windows guy and would like to build a small, portable, mini ITX web servers with free software.

My application is ready. It's ASP.NET 4.0 connected to MySql 5. It runs on my Windows machine no problem, now I want to put it in a Linux box. I have previously ran some php websites in Ubuntu since apt-get install is very nice and easy, but I must say I'm still a Linux n00b.

I have Ubuntu 10.10 64 server.

Would it be as simple as:

  1. apt-get install apache2
  2. apt-get install mysql5
  3. apt-get mono something
  4. copy-paste the website files, done.

Is it this simple? Or are there complexities involved in step 3?

Oh and I assume i'll have to replace my MySql Connector/NET (MySql.Data.dll inside the bin folder) with a Mono version, right?

wreck_of_u
  • 131
  • 4
  • Are these going to be something that you are distributing a lot of? If so, you need to consider maintenance and software upgrades, which are more important then the initial install. – devicenull Mar 28 '11 at 03:30
  • @devicenull: not really a lot, and upgrades won't be frequent (if any). And in case of an upgrade, most probably, it will be a "packaged" upgrade. It's not a huge application anyway. – wreck_of_u Mar 28 '11 at 05:28

1 Answers1

1

Is it this simple? Or are there complexities involved in step 3?

Ubuntu 10.10 contains mono 2.6.7 which doesn't support ASP.NET 4.0. You will have to build newer version of mono from source or tarballs using parallel mono environment. Try to look at these two articles which should guide you to set up newer version of mono on your Ubuntu.

Oh and I assume i'll have to replace my MySql Connector/NET (MySql.Data.dll inside the bin folder) with a Mono version, right?

Yes, I think there is a special version for mono.

yojimbo87
  • 672
  • 5
  • 12
  • 22