Új hozzászólás Aktív témák

  • Vodike

    tag

    Itt az én megoldásom pi3-ra:

    Raspberry Pi Unifi Controller
    Raspbian Stretch fresh install.. guide to installing Unifi.

    1. Get fresh updates..
    sudo apt-get update
    sudo apt-get upgrade

    2. Set a few things..Use this to change password, change hostname, enable SSH
    sudo raspi-config

    3. Find out what the IP of the system is
    ifconfig

    Reboot, I think it asks you to reboot, if it doesn't then..

    sudo reboot now

    5. Add Unifi to the sources list
    echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee -a /etc/apt/sources.list.d/ubnt.list > /dev/null

    6. Install dirmngr, this is a new step with Stretch, if you don't do it, you'll get this error.. failed to start the dirmngr when adding the key in step 7

    sudo apt-get install dirmngr

    7. Add the key
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50

    8. Update the repository since Unifi is now a part of it.
    sudo apt-get update

    9. Install Unifi! (takes a little while as it installs a few other things with it)
    sudo apt-get install unifi -y

    10. Install Java8
    sudo apt-get install oracle-java8-jdk -y

    11. Set Java8 config in Unifi
    echo 'JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt' | sudo tee /etc/default/unifi > /dev/null

    12. Disable mongodb default service to save some resources
    sudo systemctl disable mongodb

    13. Stop mongodb (that you've just disabled)
    sudo systemctl stop mongodb

    14. Restart system to take effect!
    sudo reboot now

    Visit this in a browser
    https://IP:8443
    Should also work via..
    https://hostname:8443(May need to wait a few mins for it to launch the on a fresh boot)

    sudo apt-get install haveged

    exTiga

Új hozzászólás Aktív témák