====== 安裝 Unifi Controller 方式 ======
* 在 PVE6 內已內建 debian-9.0-standard 建立一個 Debian CT
===== 安裝下載程序 =====
* 安裝相關套件
apt-get update
apt-get install ca-certificates apt-transport-https gnupg sudo
* 設定 unifi 套件儲存庫
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | tee /etc/apt/sources.list.d/100-ubnt-unifi.list
* 安裝 mongodb
wget -qO - https://www.mongodb.org/static/pgp/server-3.6.asc | apt-key add -
echo "deb https://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" | tee /etc/apt/sources.list.d/200-mongodb-org-3.6.list
apt-get update
apt-get install mongodb-org
* 開始安裝 Unifi Controller
apt-get update
apt-get install unifi -y
===== 透過網頁設定 =====
Exp. 安裝 IP - 192.168.11.244 -> http://192.168.11.244:8080/
- 設定 Name Your Controller -> iChiayi UniFi Network
- 如果還沒有 unifi 帳號, 先到 https://account.ui.com/register 進行註冊 (需要透過 E-Mail 認證才能生效使用)
- Sign in with your Ubiquiti Account <- 使用在 unifi 註冊的帳號登入
-
===== 參考網址 =====
* https://help.ui.com/hc/en-us/articles/220066768-UniFi-How-to-Install-and-Update-via-APT-on-Debian-or-Ubuntu
* https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-debian/
{{tag>unifi}}