Difference between revisions of "Dedicated SBC Camera Monitor"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 4: Line 4:


Requirements:
Requirements:
* <=4GB SD Card
* >=4GB SD Card
* SBC or other computer
* SBC (although this works on a desktop)
* Internet connection
* Internet connection


Line 20: Line 20:
Complete these for Surf
Complete these for Surf
<pre> apt-get install libwebkitgtk-dev libgtk2.0-dev linux-headers-$(uname -r)</pre>
<pre> apt-get install libwebkitgtk-dev libgtk2.0-dev linux-headers-$(uname -r)</pre>
Then download our three stars of the night.
<pre> git clone http://git.suckless.org/dwm && git clone git://git.suckless.org/st && git clone git://git.suckless.org/surf</pre>
Edit the config for DWM
<pre> nano dwm/config.def.h</pre>
Disable the bar
Remove all workspaces except for 1 (*tags)
(leave #1 only)
Set Mod4Mask as modkey
Set MODKEY|Shiftmask to 0 and XK_c to XK_F12 for killclient (personal preference)
Later disable spawm of dmenucmd and termcmd, but for now leave enabled.
<pre>
cd dwm
make
make install
cd ../st
nano config.def.h
</pre>
Set termname[] to xterm (resolves some issues with programs that don't understand default termname).

Revision as of 20:25, 27 February 2017

A guide for setting up a dedicated SBC (here beaglebone) that will monitor the video feed from a camera that you choose. I'll also include some steps on getting a custom kernel for I2C. The WM will be DWM, terminal ST, and browser will be Surf. It will be a minimal installation with no DE, no extra programs. You will save RAM here, over an installation of LXDE, the default for the Beaglebone Black

Setup

Requirements:

  • >=4GB SD Card
  • SBC (although this works on a desktop)
  • Internet connection

Install beaglebone black using elinux.com's BeagleBoardDebian page.

Use the direct image (under Demo, below NetInstall). Not the netinstall, which is slower, unless you know what you are doing.

After you boot from SD card, migrate to devuan using this guide:

Next complete the following commands

 su root
 apt-get install xorg libx11-dev libxft-dev libxinerama-dev gcc make htop sudo tcpdump

Complete these for Surf

 apt-get install libwebkitgtk-dev libgtk2.0-dev linux-headers-$(uname -r)

Then download our three stars of the night.

 git clone http://git.suckless.org/dwm && git clone git://git.suckless.org/st && git clone git://git.suckless.org/surf

Edit the config for DWM

 nano dwm/config.def.h

Disable the bar Remove all workspaces except for 1 (*tags) (leave #1 only) Set Mod4Mask as modkey Set MODKEY|Shiftmask to 0 and XK_c to XK_F12 for killclient (personal preference) Later disable spawm of dmenucmd and termcmd, but for now leave enabled.

cd dwm
make
make install
cd ../st
nano config.def.h

Set termname[] to xterm (resolves some issues with programs that don't understand default termname).