This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tech:zoneminder:start [2018/06/24 11:35] admin |
tech:zoneminder:start [2021/08/27 20:49] (current) rk4n3 |
||
---|---|---|---|
Line 1: | Line 1: | ||
<typo fs:xx-large; fw:bold;>ZoneMinder</typo> \\ | <typo fs:xx-large; fw:bold;>ZoneMinder</typo> \\ | ||
====== Installation on Ubuntu ====== | ====== Installation on Ubuntu ====== | ||
+ | Original article at: [[https://wiki.zoneminder.com/Ubuntu_Server_18.04_64-bit_with_Zoneminder_1.30.4_the_easy_way]] \\ | ||
* Install Ubuntu | * Install Ubuntu | ||
* Set up storage ... | * Set up storage ... | ||
* MariaDB storage at ''/var/lib/mysql'' | * MariaDB storage at ''/var/lib/mysql'' | ||
* Apache storage at ''/var/www'' // (or ''/var/www/html'') // | * Apache storage at ''/var/www'' // (or ''/var/www/html'') // | ||
- | * ZoneMinder event storage under ''?'' | + | * ZoneMinder data/video storage under ''/var/cache/zoneminder'' |
* <del>Configure PPA for ZoneMinder: [[https://launchpad.net/~iconnor/+archive/ubuntu/zoneminder]]</del> \\ // Not up-to-date // <code>sudo add-apt-repository ppa:iconnor/zoneminder | * <del>Configure PPA for ZoneMinder: [[https://launchpad.net/~iconnor/+archive/ubuntu/zoneminder]]</del> \\ // Not up-to-date // <code>sudo add-apt-repository ppa:iconnor/zoneminder | ||
sudo apt-get update</code> | sudo apt-get update</code> | ||
Line 19: | Line 20: | ||
a2enmod rewrite | a2enmod rewrite | ||
a2enconf zoneminder</code> | a2enconf zoneminder</code> | ||
- | * Add timezone to PHP: ''vim /etc/php/7.2/apache2/php.ini'' // Find [Date] and add timezone spec entry | + | * Add timezone to PHP: ''vim /etc/php/7.2/apache2/php.ini'' \\ Find [Date] and add timezone spec entry |
* Change permissions in /usr/share/zoneminder/: ''chown -R www-data:www-data /usr/share/zoneminder/'' | * Change permissions in /usr/share/zoneminder/: ''chown -R www-data:www-data /usr/share/zoneminder/'' | ||
* Restart Apache: ''service apache2 restart'' | * Restart Apache: ''service apache2 restart'' | ||
Line 31: | Line 32: | ||
====== Troubleshooting ====== | ====== Troubleshooting ====== | ||
+ | |||
+ | ==== Auto-Upgrade Failure on Ubuntu ==== | ||
+ | Post-install script is at ''/var/lib/dpkg/info/zoneminder.postinst'' | ||
==== Video Playback in Browser not working ==== | ==== Video Playback in Browser not working ==== |