CentOS 7.2 .. your system is not ready for use by Virtualmin.

1 post / 0 new
#1 Thu, 11/03/2016 - 14:10
jvr968

CentOS 7.2 .. your system is not ready for use by Virtualmin.

I have read that I have to install a fresh centos system and the gpl automatic script to get the correct httpd version automatically, but it installs an apache version of updates repository.

I have read that apache version of virtualmin repository installs the Suexec command configured to /home

Then if I check the configuration I get this message:

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin virtual server home directory is /home. CGI and PHP scripts run as domain owners will not be executed.

.. your system is not ready for use by Virtualmin.

I have installed a minimal version of CentOS (7.2.1511) - CentOS-7-x86_64-Minimal-1511.iso

I have updated the system

I have downloaded the file gpl installer from: wget http://software.virtualmin.com/gpl/scripts/install.sh

I have added hostname

I have installed virtualmin

But it doesn't install the apache version from the virtualmin repository.

httpd.x86_64 -- 2.4.6-40.el7.centos.4 -- @updates

How can I get the system ready for Virtualmin.

I have read this:

To resolve this you will have to recompile apache with /home as a base directory for mod_suexec module.

I was searching for a solution everywhere but I didn't found it.

Do you know how can I fix it? Thank you.