{"id":535,"date":"2020-10-12T09:14:15","date_gmt":"2020-10-11T20:14:15","guid":{"rendered":"https:\/\/wp.gaborhargitai.hu\/?p=535"},"modified":"2020-10-12T09:14:15","modified_gmt":"2020-10-11T20:14:15","slug":"install-unifi-controller-on-your-raspberry-pi","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/install-unifi-controller-on-your-raspberry-pi\/","title":{"rendered":"Install UniFi Controller on your Raspberry Pi"},"content":{"rendered":"\n

CloudKeys are nice – but if we already have a Raspberry lying around, why not use that to host the UniFi Controller? Here are the steps to do so.<\/p>\n\n\n\n

We’ll update the Raspbian installation, add the necessary packages (openjdk8<\/em>) circumvent the slow startup time which occurs because of the lack of harvesting mouse movement as base for randomness (haveged<\/em>) and finally, add the UniFi repo and key to our sources and install the controller itself. Let’s go!<\/p>\n\n\n\n

sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean -y\nsudo apt-get install openjdk-8-jre-headless -y\nsudo apt-get install haveged -y\nsudo apt-get install apt-transport-https -y\necho 'deb https:\/\/www.ui.com\/downloads\/unifi\/debian stable ubiquiti' | sudo tee \/etc\/apt\/sources.list.d\/100-ubnt-unifi.list\nsudo wget -O \/etc\/apt\/trusted.gpg.d\/unifi-repo.gpg https:\/\/dl.ui.com\/unifi\/unifi-repo.gpg\nsudo apt-get update && sudo apt-get install unifi -y<\/code><\/pre>\n\n\n\n

Now all that’s left is to point your browser to https:\/\/<raspberry_ip_address>:8443<\/strong> and enjoy your shiny new controller!<\/p>\n","protected":false},"excerpt":{"rendered":"

CloudKeys are nice – but if we already have a Raspberry lying around, why not use that to host the UniFi Controller? Here are the steps to do so. We’ll update the Raspbian installation, add the necessary packages (openjdk8) circumvent the slow startup time which occurs because of the lack of harvesting mouse movement as […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[31,49],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/535"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=535"}],"version-history":[{"count":1,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/535\/revisions"}],"predecessor-version":[{"id":536,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/535\/revisions\/536"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}