update rpm nginx readme
This commit is contained in:
parent
80afbbd9ce
commit
96ade2f9d0
|
@ -44,10 +44,7 @@ New installs
|
||||||
|
|
||||||
5. Disable SELinux
|
5. Disable SELinux
|
||||||
|
|
||||||
We currently do not have the resources to create and maintain an accurate
|
SELinux must be disabled or put into permissive mode. This is not optional!
|
||||||
SELinux policy for ZoneMinder on Fedora. We will gladly accept pull
|
|
||||||
reqeusts from anyone who wishes to do the work. In the meantime, SELinux
|
|
||||||
will need to be disabled or put into permissive mode.
|
|
||||||
|
|
||||||
To immediately disbale SELinux for the current seesion, issue the following
|
To immediately disbale SELinux for the current seesion, issue the following
|
||||||
from the command line:
|
from the command line:
|
||||||
|
@ -78,11 +75,20 @@ New installs
|
||||||
sudo ln -sf /etc/zm/www/zoneminder.nginx.conf /etc/nginx/conf.d/
|
sudo ln -sf /etc/zm/www/zoneminder.nginx.conf /etc/nginx/conf.d/
|
||||||
sudo ln -sf /etc/zm/www/redirect.nginx.conf /etc/nginx/default.d/
|
sudo ln -sf /etc/zm/www/redirect.nginx.conf /etc/nginx/default.d/
|
||||||
|
|
||||||
7. Edit /etc/sysconfig/fcgiwrap and set DAEMON_PROCS to the maximum number of
|
7. Configure and start fcgiwrap
|
||||||
|
|
||||||
|
Edit /etc/sysconfig/fcgiwrap and set DAEMON_PROCS to the maximum number of
|
||||||
simulatneous streams the server should support. Generally, a good minimum
|
simulatneous streams the server should support. Generally, a good minimum
|
||||||
value for this equals the total number of cameras you expect to view at the
|
value for this equals the total number of cameras you expect to view at the
|
||||||
same time.
|
same time.
|
||||||
|
|
||||||
|
Enable the fcgiwrap *socket* in the following manner:
|
||||||
|
|
||||||
|
sudo systemctl enable --now fcgiwrap@nginx.socket
|
||||||
|
|
||||||
|
Do NOT try to start the fcgwrap service! It must be triggered by the
|
||||||
|
socket to work properly.
|
||||||
|
|
||||||
8. Now start the web server:
|
8. Now start the web server:
|
||||||
|
|
||||||
sudo systemctl enable nginx
|
sudo systemctl enable nginx
|
||||||
|
|
Loading…
Reference in New Issue