This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
zoneminder [2021/07/09 01:39] – 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 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:// | ||
+ | * Colors is 24 bit, Width is 1920, Height is 1080(I choose 1080P mode instead of 3MP), Click save and it should now work. | ||
- | Click on source tab, add rtsp://username: | + | [[https://forums.zoneminder.com/ |
- | Colours is 24 bit, Width is 1920, Height is 1080(I choose 1080P mode instead of 3MP), Click save and it should now work. | ||
- | |||
- | 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 112: | 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 167: | 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 179: | Line 182: | ||
So I tried this: | So I tried this: | ||
- | https:// | + | [[https:// |
sudo cp -rf / | sudo cp -rf / |