TurnKey Linux Virtual Appliance Library

getting .net 4.0 installed on asp.net turnkey

krefftc's picture

Anyone know how I can get .net installed on the asp.net turnkey openvz?

It only comes installed with mod-mono-server2 and I need mod-mono-server4.

Any ideas?

Eric (tssgery)'s picture

I think what you want is...

I have never used that applaince but mod-mono-server4 seems to be supplied in the mono-apache-server4 package, so an apt-get install `mono-apache-server4` should get it for you.


What I am uncertain of is what happens tpo the asp.net appliance when you install this, does the package now that mod-mono-server2 is also installed and performa an upgrade? I don't know and am not even sure that I'd be able to tell what happened if I tried it for you.

I would suggest deploying a brand new asp.net appliance and trying to install mono-apache-server4 to see what happens. If it fails, then you won't have harmed your current deployment.

captdragon's picture

getting .net 4.0 installed on asp.net

@tssgery: Thanks.

I tried deploying a brand new appliance, But when i do apt-get install mono-apache-server4 it gives me:

E: Unable to locate package mono-apache-server4

Eric (tssgery)'s picture

my mistake...

I'm really sorry.


When I did a little research I was on an Ubuntu 12.04 machine when I thought I was on a TKL image. mono-apache-server4 is available in the Ubuntu repositories but does not appear to be in the Debian Squeeze (on which TKL is based). It was introduced in Debian Wheezy but that's the release after Squeeze. mAt this stage, I'm not sure where you point you. I'm sure you could download, build, and install it but I've never done that with mono. 

Sorry to lead you the wrong way

captdragon's picture


I tried Wheezy, and like you said Wheezy has it. 

I found a Wheezy template container on the proxmox website and was able to deploy and install mono-apache-server4. It works like a charm.


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)