Install instructions on centOS / Red Had / Fedora

  1. 2 years ago


    I am very interested in testing your software from the simplicity shown in the tutorials, but I need to know If someone has already installed CD on a red hat distro?

    thank you

  2. having lots of trouble even installing some of the components. mono-devel seems impossible to compile on centos. libapache2-mod-mono cant find it. liblz4-tool as well.

    Help would be greatly appreciated

  3. clonedeploy

    3 Nov 2016 Administrator

    I currently use it on centos 6, but I haven't created a guide, most people seem to use Ubuntu. You should be able to figure out what's going on by using the Ubuntu guide. But like you said mono can be tricky.
    centos6 is very tricky and not worth the time, but 7 should be fairly simple.

    yum install yum-utils
    rpm --import ""
    yum-config-manager --add-repo
    yum install apache2-mod_mono mono-devel

    You can install lz4 from the epel repo

  4. Thanks for the help.

    The problem is that mono needs some dependencies I am having trouble installing on centos 6.7 ) ) ) ) ) ) ) ) )

  5. I opted to use an ubuntu virtual machine inside centos 6.7 for clonedeploy only. It would however be greatly beneficial to have a centos6/rh6 tutorial.


  6. clonedeploy

    4 Nov 2016 Administrator

    I'll see what I can do.

  7. 7 months ago

    I just tried to install following the CentOS 7 guide (on a Centos minimal install as a VM).
    yum -y install mono-devel apache2-mod_mono apache2 udpcast lz4 mkisofs wget
    ERROR: "No package apcahe2 available"

    The rest of the install instructions 'seemed' to go ok, until I tried to log in to my clonedeploy server:
    "Service Unavailable"
    "The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."

  8. clonedeploy

    27 Apr 2018 Administrator

    It should be httpd

  9. Should be 'httpd' instead of 'apache2'?

  10. clonedeploy

    27 Apr 2018 Administrator

    yes, different package name on Centos vs Ubuntu, docs need updated I guess.

  11. Ok.... I'll revert and try again. Thanks for the info

  12. Tried again and replaced apache2 with httpd in the following line:
    yum -y install mono-devel apache2-mod_mono apache2 httpd udpcast lz4 mkisofs wget

    Same results:
    503 Service Unavailable

  13. I created a 'default.htm' in the root of /var/www/html/ and I can navigate to it no problem (http://<server_ip>/default.htm).... I just can't get to the sub-web (I thinks that's what it's called) of clonedeploy.

  14. clonedeploy

    27 Apr 2018 Administrator

    mono isn't starting for some reason, what's in your apache error log?

  15. deleted error_log and rebooted, then tried twice to connect:

    [Fri Apr 27 13:43:35.293736 2018] [core:notice] [pid 1052] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Fri Apr 27 13:43:35.604832 2018] [suexec:notice] [pid 1052] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Apr 27 13:43:35.662738 2018] [auth_digest:notice] [pid 1052] AH01757: generating secret for digest authentication ...
    [Fri Apr 27 13:43:35.664340 2018] [lbmethod_heartbeat:notice] [pid 1052] AH02282: No slotmem from mod_heartmonitor
    [Fri Apr 27 13:43:35.727984 2018] [mpm_prefork:notice] [pid 1052] AH00163: Apache/2.4.6 (CentOS) mod_mono/3.13 configured -- resuming normal operations
    [Fri Apr 27 13:43:35.728122 2018] [core:notice] [pid 1052] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
    [Fri Apr 27 13:45:08.164462 2018] [:error] [pid 1242] Failed to connect to mod-mono-server after several attempts to spawn the process.
    [Fri Apr 27 13:45:41.409199 2018] [:error] [pid 1244] Failed to connect to mod-mono-server after several attempts to spawn the process.
  16. clonedeploy

    27 Apr 2018 Administrator

    you need to disable selinux. It's the first line in the documentation.

    This guide assumes selinux is disabled.

  17. It sure enough is!!! Don't know how I missed that.... twice!
    setenforce permissive and we're good to go!!

  18. Made it permanent and all is well... Thanks for all the help!


or Sign Up to reply!