{"id":204,"date":"2015-06-12T07:49:01","date_gmt":"2015-06-12T07:49:01","guid":{"rendered":"http:\/\/bene.webtopia.ch\/?p=204"},"modified":"2015-06-12T11:32:09","modified_gmt":"2015-06-12T11:32:09","slug":"access-denied-by-security-policy","status":"publish","type":"post","link":"https:\/\/bene.webtopia.ch\/?p=204","title":{"rendered":"Unifi 4.2 Controller Install Guide Linux Ubuntu Server 14.10"},"content":{"rendered":"<p>Hi guys this is the definitive\u00a0error proof for unifi controller for linux<\/p>\n<p>** DO NOT USE PURE DEBIAN SERVER USE UBUNTU SERVER INSTEAD**<\/p>\n<p>1.- Go to\u00a0<a href=\"https:\/\/help.ubuntu.com\/community\/Installation\/MinimalCD\">https:\/\/help.ubuntu.com\/community\/Installation\/MinimalCD\u00a0<\/a><\/p>\n<p>Download \u00a064-bit PC (amd64, x86_64)\u00a0Ubuntu 14.10 &#8222;Utopic Unicorn&#8220; Minimal CD 39MB\u00a0and install it.. and dont forget to add SSH Server,\u00a0use hostname unifi and add a DNS entry<\/p>\n<p>2.-SSH into the server and\u00a0execute:<\/p>\n<p># echo &#8222;deb <a href=\"http:\/\/www.ubnt.com\/downloads\/unifi\/distros\/deb\/squeeze\">http:\/\/www.ubnt.com\/downloads\/unifi\/distros\/deb\/squeeze<\/a> squeeze ubiquiti&#8220; &gt;&gt; \/etc\/apt\/sources.list.d\/20ubiquiti.list<br \/>\n# apt-key adv &#8211;keyserver keyserver.ubuntu.com &#8211;recv C0A52C50<\/p>\n<p># echo &#8222;deb <a href=\"http:\/\/downloads-distro.mongodb.org\/repo\/ubuntu-upstart\">http:\/\/downloads-distro.mongodb.org\/repo\/ubuntu-upstart<\/a> dist 10gen&#8220; &gt;&gt; \/etc\/apt\/sources.list.d\/21mongodb.list<br \/>\n# apt-key adv &#8211;keyserver keyserver.ubuntu.com &#8211;recv 7F0CEB10<\/p>\n<p># apt-get update<\/p>\n<p>#apt-get install unifi (for 3.2 RECOMMENDED)<\/p>\n<p>or<\/p>\n<p># apt-get install unifi-beta (for 4.6)<\/p>\n<p>3.- u will get a java error.\u00a0* Starting Ubiquiti UniFi Controller unifi Cannot locate Java Home\u00a0[fail]\u00a0.. to fix it run the following commands<\/p>\n<p># nano \/etc\/init.d\/unifi<\/p>\n<p>search for JAVA_HOME and change the path to \/usr\/lib\/jvm\/java-7-openjdk-amd64<\/p>\n<p>now<\/p>\n<p># sudo \/etc\/init.d\/unifi start<\/p>\n<p>4.- now lets install the 4.2 Stable version<\/p>\n<p># apt-get remove unifi or\u00a0\u00a0#apt-get remove unifi-beta<\/p>\n<p># wget <a href=\"http:\/\/www.ubnt.com\/downloads\/unifi\/4.2.0\/unifi_sysvinit_all.deb\">http:\/\/www.ubnt.com\/downloads\/unifi\/4.2.0\/unifi_sysvinit_all.deb<\/a><br \/>\n# dpkg -i unifi_sysvinit_all.deb<\/p>\n<p>&nbsp;<\/p>\n<p>now type:<\/p>\n<p>#ifconfig<\/p>\n<p>Open your Broswer and go to \u00a0<a href=\"https:\/\/YOUR_IP:8443\">https:\/\/YOUR_IP:8443<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi guys this is the definitive\u00a0error proof for unifi controller for linux ** DO NOT USE PURE DEBIAN SERVER USE UBUNTU SERVER INSTEAD** 1.- Go to\u00a0https:\/\/help.ubuntu.com\/community\/Installation\/MinimalCD\u00a0 Download \u00a064-bit PC (amd64, x86_64)\u00a0Ubuntu 14.10 &#8222;Utopic Unicorn&#8220; Minimal CD 39MB\u00a0and install it.. and dont forget to add SSH Server,\u00a0use hostname unifi and add a DNS entry 2.-SSH into [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-edv-ecke"],"_links":{"self":[{"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=204"}],"version-history":[{"count":5,"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":210,"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions\/210"}],"wp:attachment":[{"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bene.webtopia.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}