{"id":1744,"date":"2015-11-03T02:13:47","date_gmt":"2015-11-02T18:13:47","guid":{"rendered":"https:\/\/ros.tw\/wp\/?p=1744"},"modified":"2016-06-12T23:03:11","modified_gmt":"2016-06-12T15:03:11","slug":"unifi-controller-ac%e6%8e%a7%e5%88%b6%e5%99%a8%e5%ae%89%e8%a3%85%e5%9c%a8-debian","status":"publish","type":"post","link":"https:\/\/ros.tw\/wp\/?p=1744","title":{"rendered":"UniFi Controller AC\u63a7\u5236\u5668\u5b89\u88c5\u5728 Debian"},"content":{"rendered":"<p>https:\/\/community.ubnt.com\/t5\/UniFi-Wireless\/Updated-UniFi-Repo-info-APT-howto\/td-p\/1288883<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: medium;\"><u><strong>UniFi Controller APT howto<\/strong><\/u><\/span><\/p>\n<ol>\n<li>\n<p class=\"p1\">Add \/etc\/apt\/sources.list.d\/100-ubnt.list (or edit \/etc\/apt\/sources.list).\u00a0The &#8216;stable&#8217; source is floating. If you wish to stay with a certain release branch, please specify it in the source line (i.e. for UniFi v5 use the &#8216;unifi5&#8217; source, etc).<\/p>\n<pre>## Debian\/Ubuntu\r\n# stable =&gt; unifi4\r\n# deb http:\/\/www.ubnt.com\/downloads\/unifi\/debian unifi4 ubiquiti\r\n# deb http:\/\/www.ubnt.com\/downloads\/unifi\/debian unifi5 ubiquiti\r\n\r\ndeb http:\/\/www.ubnt.com\/downloads\/unifi\/debian stable ubiquiti\r\n\r\n# oldstable =&gt; unifi3\r\n# deb http:\/\/www.ubnt.com\/downloads\/unifi\/debian unifi3 ubiquiti\r\n# deb http:\/\/www.ubnt.com\/downloads\/unifi\/debian oldstable ubiquiti<\/pre>\n<\/li>\n<li>\n<p class=\"p1\">Add \/etc\/apt\/sources.list.d\/200-mongo.list (or edit \/etc\/apt\/sources.list):<\/p>\n<pre>## Debian \r\ndeb http:\/\/downloads-distro.mongodb.org\/repo\/debian-sy<wbr \/>svinit dist 10gen\r\n\r\n## Ubuntu\r\ndeb http:\/\/downloads-distro.mongodb.org\/repo\/ubuntu-up<wbr \/>start dist 10gen<\/pre>\n<\/li>\n<li>\n<p class=\"p1\">Add the GPG Keys:<\/p>\n<pre># for Ubiquiti\r\nsudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50\r\n\r\n# for mongo-10gen [optional]\r\nsudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10\r\n\r\n# or over HTTP by using hkp:\/\/keyserver.ubuntu.com:80<\/pre>\n<\/li>\n<li>\n<p class=\"p1\">Update, install, and upgrade:<\/p>\n<pre># retrieve the latest package information\r\nsudo apt-get update\r\n\r\n# install\/upgrade unifi-controller\r\nsudo apt-get install unifi<\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/community.ubnt.com\/t5\/UniFi-Wire &hellip; <a href=\"https:\/\/ros.tw\/wp\/?p=1744\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1744","post","type-post","status-publish","format-standard","hentry","category-ros"],"_links":{"self":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1744"}],"version-history":[{"count":2,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1744\/revisions"}],"predecessor-version":[{"id":2139,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1744\/revisions\/2139"}],"wp:attachment":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}