Difference between revisions of "File:Zm-php 7.4-mysql 8.pdf"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
HOW TO INSTALL ZONEMINDER, v1.34.0. ON UBUNTU 19.10 (eoan), with php 7.4 & mysql 8


Installation of php 7.4


sudo su apt install -y software-properties-common  
'''HOW TO INSTALL ZONEMINDER-master ON UBUNTU 19.10 (eoan), with php 7.4 & mysql 8
'''
'''Installation of php 7.4'''
 
<code>sudo su apt install -y software-properties-common  
 
add-apt-repository ppa:ondrej/php  
add-apt-repository ppa:ondrej/php  
apt update


Installation of MySQL-server
apt update
 
apt -y install php7.4</code>
 
'''Installation of MySQL-server'''
 
<code>apt install mysql-server


apt install mysql-server
rm /etc/mysql/my.cnf
rm /etc/mysql/my.cnf
cp /etc/mysql/mysql.conf.d/mysqld.cnf /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
sed -i "15i default_authentication_plugin= mysql_native_password" /etc/mysql/my.cnf
/etc/init.d/mysql start


Installation of Zoneminder To install Zoneminder Please refer Connor’s web site
/etc/init.d/mysql start</code>
 
'''Installation of Zoneminder To install Zoneminder Please refer Connor’s web site'''
 
<code>mysql


mysql
CREATE USER 'zmuser'@localhost IDENTIFIED WITH mysql_native_password BY 'zmpass';
CREATE USER 'zmuser'@localhost IDENTIFIED WITH mysql_native_password BY 'zmpass';
GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES ;
FLUSH PRIVILEGES ;
quit
quit
mysqladmin -uroot -p reload
mysqladmin -uroot -p reload


add-apt-repository ppa:iconnor/zoneminder-master  
add-apt-repository ppa:iconnor/zoneminder-master  
apt-get update  
apt-get update  
apt install zoneminder
apt install zoneminder


mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysqladmin -uroot -p reload
mysqladmin -uroot -p reload
chmod 740 /etc/zm/zm.conf
chmod 740 /etc/zm/zm.conf
chown root:www-data /etc/zm/zm.conf
chown root:www-data /etc/zm/zm.conf
adduser www-data video
adduser www-data video
a2enmod cgi
 
a2enconf zoneminder
a2enmod rewrite
chown -R www-data:www-data /usr/share/zoneminder/
systemctl enable zoneminder
systemctl enable zoneminder
service zoneminder start
service zoneminder start
service apache2 reload
 
service apache2 reload</code>


Open zoneminder web console (http://localhost/zm/)
Open zoneminder web console (http://localhost/zm/)
Note:-If you want to install docker-zonemider ,please refer the following link
[https://hub.docker.com/r/bkjaya1952/docker-zoneminder-master-php7.4-mysql8
]

Latest revision as of 07:35, 6 February 2020


HOW TO INSTALL ZONEMINDER-master ON UBUNTU 19.10 (eoan), with php 7.4 & mysql 8 Installation of php 7.4

sudo su apt install -y software-properties-common

add-apt-repository ppa:ondrej/php

apt update

apt -y install php7.4

Installation of MySQL-server

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

Installation of Zoneminder To install Zoneminder Please refer Connor’s web site

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

add-apt-repository ppa:iconnor/zoneminder-master

apt-get update

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

systemctl enable zoneminder

service zoneminder start

service apache2 reload

Open zoneminder web console (http://localhost/zm/)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current12:07, 4 February 2020 (54 KB)Bkjaya1952 (talk | contribs)HOW TO INSTALL ZONEMINDER, v1.34.0. ON UBUNTU 19.10 (eoan), with php 7.4 & mysql 8

There are no pages that use this file.