Here is the old and new fridge.
Also got instructions on building a new zoneminder server from a minimal CentOS 7 install.
#!/bin/bash
yum -y install mariadb mariadb-server mod_ssl php-mbstring php php-mysql httpd wget
yum -y install epel-release
wget https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
yum -y install rpmfusion-free-release-7.noarch.rpm
yum -y install zoneminder
setenforce 0
sed -i --follow-symlinks 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux
systemctl start mariadb
mysql < /usr/share/zoneminder/db/zm_create.sql
mysql -e "GRANT ALL ON zm.* to 'zmuser'@localhost identified by 'zmpass';"
mysql -e "FLUSH PRIVILEGES;"
pushd /etc/httpd/conf.d
ln -s /etc/zm/www/zoneminder.httpd.conf
sed -i --follow-symlinks 's/;date.timezone =/date.timezone = America\/Los_Angeles/g' /etc/php.ini
popd
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --reload
yum -y update
systemctl enable mariadb
systemctl enable httpd
systemctl enable zoneminder
reboot
Weight does not seem right.
Weight: 303.4