Thursday, 16 July 2015

Ubiquiti Aircontrol 2 Server Ubuntu Install (Step-by-step)

08:58 Posted by Jurgens Krause , , , , , , , , , 10 comments


The new version of Aircontrol may still be in beta, but it as vast improvement over the original Aircontrol. One of the best features of the software is the fact that it runs natively on linux. Here is a step by step tutorial on getting it running on Ubuntu:

1. Log in to your Ubuntu server and switch to a root user.
2. Update your apt-get resources:
apt-get update
3. Download the Aircontrol 2 Beta *.deb file. You should register on the Ubiquiti beta forums to make sure you get the latest version.:
wget http://www.ubnt.com/downloads/aircontrol2/aircontrol-v2.0-Beta14.1129.150619.1740-ubuntu.deb

3.Install the *.deb file using dpkg:
dpkg -i aircontrol-v2.0-Beta14.1129.150619.1740-ubuntu.deb

4. Run apt-get to fix missing dependencies
apt-get install -f

5. On the "Installation Type" screen, select "Server" and select "OK"

6. Configure a Username

7. Configure a Password

8. Set the port (I leave it as is)

9. Configure the service to start automatically

10. Verify that Aircontrol 2 is running by navigating to http://server-ip:9081
You should see a message saying: Welcome to Ubiquit Aircontrol 2

That's it. You should now be able to connect using the Aircontrol Client on your PC!

10 comments:

  1. me sale un error:
    Could not find the main class: com.ubnt.ac.backend.AirServerLauncher. Program will exit.
    failed!
    invoke-rc.d: initscript aircontrol2, action "start" failed.
    dpkg: error al procesar aircontrol2 (--configure):
    el subproceso instalado el script post-installation devolvió el código de salida de error 1
    Se encontraron errores al procesar:
    aircontrol2

    ReplyDelete
  2. Muy buenas.
    Yo tengo el mismo error!
    ¿Pudiste solucionarlo?
    Saludos.-

    ReplyDelete
  3. Thanks for the info... very useful !!!

    best regards

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Running AC2 as per this guide on a new instance of Ubuntu 14.04 LTS on Amazon AWS. Seems to have installed OK as I can stop and start it with /etc/init.d/aircontrol2 (stop/start). However, I get no connection to http://myawsserver:9081. Nmap scan shows the server is up and port 9081 is filtered. What else should I check?

    Starting Nmap 6.49BETA2 ( http://nmap.org ) at 2015-09-19 14:59 CST
    Nmap scan report for ec2-xxxxxxxx.us-west-2.compute.amazonaws.com (xxxxxxxxx)
    Host is up.
    PORT STATE SERVICE
    9081/tcp filtered unknown

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Looks like the port is listening ok....

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 955/sshd
    tcp6 0 0 :::22 :::* LISTEN 955/sshd
    tcp6 0 0 127.0.0.1:9081 :::* LISTEN 1080/java
    tcp6 0 0 xxx.xxx.xxx.xxx:9081 :::* LISTEN 1080/java

    ReplyDelete
  8. can you try https://server-ip:9081

    I think it should be an https server

    J

    ReplyDelete
  9. que hago si el servidor no me corre?

    ReplyDelete
  10. como lo desinstalo si deseo desinstalarlo???

    ReplyDelete