Install Zoneminder Please refer Connor's web site Open the terminal and run following commands. sudo add-apt-repository ppa:iconnor/zoneminder-master sudo apt-get update sudo apt install zoneminder sudo su rm /etc/mysql/my.cnf cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf gedit /etc/mysql/my.cnf add the following line at 32 sql_mode = NO_ENGINE_SUBSTITUTION systemctl restart mysql Create Zoneminder database in MySQL (Note: this also creates the default Zoneminder user and permissions in 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 chmod 740 /etc/zm/zm.conf chown root:www-data /etc/zm/zm.conf adduser www-data video a2enmod cgi a2enconf zoneminder a2enmod rewrite chown -R www-data:www-data /usr/share/zoneminder/ systemctl enable zoneminder service zoneminder start Add timezone to PHP gedit /etc/php/7.2/apache2/php.ini edit line 939 with your timezone Then save the file php.ini Your time zone can be get from here Adding cambozola.jar to the directory /usr/share/zoneminder/www/ Download the latest cambozola and extract to the Downloads directory of your PC Then copy the cambozola.jar to the directory /usr/share/zoneminder/www/ On the ubuntu terminal run sudo cp /home/bkjaya1952/Downloads/cambozola-latest/cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder/www/ Open zoneminder web console (http://localhost/zm/) sudo service apache2 reload Then open the ZM-Console and restart zoneminder Adding a Monitor Adding a USB camera You can see the USB camera is working in the above figure For resolving dependency problems in Zoneminder (v1.32.2) on Ubuntu 18.10 (Cosmic) Please visit the link below How to solve dependency problems in Zoneminder (v1.32.2) on Ubuntu 18.10 (Cosmic)
0 Comments
Leave a Reply. |
AuthorRetired Director of Irrigation ,Sri Lanka Categories
All
Archives
March 2020
|