Cài đặt Controller trên hệ điều hành Debian, Ubuntu

Tổng quan

Bài viết này cung cấp cho ta cách cài đặt phần mềm UniFi Controller trên hệ điều hành Ubuntu

Cài đặt UniFi Controller

·  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 the GPG Keys:

# for Ubiquiti

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv C0A52C50

 

# 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