{"id":9800,"date":"2020-06-13T23:23:19","date_gmt":"2020-06-14T06:23:19","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=9800"},"modified":"2020-06-13T23:23:19","modified_gmt":"2020-06-14T06:23:19","slug":"old-and-new-fridge","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=9800","title":{"rendered":"Old and New Fridge"},"content":{"rendered":"\n<p>Here is the old and new fridge.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"640\" src=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/06\/OldFridge-1.jpg\" alt=\"\" class=\"wp-image-9802\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/06\/OldFridge-1.jpg 378w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/06\/OldFridge-1-177x300.jpg 177w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><figcaption>Old Fridge<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"640\" src=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/06\/NewFridge.jpg\" alt=\"\" class=\"wp-image-9803\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/06\/NewFridge.jpg 332w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2020\/06\/NewFridge-156x300.jpg 156w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><figcaption>New Fridge<\/figcaption><\/figure>\n\n\n\n<p>Also got instructions on building a new zoneminder server from a minimal CentOS 7 install.<\/p>\n\n\n\n<p><code>#!\/bin\/bash<\/code><\/p>\n\n\n\n<p><code>yum -y install mariadb mariadb-server mod_ssl php-mbstring php php-mysql httpd wget<br>yum -y install epel-release<br>wget https:\/\/download1.rpmfusion.org\/free\/el\/rpmfusion-free-release-7.noarch.rpm<br>yum -y install rpmfusion-free-release-7.noarch.rpm<br>yum -y install zoneminder<\/code><\/p>\n\n\n\n<p><code>setenforce 0<br>sed -i --follow-symlinks 's\/^SELINUX=.*\/SELINUX=disabled\/g' \/etc\/sysconfig\/selinux<\/code><\/p>\n\n\n\n<p><code>systemctl start mariadb<br>mysql &lt; \/usr\/share\/zoneminder\/db\/zm_create.sql<br>mysql -e \"GRANT ALL ON zm.* to 'zmuser'@localhost identified by 'zmpass';\"<br>mysql -e \"FLUSH PRIVILEGES;\"<\/code><\/p>\n\n\n\n<p><code>pushd \/etc\/httpd\/conf.d<br>ln -s \/etc\/zm\/www\/zoneminder.httpd.conf<br>sed -i --follow-symlinks 's\/;date.timezone =\/date.timezone = America\\\/Los_Angeles\/g' \/etc\/php.ini<br>popd<\/code><\/p>\n\n\n\n<p><code>firewall-cmd --zone=public --add-port=80\/tcp --permanent<br>firewall-cmd --zone=public --add-port=443\/tcp --permanent<br>firewall-cmd --reload<\/code><\/p>\n\n\n\n<p><code>yum -y update<\/code><\/p>\n\n\n\n<p><code>systemctl enable mariadb<br>systemctl enable httpd<br>systemctl enable zoneminder<\/code><\/p>\n\n\n\n<p><code>reboot<\/code><\/p>\n\n\n\n<p>Weight does not seem right.<\/p>\n\n\n\n<p>Weight: 303.4<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 wgetyum -y install epel-releasewget https:\/\/download1.rpmfusion.org\/free\/el\/rpmfusion-free-release-7.noarch.rpmyum -y install &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=9800\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3,9],"tags":[],"class_list":["post-9800","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training","category-weighin"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9800"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9800\/revisions"}],"predecessor-version":[{"id":9804,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9800\/revisions\/9804"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}