Difference between revisions of "User:Bkjaya1952"

From ZoneMinder Wiki
Jump to navigationJump to search
(Created page with "'''How to Install ZoneMinder-1.36.0-focal1. on UBUNTU 20.04 LTS ( Focal Fossa)''' <code>sudo su sudo add-apt-repository ppa:iconnor/zoneminder-1.36 sudo apt-get update ap...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''How to Install ZoneMinder-1.36.0-focal1. on UBUNTU 20.04 LTS ( Focal Fossa)'''




<code>sudo su


sudo add-apt-repository ppa:iconnor/zoneminder-1.36
[https://wiki.zoneminder.com/Bkjaya%27s_Experiments  Please see B.K.Jayasundera's Experiments on Zoneminder at this link]
 
sudo apt-get update
 
apt install zoneminder</code>
 
 
'''Configuring Mysql'''
 
 
<code>/etc/init.d/mysql start
 
mysql -e "drop database zm;"
 
mysql -uroot --password=""< /usr/share/zoneminder/db/zm_create.sql 2>/dev/null
 
mysql -e "ALTER USER 'zmuser'@localhost IDENTIFIED BY 'zmpass';"
 
mysql -e "GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;"
 
mysql -e "FLUSH PRIVILEGES ;"</code>
 
 
'''Configuring Zoneminder
'''
 
<code>chmod 740 /etc/zm/zm.conf
 
chown root:www-data /etc/zm/zm.conf
 
adduser www-data video
 
a2enmod cgi
 
a2enconf zoneminder
 
a2enmod rewrite
 
a2enmod headers
 
a2enmod expires</code>
 
 
'''Starting Zoneminder and apache'''
 
 
<code>systemctl enable zoneminder
 
service zoneminder start
 
service apache2 reload<code>
 
 
Open zoneminder web console (http://localhost/zm/)

Latest revision as of 00:03, 16 May 2021