Hi,
Already for around a week I'm trying to get a perfect setup working, but I cannot succeed in getting it completely working.
My setup is basically a VPS with CentOS 7, and CentOS Webpanel installed as control panel. This works pretty good.
What I've done up until now to get it working:
1) chown the directories to nobody:nobody (preiously tried for user but this wasn't working.
2) Give root priveleges to nobody
3) "Fix" apache, as the there is a dependency for httpd, http-tools and php (which are actually already installed, but couldn't find a working workaround).
4) Change the vhosts file for the hostname
5) Add suphp usergroup to the vhosts file
6) changed the tmp.d/zoneminder.conf file not to chown the /var/lib/zoneminder/sock to apache, but to nobody at restart.
So now it basically works. It records and starts up automatically.
However, there is 1 thing missing: I cannot view it in browser. Basically because apc is not installed. And it looks like it's impossible to install it for CWP7.
I would appreciate any tips/tricks to get it working. I'm probably not the only one trying to combine a functioning webserver and zm on a single server.
Docker is not an option as the VPS is OpenVZ and Linux kernel is 2.6
Virtual User + Zoneminder
Re: Virtual User + Zoneminder
Issue resolved. Actually related to CWP7, needed to enable CGI scripts.