This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zoneminder [2021/07/09 01:36] – created vissie | zoneminder [2021/09/15 03:57] (current) – vissie | ||
---|---|---|---|
Line 5: | Line 5: | ||
sudo apt install apt-transport-https gnupg | sudo apt install apt-transport-https gnupg | ||
sudo mysql_secure_installation | sudo mysql_secure_installation | ||
+ | # Read, but basicly say Yes to everything | ||
sudo systemctl restart mysql | sudo systemctl restart mysql | ||
- | Locate | + | |
- | cgi.fix_pathinfo=0 | + | sudo vim / |
+ | Locate cgi.fix_pathinfo=1 and change to 0 and un-comment the line: | ||
+ | cgi.fix_pathinfo=0 | ||
sudo systemctl restart php7.3-fpm | sudo systemctl restart php7.3-fpm | ||
sudo vim / | sudo vim / | ||
Add the following line to the end of the file | Add the following line to the end of the file | ||
- | deb https:// | + | deb https:// |
+ | or | ||
+ | deb https:// | ||
+ | | ||
wget -O - https:// | wget -O - https:// | ||
sudo apt update | sudo apt update | ||
Line 63: | Line 69: | ||
} | } | ||
} | } | ||
- | </shx> | + | </sxh> |
sudo systemctl restart nginx.service | sudo systemctl restart nginx.service | ||
If it does not exist create | If it does not exist create | ||
Line 73: | Line 79: | ||
=====How to setup cameras===== | =====How to setup cameras===== | ||
- | http:// | + | [[http:// |
- | # Create a new monitor and choose source as ffmpeg | + | * Create a new monitor and choose source as ffmpeg |
- | # Click on source tab, add rtsp:// | + | |
- | # Colours | + | * Colors |
+ | |||
+ | [[https:// | ||
- | https:// | ||
It turns out, this is better: | It turns out, this is better: | ||
- | | + | [[rtsp:// |
=====Enable ssl===== | =====Enable ssl===== | ||
- | http:// | + | [[http:// |
First, activate the HTTPS / ssl handler for Apache (Ubuntu includes it in the default " | First, activate the HTTPS / ssl handler for Apache (Ubuntu includes it in the default " | ||
Line 110: | Line 117: | ||
If you want to have only zoneminder logs, apart from the other log messages, in dedicated log files, you will have to change the configuration of / | If you want to have only zoneminder logs, apart from the other log messages, in dedicated log files, you will have to change the configuration of / | ||
- | 1. Create configuration file in / | + | * Create configuration file in / |
- | + | #touch / | |
- | #touch / | + | |
- | + | ||
- | 2. Edit / | + | |
<sxh bash; gutter: false> | <sxh bash; gutter: false> | ||
#zoneminder rules | #zoneminder rules | ||
Line 165: | Line 170: | ||
Save the file. | Save the file. | ||
- | 3. Restart syslog daemon | + | * Restart syslog daemon |
#systemctl restart rsyslog.service | #systemctl restart rsyslog.service | ||
Zoneminder logs will be generated as defined in the above file. | Zoneminder logs will be generated as defined in the above file. | ||
Line 177: | Line 182: | ||
So I tried this: | So I tried this: | ||
- | https:// | + | [[https:// |
sudo cp -rf / | sudo cp -rf / |