I have an Asp.Net app (built in mono) that I am trying to deploy to a Linux Redhat 6 environment. I tried following the instructions on the mono website:
http://www.mono-project.com/docs/web/aspnet/ http://www.mono-project.com/docs/getting-started/install/linux/
I was able to get nginx installed and setup; however it appears I don’t have fastcgi-mono-server4 installed. I’ve been googling all over the place trying to find how to install that on Redhat with no luck. I thought I’d try the apache instructions instead but I’m having no luck getting mod_mono installed. I tried to install mono-devel using yum but I keep getting the following errors:
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_) Requires: libpng15.so.15()(64bit) Error: Package: libmonosgen-2_0-1-4.0.3.20-0.xamarin.4.x86_64 (download.mono-project.com_repo_centos_) Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_) Requires: libtiff.so.5()(64bit) Error: Package: mono-core-4.0.3.20-0.xamarin.4.x86_64 (download.mono-project.com_repo_centos_) Requires: libc.so.6(GLIBC_2.16)(64bit) Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_) Requires: libtiff.so.5(LIBTIFF_4.0)(64bit) Error: Package: mono-devel-4.0.3.20-0.xamarin.4.x86_64 (download.mono-project.com_repo_centos_) Requires: libc.so.6(GLIBC_2.15)(64bit) Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_) Requires: libpng15.so.15(PNG15_0)(64bit)
I’m kind of at a loss here. Can anyone point me in the right direction to get mono installed on redhat and get my Asp.Net application properly deployed using either nginx or apache?
Advertisement
Answer
I never did find a solution to this with Redhat 6. We ended up wiping the server and installing Redhat 7. From there, we were able to install and configure mono running on nginx and it works beautifully. I think the Redhat 6 repositories are just too far out of date to handle mono. I would recommend using Redhat 7+.