Ubuntu 20.04 üzerinde Zoneminder kurulumu.17062021
Ubuntu kurulumu yapılır.Başlangıçta 8096 GB Ram, 4 çekirdek bir sunucu üzerine kurulum yapıp donanım ihtiyacına göre artıracağım kaynakları.Kurulum için sudo su ile yetki al, ve kuruluma başla.İşletim sistemini upgrade edelim.apt-get upgradeLAMP server kurulumunu yapalımapt install lamp-server^Mysql config dosyasını oluşturalımmv/etc/mysql/my.cnf /etc/mysql/myORIGINAL.cnfcp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnfnano /etc/mysql/my.cnfdosyası içine şunu ekleyelim.[mysqld]sql_mode = NO_ENGINE_SUBSTITUTIONMysql başlatalımsystemctl restart mysqlKamera sistemlerinde önemli olacak bölge ve zaman ayarlarını yapalım. Istanbul seçmelisiniz.dpkg-reconfigure tzdataPhp ayar dosyası içinenano /etc/php/7.4/apache2/php.inidate.timezone = Europe/Istanbul yaz.systemctl restart mysqlsystemctl restartapache2add-apt-repository ppa:iconnor/zoneminder-1.34apt install -y zonemindermysql -uroot -p < /usr/share/zoneminder/db/zm_create.sqlmysql -u root -pmysql> FLUSH PRIVILEGESmysql>CREATE USER 'gaunzmuser001'@'localhost' IDENTIFIED BY 'Sifremkomplex!#';mysql>GRANT ALL ONzm.* TO 'gaunzmuser001'@'localhost'mysql> FLUSH PRIVILEGESsudo chmod 740 /etc/zm/zm.confsudo chown root:www-data /etc/zm/zm.confsudo chown -R www-data:www-data /usr/share/zoneminder/sudo a2enmod cgi rewrite expires headerssudo a2enconf zonemindersudo systemctl enable zonemindersudo systemctl start zonemindersudo systemctl restart apache2
http://ip/zm ile erişip ayarları yapabilirsiniz.

