{"id":263,"date":"2019-03-11T20:52:59","date_gmt":"2019-03-11T19:52:59","guid":{"rendered":"https:\/\/rizzus.tech\/?p=263"},"modified":"2019-03-11T20:52:59","modified_gmt":"2019-03-11T19:52:59","slug":"unifi-controller-debian-9-basic","status":"publish","type":"post","link":"https:\/\/rizzus.tech\/?p=263","title":{"rendered":"unifi controller Debian 9 basic"},"content":{"rendered":"\n<p>Create a Small installation of Debian, use NetInstall and deselect all package from installer.After reboot use this command for minimal setup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install sudo ssh -y\n\nadduser youruser sudo ( attention - no insert Root User )\n\nreboot<\/code><\/pre>\n\n\n\n<p>After reboot you&#8217;ll need to setup network to obtain a Static Ip under your Network. To edit run this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo  nano \/etc\/network\/interfaces \n\nedit the last line from dhcp to static and add this line\n\n    address  IPforYourController (es. 192.168.100.100)\n    subnet   255.255.255.0 (or the same for your network)\n    gateway  YourNetworkGateway\n    dns-servers 8.8.8.8 1.1.1.1 ( or your dns preferred, use space between dns)\n\nsave and reboot\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/rizzus.tech\/wp-content\/uploads\/networks-1024x577.jpg\" alt=\"\" class=\"wp-image-266\" srcset=\"https:\/\/rizzus.tech\/wp-content\/uploads\/networks-1024x577.jpg 1024w, https:\/\/rizzus.tech\/wp-content\/uploads\/networks-300x169.jpg 300w, https:\/\/rizzus.tech\/wp-content\/uploads\/networks-768x433.jpg 768w, https:\/\/rizzus.tech\/wp-content\/uploads\/networks.jpg 1136w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Example of a file edited for Static IP address <br><\/figcaption><\/figure>\n\n\n\n<p>After reboot try to open ssh to youruser@yournewipstatic and if all working good you&#8217;re ok.<\/p>\n\n\n\n<p>next step is install all stuff for UnifiController; first of all open terminal and switch to root shell<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>su -\n\napt-get install dirmngr apt-transport-https -y\n<\/code><\/pre>\n\n\n\n<p>next command have to execute all in one line it&#8217;s important ( copy and past for no error)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat > \/etc\/apt\/sources.list.d\/100-ubnt.list &lt;&lt; EOF\ndeb http:\/\/www.ubnt.com\/downloads\/unifi\/debian stable ubiquiti\nEOF<\/code><\/pre>\n\n\n\n<p>next import the key for repository and setup controller, 1 line @ once<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50\n\napt-get update\n\napt-get install unifi -y\n\nreboot<\/code><\/pre>\n\n\n\n<p>After Reboot you&#8217;re ready for use your personal UnifiController at this address:<\/p>\n\n\n\n<p>http:\/\/serverIP:8080 or https:\/\/serverIP:8443<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a Small installation of Debian, use NetInstall and deselect all package from installer.After reboot&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/rizzus.tech\/?p=263\">Read the post<span class=\"screen-reader-text\">unifi controller Debian 9 basic<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":268,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,12,7],"tags":[],"class_list":["post-263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-raspberry-pi","category-vmware","excerpt","zoom","full-without-featured","even","excerpt-0"],"_links":{"self":[{"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rizzus.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263"}],"version-history":[{"count":4,"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":269,"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions\/269"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rizzus.tech\/index.php?rest_route=\/wp\/v2\/media\/268"}],"wp:attachment":[{"href":"https:\/\/rizzus.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rizzus.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rizzus.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}