What is supported
Nx Witness Server
ARM processors are designed to be simple and efficient. As a result, they are cheaper and consume less power in comparison to alternative processors (i.e. Intel). ARM processors allow you to create products that are relatively low-cost and power-efficient (i.e. NVRs or other custom monitoring solutions). They can be found on developer boards such as Raspberry Pi (ARM 32 bit) or Nvidia Jetson (ARM 64 bit).
Which ARM-based SBC's are currently supported?
Refer to our Arm Support Policy for more information. Additionally, most well-known Single Board Computers (SBC) like Raspberry Pi are not designed for tasks such as constant video recording/streaming, so they should be modified to be able to run the Nx Server application without any issues. See "Building Linux-based NVRs".
Installation
Below you will find the instructions on how to install the Nx Server application onto your ARM-based SBC.
Note: When the *.deb package is installed on the Raspbian Stretch Lite version (aka headless version) instead of the desktop version, the user needs to install additional dependencies called 'cifs-utils'.
Step 1: Install the Nx Server application
- Log into your ARM-based device and launch the terminal application on your device with Ctrl+Alt+T if you are using a graphical interface. If you installed the operating system headless, you are in the terminal after booting up.
- Switch to root.
$ sudo su
- navigate to the "/" folder.
$ cd /
- Download the latest Nx Witness Pi installation package on your Raspberry Pi/Banana Pi with the following command.
$ wget http://updates.networkoptix.com/default/31398/arm/nxwitness-server-4.1.0.31398-linux_arm32.deb
- Install the Nx Witness Mediaserver via dpkg command
$ dpkg -i ./nxwitness-server-4.1.0.31398-linux_arm32.deb
Step 2: Mount the storage
- Connect the storage to the ARM-based SBC.
- Find the universally unique identifier (UUID) of the drive:
$ ls -l /dev/disk/by-uuid/
- Note the output for ../../sda1 (USB devices are often /sda1, but it could be different).
- Create a directory for the storage drive.
$ sudo mkdir /media/usb
- Change the owner for the storage:
$ sudo chown -R pi:pi /media/usb
- Mount the storage:
$ sudo mount /dev/sda1 /media/usb -o uid=pi,gid=pi
- Open the file systems table configuration file:
$ sudo nano /etc/fstab
and add the following line to the file:UUID=<THE NOTED OUTPUT> /media/usb ext4 auto,nofail,noatime,users,rw,uid=pi,gid=pi 0 0
- Press Ctrl+X and select (Y)es.
Step 3: Doing a clean uninstall (optional)
In case you want to do a clean uninstall of the application on your ARM-based device, please follow the next steps.
- Log into your ARM-based device and launch the terminal application on your device with Ctrl+Alt+T if you are using a graphical interface. If you installed the operating system headless, you are in the terminal after booting up.
- Remove the networkoptix directory.
$ sudo rm -rf /opt/networkoptix/
- Remove the networkoptix-mediaserver directory.
$ sudo rm /etc/init.d/networkoptix-mediaserver
Take into account that these commands will not remove the video data that was recorded by the server to added storage.
If necessary, please locate the directory with the data and clean it up. With the rm command, in this example, this would be:
- Remove the video data directory.
$ sudo rm -r /media/usb
Comments
0 comments
Article is closed for comments.