Sunday, May 10, 2020

installing ZoneMinder On Ubuntu 18.04.4 LTS bionic

Video Tutorial - https://youtu.be/yR1Btrrv64s

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
Offcial Website -https://zoneminder.com/  | Github - https://github.com/ZoneMinder/zoneminder
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:
Ubuntu 18.04.4 LTS bionic            Hostname - www.yourdomain.com  - ip Address - 192.168.1.40
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -a ; hostname -I ; hostname
apt update ; apt install -y build-essential net-tools curl git software-properties-common tasksel
tasksel install lamp-server

add-apt-repository ppa:iconnor/zoneminder-1.34 -y
apt install zoneminder -y

nano /etc/mysql/mysql.conf.d/mysqld.cnf
sql_mode = NO_ENGINE_SUBSTITUTION
systemctl restart mysql ; systemctl status mysql

mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql     
mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';"
mysqladmin -uroot -p reload
[ Password -toor ]


chmod 740 /etc/zm/zm.conf ; chown root:www-data /etc/zm/zm.conf
adduser www-data video
a2enmod cgi rewrite ; a2enconf zoneminder
chown -R www-data:www-data /usr/share/zoneminder/
systemctl enable zoneminder ; systemctl start zoneminder ; systemctl reload zoneminder
http://www.yourdomain.com/zm/

https://zoneminder.readthedocs.io/en/stable/installationguide/ubuntu.html

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment