Difference between revisions of "File:Zoneminder 34.0.- 23- 1- 2020.pdf"
Bkjaya1952 (talk | contribs) (January 23, 2020 B.K.Jayasundera Today, Mr. Isaac Connor has published the first successful Zoneminder-master-eoan package for Ubuntu 19.10. in his website . The contents in this file explain briefly on instllation of zoneminder) |
Bkjaya1952 (talk | contribs) |
||
Line 1: | Line 1: | ||
Today, Mr. Isaac Connor has published the first successful Zoneminder-master-eoan package for Ubuntu 19.10. in his website . | |||
To avoid errors when installing Zoneminder , MySQL-server is installed first. | |||
'''Installation of MySQL-server''' | |||
On the Ubuntu terminal | |||
<code>sudo su | |||
apt install mysql-server | |||
rm /etc/mysql/my.cnf | |||
cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf | |||
sed -i "15i default_authentication_plugin= mysql_native_password" /etc/mysql/my.cnf | |||
/etc/init.d/mysql start | |||
CREATE USER 'admin'@'localhost' IDENTIFIED WITH mysql_native_password BY ''; | |||
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION; | |||
FLUSH PRIVILEGES ; | |||
quit | |||
mysqladmin -uroot -p reload</code> | |||
'''Installation of Zoneminder''' | |||
To install Zoneminder Please refer Connor’s web site Open the terminal and run following commands. | |||
<code>mysql | |||
CREATE USER 'zmuser'@localhost IDENTIFIED WITH mysql_native_password BY 'zmpass'; | |||
GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION; | |||
FLUSH PRIVILEGES ; | |||
quit | |||
mysqladmin -uroot -p reload | |||
sudo add-apt-repository ppa:iconnor/zoneminder-master | |||
sudo apt-get update | |||
sudo apt install zoneminder</code> | |||
<code>mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql | |||
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 | |||
service apache2 reload</code> | |||
Open zoneminder web console (http://localhost/zm/) | |||
You can get more details on installation from the following link | |||
https://bkjaya.wordpress.com/2020/01/23/how-to-install-zoneminder-v1-34-0-on-ubuntu-19-10-eoan-with-mysql-8/ | |||
Note:- If you fail and get an error ( ERROR 1396 (HY000)) ,when creating mysql user with "CREATE USER" , that means there is already a user. In that case please replace it with "ALTER USER" . |
Revision as of 01:01, 23 January 2020
Today, Mr. Isaac Connor has published the first successful Zoneminder-master-eoan package for Ubuntu 19.10. in his website .
To avoid errors when installing Zoneminder , MySQL-server is installed first.
Installation of MySQL-server
On the Ubuntu terminal
sudo su
apt install mysql-server
rm /etc/mysql/my.cnf
cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
sed -i "15i default_authentication_plugin= mysql_native_password" /etc/mysql/my.cnf
/etc/init.d/mysql start
CREATE USER 'admin'@'localhost' IDENTIFIED WITH mysql_native_password BY ;
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES ;
quit
mysqladmin -uroot -p reload
Installation of Zoneminder
To install Zoneminder Please refer Connor’s web site Open the terminal and run following commands.
mysql
CREATE USER 'zmuser'@localhost IDENTIFIED WITH mysql_native_password BY 'zmpass';
GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES ;
quit
mysqladmin -uroot -p reload
sudo add-apt-repository ppa:iconnor/zoneminder-master
sudo apt-get update
sudo apt install zoneminder
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
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
service apache2 reload
Open zoneminder web console (http://localhost/zm/)
You can get more details on installation from the following link
Note:- If you fail and get an error ( ERROR 1396 (HY000)) ,when creating mysql user with "CREATE USER" , that means there is already a user. In that case please replace it with "ALTER USER" .
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Dimensions | User | Comment | |
---|---|---|---|---|
current | 00:53, 23 January 2020 | (298 KB) | Bkjaya1952 (talk | contribs) | January 23, 2020 B.K.Jayasundera Today, Mr. Isaac Connor has published the first successful Zoneminder-master-eoan package for Ubuntu 19.10. in his website . The contents in this file explain briefly on instllation of zoneminder |
You cannot overwrite this file.
File usage
There are no pages that use this file.