Old and New Fridge

Here is the old and new fridge.

Old Fridge
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

This entry was posted in New Toys, Technical, Training, Weigh In. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.