im running mono 3.0 via fastcgi...
my htaccess is like this:
Action mono-cgi /home/vamola/public_html/cgi-bin/mono-cgi
AddHandler mono-cgi .aspx .asmx .ashx .ascx .asax .axd .config .cs
mono-cgi:
#!/opt/mono-3.0.2/bin/fastcgi-mono-server4 -f
-connect /tmp/mono-fcgi.sock /home/admin/mono-fcgi
mono-fcgi:
!/
bin/sh
umask 0077
exec >>/tmp/mono-fcgi.log
exec 2>>/tmp/mono-fcgi.err
Now I found how to build and install mono 2.6.x to TC.First install packages - base-dev, make, pkg-config, gcc, bison, binutils, gettext, glib2-dev, glib2thenwget http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.1.tar.bz2tar xjvf mono-2.6.1.tar...
i'm using Mono 2.10
running on Ubuntu 12 x64.
Now we need just use unmanaged code.
[DllImport("libc.so")]
public static extern int getpid ();
And next step i'm run
getpid();
and i'm recieve next error
$ MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono libc_test.exe
Mono: DllImport attempting to load: 'libc.so'.
Mono: DllImport loading library: '/home/ibaranov/Documents/MONO/libc_test/lib
Quick question - I'm on Debian squeeze, running nginx fine and installed mono fine. Now I want to host a .net4 web application and as I understand it I'll need fastcgi-mono-server4 (and xsp4 when testing it out) - where do I get these packages?
I tried apt-get install fastcgi-mono-server4 and same for mono-xsp4-base.
Hello everyone
I'm trying to install mono 1.1.12.1 in a Ubuntu 12.04 LTS linux server! Running as root I've made the .bin file executable by using:
Code:
chmod +x mono_1.1.12.1.bin
and then execute it using:
Code:
./mono:1.1.12.1.bin
Though it only changed command line.
I'm running mono 2.10 on CentOS 5.5 with Apache 2. I've installed it already, and am running a WCF service on it currently.
But I can't do mono -V or mono program.exe, which makes me think I installed it incorrectly. The mono binary is in my /opt/mono/bin/ folder.
What can I do?
I know I'm running mono-apache-server4 but when I launch the site mono-apache-server2 is responding.
I am trying to install Mono from source (because in the future I will need to fix a bug in it).
PROBLEM: The compiled Mono does not behave properly.
Note: http://www.mono-project.com/Compiling_Mono_From_Git is not the whole answer.
I've been writing a console application in C# using MonoDevelop.