https://community.ubnt.com/t5/UniFi-Wireless/Updated-UniFi-Repo-info-APT-howto/td-p/1288883
UniFi Controller APT howto
-
Add /etc/apt/sources.list.d/100-ubnt.list (or edit /etc/apt/sources.list). The ‘stable’ 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 ‘unifi5’ source, etc).
## Debian/Ubuntu # stable => unifi4 # deb http://www.ubnt.com/downloads/unifi/debian unifi4 ubiquiti # deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti # oldstable => unifi3 # deb http://www.ubnt.com/downloads/unifi/debian unifi3 ubiquiti # deb http://www.ubnt.com/downloads/unifi/debian oldstable ubiquiti
-
Add /etc/apt/sources.list.d/200-mongo.list (or edit /etc/apt/sources.list):
## Debian deb http://downloads-distro.mongodb.org/repo/debian-sy
svinit dist 10gen ## Ubuntu deb http://downloads-distro.mongodb.org/repo/ubuntu-up start dist 10gen -
Add the GPG Keys:
# for Ubiquiti sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 # for mongo-10gen [optional] sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 # or over HTTP by using hkp://keyserver.ubuntu.com:80
-
Update, install, and upgrade:
# retrieve the latest package information sudo apt-get update # install/upgrade unifi-controller sudo apt-get install unifi
自動引用通知: 首頁 | MikroTik-元芳