zoukankan      html  css  js  c++  java
  • lede install unifi controller


    requirement: sdb3 should be formated as ext4, DO not use f2fs/NTFS/exFAT.

    debootstrap --arch=amd64 stretch /mnt/sdb3/debian http://deb.debian.org/debian

    mount -o bind /proc /mnt/sdb3/debian/proc
    mount -o bind /sys /mnt/sdb3/debian/sys
    mount -o bind /dev /mnt/sdb3/debian/dev

    chroot /mnt/sdb3/debian /bin/bash
    apt update
    apt install mongodb
    apt install software-properties-common
    add-apt-repository "deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti"
    apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
    apt update
    apt install unifi

    chroot /mnt/sdb3/debian /bin/bash

    /etc/rc.local add content before exit 0:

    mount -o bind /proc /mnt/sdb3/debian/proc
    mount -o bind /sys /mnt/sdb3/debian/sys
    mount -o bind /dev /mnt/sdb3/debian/dev

    chroot /mnt/sdb3/debian /bin/bash service mongodb start
    chroot /mnt/sdb3/debian /bin/bash service unifi start

  • 相关阅读:
    雨天拍照技巧
    was8.5和aop的问题:JVMVRFY013 违反类装入约束o
    Docker Swarm
    Docker compose
    docker 网络
    dockerFile
    docker容器数据卷
    docker容器数据卷
    dokcer镜像详解
    Portainer可视化面板安装
  • 原文地址:https://www.cnblogs.com/maintell/p/9373230.html
Copyright © 2011-2022 走看看