I pulled together steps from the following links:
https://wiki.zoneminder.com/Ubuntu_Serv ... .2C_PHP.29
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
That resulted in the following steps (bash history with screwed up commands removed):
Code: Select all
10 sudo apt install nginx mariadb-server php-fpm php-mysql fcgiwrap
12 sudo mysql_secure_installation
13 sudo systemctl restart mysql
14 sudo nano /etc/php/7.2/fpm/php.ini (set timezone)
17 sudo nano /etc/php/7.2/fpm/php.ini (set cgi.fix_pathinfo=0)
18 sudo systemctl restart php7.2-fpm
20 sudo apt install -y software-properties-common
21 sudo add-apt-repository ppa:iconnor/zoneminder (shows list of repositories to choose)
22 sudo add-apt-repository ppa:iconnor/zoneminder-1.32
23 sudo apt update
25 sudo apt install zoneminder
26 sudo systemctl enable zoneminder
27 sudo service zoneminder start
28 sudo adduser www-data video
29 sudo chown -R www-data:www-data /usr/share/zoneminder/
30 sudo nano /etc/nginx/sites-available/default (added "index.php" in the server section)
31 sudo nano /etc/nginx/zoneminder.conf (created zoneminder.conf from first link above)
32 sudo nano /etc/nginx/sites-enabled/default (added "include /etc/nginx/zoneminder.conf;" in the server section)
33 sudo systemctl restart nginx
34 sudo nano /etc/default/fcgiwrap (created file and added "DAEMON_OPTS=-c 10" per instructions in first link above)
35 sudo systemctl restart fcgiwrap
Now it's on to adding monitors.
If anyone can see any misses here please let me know.