Installing Shinobi CCTV on Raspbian Buster

Introduction

This project came from the necessity to replace the NVR box for my Swann IP cameras due to two main issues. The first issue was the noise associated with this box. I have a small house an this box has a fan that always sounded like a little jet engine, it has irritated me for years.

Expanding a LUN on RedHat Linux

Assuming you have a LUN that has been provisioned to your server, containing a physical volume, volume group and one or more logical volumes that is currently mounted and in use on your server. You can follow these steps to increase the size of that resource.

RedHat Linux Adding a LUN over Fibre Channel

At this point I am assuming that you have properly configured your fibre channel adapters/HBA’s, provisioned the ports on the switch, configured proper zoning, and configured multipathing. Possibly I will add that config to a separate post. Assuming all of this, after you have created a LUN on your storage device and presented it to your server, you can follow these steps to create a functional device using LVM commands.

Adding User Authentication to Django

So you have started up a shiny new Django project and probably gone through the getting started tutorial. Somewhere along that line you are shown how to get the “free” functionality of the Django admin pages, along with authentication into the admin section. The next logical step is to say “wow, that’s great I should add some authentication to the views I have created”. A quick Google search will inform you, good. fucking. luck.

Specifying a custom Form display using Django’s admin.py

Upon starting a recent Django project I quickly ran into an issue where a model I created was intended to hold username/passwords for ssh authentications to various servers. But by default by just calling the admin.site.register(Server) method resulted in the password being displayed in plane text. So lets start jumping through some rings of fire to get a pretty little password field in it’s place.