logo

Unifi api

Share on facebook
Share on twitter

UniFi Google Maps API Key

226 views | 3 Feb. 2021

How to create a Google

How to create a Google Maps API Key for Ubiquiti UniFi controllers

BankReel

I’ll take the trunk if possible, g channel on the rise ✊

Flamzy

First

Kevin Phan

Hey Edi, are you willing to ship the trunk? Thanks

シMysti

Your cousins g35 looks so good i cant wait till i can drive lol well thats 4 years away omg

ClownFN

Just got my permit cant wait to buy a g

Cool Cat

I have one of there fiberglass trunks and the fitment on it is miiint!! Toxikks Q is so badass

NeoAndersonReloaded

front has a big gap

ZeroA

im thinking about buying a g35 how much miles is too much for about 6-7K?

Nonameisthename 1

That's dope, that Q sick af tho!! Didn't realize he didn't have a sunroof..?

CEEMO CEEMO

I wanna get those taillights for my g! Where can I get them?

Infiniti Gang

Yoo, where can I buy a duckbill TG WRKZ trunk??

Kevin Warner

Fam how much for the trunk ? I’m in local area.

GIOVANNI TH3 G35 FAN

Damn 10k let's get it bro G fam

Gcounty404

He said no more than $500 lol. I think he meant no less than $500. Clean trunk though ??

2sslow 2win

Where can I get that rear diffuser with the 3rd brake light from? Looks really clean on Shrek

ToxikkOverAll

?

Jesus curioso

if you have a promo code for carbon fiber trunks sign me up i’ll be the first one to order !!!

jesse nolan

looks sick ?

YRN GAMING

Color not that col but i like the car

Bradford White

I see that Red Q all over IG. So dope!

Duece_ A

Shrek looking good

Unifi api

Share on facebook
Share on twitter

API Security in Action on a Financial Data API Call

1 780 views | 21 May. 2019

Financial-grade API

Financial-grade API security can enable an enterprise to take the lead in API innovation for better customer experiences. But what does API security with an OAuth and OIDC flow actually look like? We'll walk you through each of the security components on the banking back end of an API request from a third-party financial data aggregator, along with how it looks to a banking customer on the front end. More info: http://ow.ly/xL0v50uo3xa

Unifi api

Share on facebook
Share on twitter

15 Minute Hosted UniFi Controller Setup

71 133 views | 11 Jul. 2017

How to set up a UniFi

How to set up a UniFi Controller on a Digital Ocean Droplet in about 15 minutes.

Digital Ocean referral link: https://m.do.co/c/6de2bc2df3b8

Full text instructions for this video: https://www.crosstalksolutions.com/15-minute-hosted-unifi-controller-setup/

Crosstalk Solutions is available for best practice network, WiFi, VoIP, and PBX consulting services. Visit http://CrosstalkSolutions.com for details.

Crosstalk Solutions is an authorized FreePBX and Sangoma partner and reseller.

Connect with Chris:

Twitter: @CrosstalkSol

LinkedIn: https://goo.gl/j2Ucgg

YouTube: https://goo.gl/g4G58M

Brian Poynton

Excellent tutorial. Thanks

Have been playing around with raspberrypi based controller and have found updating to be problematic.

When a new version of Unifi controller is released are you able to provide update steps for the Droplet server?

Aaron Allien

Great video once again. I've decided to go another route and setup Ubuntu server on my virtual server, but the rest is applicable. I've adopted one test AP from a test site (I exported the site and imported it into my controller). I've never moved an AP from one controller to another until now, it's surprising how quick it re-provisioned it. Keep the videos coming.

Remigi Rageth

This is great; however, one you have it up and running how do you actually add the devices to it? In my situation I have a Synology running at one physical address (Home) and the UniFi network at my parents. I want to run the controller for their network (another physical address) on my Synology NAS at home. How do I bind those devices to my Controller.
I am successfully running the Synology Docker UniFi package and am now given the option to restore settings.

Thanks!

Julian Torres

Can I manage multiple sites like this? I want to monitor clients services but currently I’m installing using they’re own cloud key does using this save the customer the price of the cloud key?

Wayne Fountain

Great videos ! I just took your advice and set up an account for hosting my controller using your link. Keep up the good work !

elireloaded

6:45 Port 3478 for STUN?

HisLoveArmy

Can you do a followup video on this on how to add an HTTPS certificate to the unifi controller?

Daniel SanMiguel

Great Video Chris! After a few tries due to being a dodo, i got it running, and got my AP adopted! One note, on your written instructions, I had to type "sudo nano -w /etc/apt/sources.list.d/100-ubnt.list". The written instructions ommitted "sudo" for this command. Thank you so much. You are definitely the man. Mahalo from Maui.

hvwees

Why sudo if you're already root?!

John Bailey

so many issues trying to install the older version of Java, unable to install the unifi controller, Called for help was supposed to get a link, followed the instructions, getting so many broken packets not found files. I am not an expert, and trying to understand, but 15 minutes is not accurate. was told to email but email gets kicked back.
this video and instructions need to be updated, does the new version of the controller support the newest java?

Jay Dplus

hi,
this cannot continue installling ntp

Diavuno

Linux is great, and it's free. Some of those commands are so cryptic. Not worth my time. I'm buying another copy of windows.

Steve Puckett

Chris, great video. Just went through this setup, and it went well. I do have one question though. I have a locally hosted controller currently, and would like to relocate my devices to the new cloud hosted controller. Is there a way to do that without factory resetting and re-adopting? I setup the cloud controller with the most recent backup from the local controller.

Ricardo Bonilla

Hi,


For the ones trying to run this on Ubuntu 18.04, make sure you use MongoDB 3.4.17. MongoDB reported a compatibility issue with Ubuntu 18.04
After trying with different versions I solved my problem by running this command:
sudo apt-get install -y mongodb-org=3.4.17 mongodb-org-server=3.4.17 mongodb-org-shell=3.4.17 mongodb-org-mongos=3.4.17 mongodb-org-tools=3.4.17


Hope it helps!

raymond brennan

Thanks for another great video. I made sure to use the referral link to digital ocean for you. I am trying them versus running a vm from my lan.

Logan

Following these instructions but getting the following error (started from scratch several times to make sure I was not making an error) any ideas:
~# sudo apt-get install unifi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
unifi : Depends: mongodb-server (< 1:3.6.0) but 1:3.6.3-0ubuntu1 is to be installed or
mongodb-10gen (< 3.6.0) but it is not installable or
mongodb-org-server (< 3.6.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Pieter van Sambeeck

does this also work on raspberry pi version 3?
or do I need to update more.
by the way, even as a complete noob on Linux, I did it in 20 minutes, up and running.

Mason Ballard

this really should be updated to say don't use. Got 11 mins through only to realise you've removed the links and you cant proceed any further.

Kyle Mincey

Thank you Chris! I've been pulling my hair out with this trying to get it installed in AWS. I finally gave up. I got it working on Vultr (base package is cheaper than Digital Ocean) after following your directions. I really appreciate your video tutorials. Thanks again.

Wade Mickelsen

Thank you. Very helpful.

Ahmed Alzubaidi

Great video as usually, thanks chris

GodAtum

ive followed this but it doesnt see any of my unfi switches at home!

James Davies

Chris, is there a way to open all the ports from the digital ocean control panel side like AWS has? Most people would like to lock SSH down to be accessed by only their office IP address.

Rui Nunes

Thanks for the great video. I have problems instaling the UniFi. It give me this error:


[email protected]:/home/ruinunes# sudo apt-get install unifi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
unifi : Depends: mongodb-server (< 1:3.6.0) but 1:3.6.3-0ubuntu1 is to be installed or
mongodb-10gen (< 3.6.0) but it is not installable or
mongodb-org-server (< 3.6.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

static r

hi very nice video
like id to ask if are you having issues with guest portal redirection in multiple sites?
planning to move my controller in digital ocean

anthony clare

Hi Chris
Good video I got to the last part thought i was doing really well then could not find the links to Unifi controller

Dane Nguyen

Hello Chris, I’m new to unifi and i was wondering if you could help me out with this problem. I have the USG and I’m trying to configure it to send a wake on lan “magic packet” when there is a network request. Here is exactly what I’m trying to do. I have a Plex server which i have it go to sleep. I want the USG to send the wake on lan command when a client tries to watch a video on the Plex server. Is there a way for the USG to monitor a range of ports such as 32400 and 8112 and whenever there is a device trying to reach the server it sends the “magic packet” to wake the server?

Jason Perry

I have a quick question,
What are the pros and cons between AWS and digital ocean for hosting the UniFi controller.

I only have three sites, two are family one is a charity.

Paul Kruse

Did you set a public DNS A record ahead of time for the FQDN that you used in this video? If so, why did you use the public IP to access the UniFi Controller GUI, instead of the FQDN?

Robert Broussard

Chris, can you run UNMS on the same droplet as your UNFI Controller?

static r

can a hosted unifi controller handle multiple site and can the sites still use the captive portal

SoFlo Picker

Chris this was a great video and really helped me to setup my controller on Digital Ocean. Did you do anything to follow up and show how to update the controller after it is up and running. I would appreciate it if you could point us in the right direct . Thanks.

fm

ip leaked at 10:24

Nic Barklow

I keep running into an issue at the unifi install command, I have followed your video and article with updates.

The following packages have unmet dependencies:
unifi : Depends: mongodb-server (< 1:3.6.0) but 1:3.6.3-0ubuntu1 is to be installed or
mongodb-10gen (< 3.6.0) but it is not installable or
mongodb-org-server (< 3.6.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Eduard Akulov

Chris! I literally sat down to finally research on how to setup a cloud hosted Unifi Controller and saw you uplodaded this video today! That is awesome!

I wanted to ask you a question. Which topology do you think is better to use with managed clients using Unifi USG + APs.

1. Have a Cloud Hosted Controller installed in the cloud, then add sites to it. How stable would this topology be when it comes to a customer coming back up after some downtime. Will it easily come back up and re-adopt? And what is a customer has a dynamic ip? Would a different public IP on the customer's side prevent Unifi devices from re-adopting back to a cloud controller after a reboot?

2. Install a cloud key at each customer location, have cloud access enabled on them, and use a cloud access Unifi website to manage all sites.

I would really appreciate your answer. Love all your videos. I have learned so much from you.

Thank you.

Cortex

After all steps, I got site not found. Turned all my firewall off on local network. I also checked unifi status and Unifi was not found. Need help asap thanks!

SatVision

Hello Chris, would it be possible to do a VPN from the digitalocean-server direct to the local USG, just to avoid going over public internet?

Walter Jovel

Chris, Any update on this video all together? I followed all the instructions but no luck as of 4/30/2019

Ravi Patel

Was wondering if you could do a video/documentation on how to update your unifi controller on digital ocean. Thanks for all of the great videos your post!

Lord Carnor Jax

Instead of typing "su root" then prefixing each command with sudo just enter "sudo -s" then you'll become the root user and you won't need to prefix everything with sudo.

HisLoveArmy

What would be the best way to update unifi when a new version comes out?

Jordan Henion

Excellent video, Chris!! I HATE AWS prices and convoluted procedures. This was honestly the quickest Cloud deployment I have ever performed. Keep it up!

Carlos Chavez

hi Chris, I get the following error when trying to adopt:
Version: 3.2.12.2920
MAC Address: 04:18:d6:ac:38:5f
IP Address: 192.168.1.213
Hostname: UBNT
Uptime: 854670 seconds

Status: Server Reject (https://xxx.xxx.x.xxx:8080/inform)

You can help me?

unknown user

what is the point of setting up UniFi controller in a hosted environment? Don't you require the controller to physically connect to the unifi switch to be able to manage the APs connecting to the switch???

Max

What's the point of a swap file?

P.J Boehm

Hey Chris,
It's not working anymore..


echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/webupd8team-java.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo apt-get update
sudo apt-get install oracle-java8-installer


This part is not working anymore - I get errors and :


echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50


Could you help ?
Thanks.

Antonio Russell

Hi, how did you setup the unifitest subdomain?

Monarch Information Technology

Hello, I did all the steps, When I tray to connect usinf the IP and port got site can't be reached. I turned my Win firewall off and connect using my hotspot as well. Need help!

H G

even i am in loove with digit ocean ,its been an year plus with them ...

Carl Miller

I love your videos, Chris. Fun learning from you every time, and impressive CL kungfu there!

Keith Bucknall

Chris do you think digital ocean will be better than running this in Azure?

Hugo Hernandez

Hosted UniFi controller for dummies! Thx Chris as always, I've been using DO a lot lately and is awesome! Hope that you had a great vacation, congrats on 30k subs
Cheers ?

Varun Santhanam

Chris, you are a god among men. I’ll be following these steps tomorrow and certainly using your referral link.

Kristinn Ingi Pétursson

Excellent video.

Chad Markley

Another great video!!

Jay Dplus

any updates that work with new versions of unifi?

Keith Bucknall

Chris how do you setup a single controller to support multiple clients please?

Marcin Nowosiadły

No success, all installed as shown, Interface does not work. service is running, tried connect locally using links https://localhost:8443 ,no joy - any suggestions?

Carlos Tellez

sorry i can do that on 2019?

Alexander Kravets

is this even secure without 2FA?

Dabecca Mansell

I just paid $5 to get started with Digital Ocean and then I get a screen telling me that my account is admin locked. I Googled this and it turns out that this is very common with Digital Ocean. :(

static r

hey chris ive installed my controller a few weeks ago using your tutorial and your referal link.
i got the 1gb and 1vcpu. will this handle about 200 active users?
what would be your recommendation?

Max Dry

Thank you, very usefull

Paul Ndanyi

@cross talk solutions, i d like to get intouch with you on a project. get back to me for details. Thanks

Big Tone

Many thanks for this, brilliant!!!

Jamie Jam

just joined Digital Ocean from your promo code from this exact video. why? I usually do NOT use other people promos, you however, have far more than earned it with your honest videos and way you give info and knowledge to the world. thank you guv. :-)

Kuba Wawer

Hi, Chris what you think about using Amazon LightSail for UniFi controller?

234dannyboy

Great videos. Question about the controller. If a device like an iPad for example has been Blocked and also Forgotten on the Unifi Controller, it seems that device is never able to connect to your network again. How do you get that device reconnected?

Alex

Good clip, cheers I've some feedback, I'm not having a go. My belief is by sharing we lift everyone's security.

- use an ssh key, passwords are dead. Even if you use Windows the PuTTy KeyGen program to generate a strong RSA key. Use a pass phrase with the key.  Use the SSH agent 'pagent'. - Never use the root user use the command 'sudo apt-get update' is a good discipline.
- Umm, they emailed you a password, email is plain text. Even with changing it on the first login, still not cool.
- The server gets built without UFW turned on? So I've basically got 5min to have a crack at doing you over aided by the plain text password.
- blocking outbound is as important as blocking inbound.- Use a DNS name and Lets Encrypt, and use the ACME tool to renew certs. Again a good discipline to use a DNS A record with SSL so you get a green padlock in the browser, end to end trust and setting the example that clicking 'proceed anyway etc is going to bite someone's arse. '

Best intentions, Al

Neal Metcalf

I just threw up a unifi controller of my own to mess around with in my DO account. I found that if you run during your setup

sudo apt-get update
sudo apt-get dist-upgrade

the kernel will update from 4.4.0-81-generic to 4.4.0-83-generic.

Neal Metcalf

One thing I've found through experimentation... If you install Unifi on a headless VPS such as DigitalOcean or AWS you could experience a long Unifi startup time.

It's because a VPS doesn't experience enough entropy during it's start up and it halts the generation of the SSL/TLS keys, thus the interface on 8443 doesn't load. If you do "sudo apt-get install haveged", long startup times vanish and Unifi loads almost instantly. Haveged allows generating randomness based on variations in code execution time on a processor. Quite a nice package to install, especially for the $5 DO tier with only 521MB of RAM and 1 CPU.

Stefan Berg

VERY nice!!!!

Mulyadi Mustamin

superb

David Oraha

Perfect for a quick video/start, nice work Chris :) For ya'll that want to go an extra mile for security (Production sense). Setup a OpenVPN appliance as the WAN interface, then setup another droplet with an RFC1918 running the unifi controller. That way you need to VPN to access the controller, will stop anyone from accessing your Unifi controller and brute forcing their way in. I'm sure Digital Ocean would offer VPN as a service to make it simpler.

Spur Gear Media

Nice video, but you can install UniFi even faster using (shameless plug) - https://github.com/miketabor/unifi-autoinstall - configures firewall, installs latest version of Unifi and monitors failed login attempts. ;)

microcorsair

That was really well done.

Of course I moved my Unifi to 1and1 yesterday, before I saw it.

I set up my AWS server last year, so there's no way I'd have known what ports to open without taking pictures of the AWS setup.

Big Tone

Great tutorial :) this worked a treat for me, one question does the control software update or do you have to perfrom cetain parts of the installation again?
Thanks

Abu Elias

You should do a video on how to host Unifi Protect/Video on the cloud. Just in case the NVR gets damaged or stolen you have a backup/copy of the vides on the cloud. Just an Idea :)

bensosben

Hi Chris, I followed your video and after it was done I ger an error unifi.service: Start request repeated too quickly.Failed to start unifi. any help would be great

Philip Cook

I actually just did something similar to this on Google Cloud right before watching the video. They have an always free instance that I'm playing with. The only thing that I had to go back and change is adding the swap file. It'll probably help since there's only 0.6 GB of RAM.

ywoodz

Love this video! I am going through this type of setup right now... everything worked until Java 8 install. I skipped it and went through unifi install, but it cannot start due to 'cannot locate Java Home'. Unfortunately, I am not very familiar with CLI. Is there a command that will point to a different java install path, and install? (I believe that was the issue)

J2A's Blog

Hey Chris, I’ve written a script to automate the UniFi Controller installation process. Great for installers who installs UniFi Controllers and newcomers alike!

The script is easy to use (minimal user commands) and fast! In most cloud servers, this script takes LESS THAN 3 MINUTES to get UniFi controller up and running!

General Debian/Ubuntu server:
https://j2ablog.wordpress.com/2018/01/29/install-ubiquiti-unifi-controller-on-any-server/

Raspberry Pi:
https://j2ablog.wordpress.com/2018/01/29/install-ubiquiti-unifi-controller-on-raspberry-pi/

Maybe you would like to review this in one of your videos? :-)

HisLoveArmy

Can you do an updated to this video showing best practice for ubuntu updates and unifi controller update?

Valentin Pletea

Hi Chris,

I'm a newbie on Unifi ecosystem. I want to buy two Ubiquiti AP's for my home. Do i need a CloudKey in the scenario that you presented? The key is only needed when i use the Ubiquiti website to host the controller?

Thank you,

V

Daniel Cristurean

FYI $100 Digital Ocean Credit

Wayne Flittner

Very informative video, Thanks. I've installed about 50 networks mostly homes. I have installed a cloud key on all of these, but I am looking to streamline it a little. I think starting a remote controller to have the networks report too would be beneficial. Do you have a recommendation of which plan I should use? I'm not knowledgable enough to know how much data this uses. Thanks.

Solkre

Since you changed to root before adding the firewall changes; the sudo command was redundant correct?

Ricardo Wagner

Chirs, I saw somwhere a tutorial to move CK Controller to the cloud. If you dont have it, could you pleaseeee help your audience with one. Igot tired of fixing this friggin clouud key every power failure incident. Moe so, I have customers with cloud keys that I need to do the same.

Tammy Noergaard

Hi Chris, I have followed your video from start to finish 3 times now, and I still cant get it the server to respond on port 8443. I found out that Java was not running and found a script on UBNT forum to resolve that issue. Server is a 40 GB server from Vultr.com. I havent enabled the firewall on my last server to verify its not a firewall issue i am experiencing. Unifi controller installed is 5.6 - what could be wrong. I have waited 10 min and still no joy !!!

Chri stoph

Heyho, great Job! But now the Question is, how can the Accesspoint which is here in my room on my local network connect to my Cloud/VPS -> Controller? I will use the captive portal and i will not buy a cloud key for this shit

Peter H

Hello, we are lost at 10.50, what is copied and pasted and from what? and how? We dont know the GNU nano interface.

Krzysztof Korzeniewski

Nice tutorial and kudos for security considerations! ?
Just one thing regarding ufw rules (5:55). This configuration allows anyone in the world to connect to all these services. I kindly recommend to allow only your home IP to connect to these:
1. Check your IP on whatismyip.com
2. Adjust ufw commands: ufw allow from YourHomeIPAddress to any port 8080 and so on.
If you don't have a fixed IP, consider an IP range, like FirstThreeOctetsOfYourHomeIP.0/24 . That's not the best practice but better than exposing to whole world. Rationale: Anyone on the Internet can try to brute force attack exposed services, or exploit (unpatched) vulnerabilities of this software.
DO guide on ufw: https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands

Ricardo Wagner

Just for your info, I upgraded my DigitalOcean Unifi Controller to 5.8.30 (yesterday) . I did a full APT UPDATE / UPGRADE yesterday , unifi upgraded to 5.8.30 but the UI still shows 5.8.28 and keeps offering the update. I posted this in SDN but still no answer. This did not happen to my in-house Ubuntu 16.04 which is running 5.8.30 fine

Your PCMD

What about a hosted unifi cloud controller for clients that have the cloud key? Instead of using unifi.ubnt.com

Grzes D

need help my install is blowing up , anyone with this issue , installed mongodb-server but didnt help as per dependencies msg, alo kernel version is higher then in a vid 4.15.0-47-generic ,
[email protected]:/home/dankotek# sudo apt-get install unifi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
unifi : Depends: mongodb-server (< 1:3.6.0) but 1:3.6.3-0ubuntu1 is to be installed or
mongodb-10gen (< 3.6.0) but it is not installable or
mongodb-org-server (< 3.6.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

DynamicComputer

What make phone is that to your right? It looks kinda like a Yealink.

JerseyPrepper

My first controller was setup on DO the problem was many times id put in the ip to access it and the web page would timeout i finally had enough and setup my controller on aws and its worked flawless since

Brian Thompson

can i create this controller in the cloud then restore from back up and all my sites be found on the new cloud controller?