Skip to content

Instantly share code, notes, and snippets.

@pdrok
Last active November 9, 2022 06:31
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save pdrok/0b8f65032892b4e5fdb7c85b8d72cdd6 to your computer and use it in GitHub Desktop.
Save pdrok/0b8f65032892b4e5fdb7c85b8d72cdd6 to your computer and use it in GitHub Desktop.
Steps to install unifi-video on Ubuntu 18.04

log in as root: sudo su if you don't have MongoDB already installed:

sudo apt-get install mongodb mongodb-server openjdk-8-jre-headless=8u162-b12-1 jsvc

Open terminal (go to your apps and type in terminal, or push the windows key and type in terminal) Type the following commands:

sudo mv /usr/bin/mongod /usr/bin/mongod.bin
cd /usr/bin/
sudo vi mongod

A new window will appear where you need to paste the following:

#!/bin/bash
cleaned_args=$(echo $* | sed -e 's/--nohttpinterface//')
/usr/bin/mongod.bin ${cleaned_args}

Then press ESC on your keybard and type :wq then enter. Now type this command in terminal

sudo chmod +x mongod

Download unifi video:

wget https://dl.ubnt.com/firmwares/ufv/v3.10.13/unifi-video.Ubuntu18.04_amd64.v3.10.13.deb

Install unifi-video

dpkg -i unifi-video.Ubuntu18.04_amd64.v3.10.13.deb

Restart your computer to restart the Unifi-Video service. It should now run.

open the follow url on a browser tab : https://localhost:7443

Source

Source_2

Source_3

@radensun
Copy link

Best! Thank you.

@Jazex5
Copy link

Jazex5 commented Nov 9, 2022

Hello! I ask for help. We really need version 3.0.8. Our cameras work correctly only with it. Perhaps someone has preserved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment