Note: this can be done before or after setting up UniFi Video. Depending on whether your NVR needs an APT sources update, doing this first before setting up UFV could update UVF so that you begin with the latest version.
Step 6 will not work without an internet connection, but if you really need to setup UniFi beforehand, you could look into uploading the latest UniFi SDN Linux package to the NVR with SFTP after step 4.
ubnt
, password is what you set on the web management pane. With PuTTY, all you should have to do is put in the NVR's IP address, check that the port is at the default 22
, check SSH connection type, and click open. UBNT has an intro to SSH.ubnt
logs you into root by default, you do not need sudo. That said, best practice is using a non-root account.https://<NVR_IP_ADDR>:8443
in a web browser to setup UniFi. You'll get a warning about the self-signed SSH certificate, this is unfortunately normal. UBNT may be adding an easy way to get a free LetsEncrypt cert in the future. The URL for UFV is https://<NVR_IP_ADDR>:7443
.From then on, UniFi SDN can be upgraded with apt-get update && apt-get upgrade
. Every now and then UniFi video repository might change, so check the UniFi Video Updates Blog before you upgrade UFV. UBTN has a short article on UVC-NVR maintenance.
Note that for an NVR behind most routers, SSH will only work on the local network. For remote management, setting up a VPN is preferred. Otherwise, you can look into dynamic dns and setting up port forwarding with a high port number. If you open a port, make sure you are using key based SSH auth or a extremely strong password because there will be login attempts from the internet.