Difference between revisions of "UBNT: UniFi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 44: | Line 44: | ||
==Update & Install== | ==Update & Install== | ||
+ | |||
+ | Lakukan | ||
+ | |||
+ | sudo su | ||
# retrieve the latest package information | # retrieve the latest package information | ||
Line 50: | Line 54: | ||
apt-get install unifi | apt-get install unifi | ||
# or you can do apt-get upgrade to upgrade all packages on your debian | # or you can do apt-get upgrade to upgrade all packages on your debian | ||
− | |||
==Akses WebUI== | ==Akses WebUI== |
Revision as of 08:21, 21 July 2012
Instalasi Paket Pendukung
Lakukan
apt-get install mongoDB
Restart mongoDB
sudo /etc/init.d/mongodb start
Edit sources.list
edit
vi /etc/apt/sources.list
Masukan
## Ubuntu Precise (12.04): deb http://www.ubnt.com/downloads/unifi/distros/deb/precise precise ubiquiti ## Ubuntu Oneiric (11.10): deb http://www.ubnt.com/downloads/unifi/distros/deb/oneiric oneiric ubiquiti ## Ubuntu Natty (11.04): deb http://www.ubnt.com/downloads/unifi/distros/deb/natty natty ubiquiti ## Ubuntu Maverick (10.10): deb http://www.ubnt.com/downloads/unifi/distros/deb/maverick maverick ubiquiti ## Ubuntu Lucid (10.4): deb http://www.ubnt.com/downloads/unifi/distros/deb/lucid lucid ubiquiti ## Ubuntu Karmic (9.10): deb http://www.ubnt.com/downloads/unifi/distros/deb/karmic karmic ubiquiti ## Ubuntu Jaunty (9.4): deb http://www.ubnt.com/downloads/unifi/distros/deb/jaunty jaunty ubiquiti ## Debian Lenny (5.0): deb http://www.ubnt.com/downloads/unifi/distros/deb/lenny lenny ubiquiti ## Debian Squeeze (6.0): deb http://www.ubnt.com/downloads/unifi/distros/deb/squeeze squeeze ubiquiti
Tambahkan GPG Key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 # or over HTTP: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C0A52C50
Update & Install
Lakukan
sudo su
# retrieve the latest package information apt-get update # install/upgrade unifi package apt-get install unifi # or you can do apt-get upgrade to upgrade all packages on your debian
Akses WebUI
UniFi WebUI dapat di akses melalui alamat
https://<unifi_ip>:8443/
Paket ZIP UniFi
Alternatif lain kita dapat menggunakan paket ZIP UniFi
UniFi.unix.zip
UniFi API
A shell library, unifi_sh_api is provided with the release. here's a sample script to authorize a guest for 30 minutes
Code:
#!/bin/sh ## define required variables username=admin password=admin baseurl=https://localhost:8443 ## include the API library . unifi_sh_api unifi_login unifi_authorize_guest "e8:17:22:10:5d:4d" 30 unifi_logout
Referensi
- http://forum.ubnt.com/showthread.php?t=45945
- http://www.ubnt.com/downloads/unifi/2.2.5/UniFi.unix.zip