Blog

How to install UniFi Controller on Raspberry Pi

Learn how to install the UniFi Controller on Raspberry Pi OS

UniFi Logo and Raspberry Pi Logo

To install the UniFi Controller on Raspberry Pi OS, follow the steps below.

If you want fast and reliable UniFi hosting, check out HostiFi with fast support, regular backups, managed updates and prices from just $9 per month.

To learn more about our hosting plans, create an account and get started today.

You can run UniFi on pretty much anything, Windows, Ubuntu, macOS and Debian plus much more. If you want to host the UniFi Controller and not benefit from the simple setup HostiFi offers, you can host UniFi on a Raspberry Pi.

Requirements

  • A Raspberry Pi (preferably a Pi 3, 4, or newer)
  • Raspberry Pi OS (64-bit recommended)
  • SSH access or direct access with a keyboard and monitor
  • Update the system

    Install Java (OpenJDK 8)

    Verify the installation:

    You should see output similar to:

    Add UniFi Repository

    Install required dependencies:

    Add the Ubiquiti GPG Key:

    Add the UniFi repository to sources list:

    Install UniFi Controller

    Update package list again:

    Install the UniFi Controller:

    Start and Enable UniFi Service

    After installation, enable and start the UniFi service:

    Check if the service is running:

    Access the UniFi Web Interface

    Once the UniFi Controller is running, open your web browser and go to:

    That's it, you should now have the UniFi Controller installed and running on your Raspberry Pi!

    About HostiFi

    HostiFi provides hosting for Ubiquiti software platforms, with servers for UniFi and UISP. We also offer network consulting, with HostiFi Professional Services.

    More Blog Posts

    Get the Ubiquiti Top 20

    Each month our team sifts through Ubiquiti news and content from around the web and delivers 20 of our favorite links to your inbox.

    View recent issues

    No spam. Unsubscribe anytime.

    🤩

    Discovered 3+ things that I did not know and will have a material impact on my business.

    Newsletter Subscriber

    🤩

    All the info I want/need in a single clean thread! Perfect!

    Newsletter Subscriber

    🤩

    Providing super valuable information to keep the community in the know. Awesome links page, Thank You.

    Newsletter Subscriber