Virtual User + Zoneminder

Forum for questions and support relating to the 1.30.x releases only.
Locked
DimaO
Posts: 3
Joined: Thu Jul 27, 2017 10:44 am

Virtual User + Zoneminder

Post by DimaO »

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
DimaO
Posts: 3
Joined: Thu Jul 27, 2017 10:44 am

Re: Virtual User + Zoneminder

Post by DimaO »

Issue resolved. Actually related to CWP7, needed to enable CGI scripts.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Virtual User + Zoneminder

Post by rockedge »

:D
Locked