Results 1 to 4 of 4

Thread: How-to: mod_mono

  1. #1
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,357

    How-to: mod_mono

    Do the following on CentOS/Fedora/RHEL before starting the installation:
    Code:
    yum -y install libungif-devel freetype-devel libtiff-devel libjpeg-devel xulrunner-devel cmake
    Installation:
    Code:
    cd /root
    mkdir mono
    cd mono
    wget https://download.mono-project.com/sources/mono/mono-5.12.0.226.tar.bz2
    tar xjf mono-5.12.0.226.tar.bz2
    wget http://download.mono-project.com/sources/mod_mono/mod_mono-3.13.tar.gz
    tar xzf mod_mono-3.13.tar.gz
    cd mono-5.12.0.226
    ./configure --prefix=/usr
    make -j 8
    make install
    cd ../mod_mono-3.13
    ./configure --prefix=/usr
    make
    make install
    ldconfig
    echo '#mod_mono' >> /etc/httpd/conf/extra/httpd-includes.conf
    echo 'Include /etc/httpd/conf/mod_mono.conf' >> /etc/httpd/conf/extra/httpd-includes.conf
    #skip the next line on FreeBSD
    /etc/init.d/httpd restart
    #skip the next line on CentOS/Debian/Fedora/Ubuntu
    /usr/local/etc/rc.d/httpd restart
    Last edited by smtalk; 05-29-2018 at 04:10 AM. Reason: Updated links
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  2. #2
    Join Date
    Oct 2007
    Posts
    188
    Hi I just have Mod_Mono installed on one of my servers and noticed that ConfigServer Security & Firewall - csf v5.41 through warnings about a directory created in /tmp called .wapi . That directory is related to Mod_Mono and information can be found on http://www.mono-project.com/Mono:Runtime .

    In CSF it is possible to get rid of the check and warnings by adding the line /tmp/\.wapi in "csf.fignore" file (Directory Watching).

    The installation was made by smtalk and it works like a charm.
    Thanks Martynas for a great job.

  3. #3
    Join Date
    Aug 2011
    Posts
    5

    Question Gluezilla is not supported anymore

    Hello Martynas,

    Nice how to - thank you. However, gluezilla seems to be dead and doesn't compile on a newer systems (CentOS 6.4, Mono 3)

    http://lists.ximian.com/pipermail/mo...ry/048191.html

    Also, one step may be missing before
    Code:
    make
    - that is
    Code:
    make get-monolite-latest
    Kind regards,
    Donatas

  4. #4
    Join Date
    Aug 2011
    Posts
    5

    Post

    Here I documented my attempt to set up Mono on CentOS 6.4.

    Hopefully that will help someone.

    Regards,
    Donatas

Similar Threads

  1. mod_mono
    By Elfodellanotte in forum Apache (WWW)
    Replies: 2
    Last Post: 01-06-2011, 08:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •