I am installing OpenCPU on a production RedHat 7 Server and it turned out that the path to their Apache server is not
/etc/httpd
but something else. Apparently, OpenCPU was still referring to /etc/httpd and therefore did not work. I am wondering if there is a way to specify custom path to Apache server for OpenCPU installation (as a parameter for installation, or somewhere in the code, or after installation)?
OpenCPU version is 2.0.7, RedHat version is 7.3, Apache server version is 2.4
Where is your Apache2 located then? Did you compile it from source?
OpenCPU depends on httpd
via rapache (which has mod_R
). The rApache manual has some docs about how to compile rapache from source against a custom version of R or Apache.
Once this works you can try to build OpenCPU. The default opencpu-server rpm spec is copies opencpu.conf into /etc/httpd
because that is the path of the httpd
package in Fedora or Enterprise Linux. I guess you could modify that if you run a non-standard version of httpd.