userdoc:guest_lxc_container_unifi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:guest_lxc_container_unifi [2020/06/07 07:49]
abelbeck
userdoc:guest_lxc_container_unifi [2020/06/12 17:50] (current)
abelbeck
Line 4: Line 4:
  
 **Resource Usage:** (minimum) **Resource Usage:** (minimum)
-  * Memory: 1024 MB+  * Memory: 1280 MB
   * Storage: 1.3 GB   * Storage: 1.3 GB
 \\ \\
Line 34: Line 34:
 !!Tip ->!! If you prefer not to create a ''unifi.ui.com'' account, you may establish a local-only UniFi instance by clicking on "Switch to Advanced Setup" during "Sign in ..." in setup. !!Tip ->!! If you prefer not to create a ''unifi.ui.com'' account, you may establish a local-only UniFi instance by clicking on "Switch to Advanced Setup" during "Sign in ..." in setup.
  
-The UniFi Controller can use a noticeable amount of CPU and RAM resources, depending on the number and type of device. For a small installation you can edit the ''/var/lib/lxc/unifi/config'' file and uncomment the following line:+The UniFi Controller can use a noticeable amount of CPU and RAM resources, depending on the number and type of device. For a small installation you can edit the ''/var/lib/lxc/unifi/config'' file and uncomment and edit the following line:
  
-  lxc.cgroup.memory.limit_in_bytes = 1024M+  lxc.cgroup.memory.limit_in_bytes = 1280M
  
-to keep the RAM usage from going over 1 GB.  Larger installations may require ''1536M'' or ''2048M'' for good performance.+to keep the RAM usage from going over 1.28 GB.  Larger installations may require ''1536M'' or ''2048M'' for good performance.
  
 \\ \\
 !!Related Info ->!! **[[userdoc:guest_lxc_container|LXC container in AstLinux]]** !!Related Info ->!! **[[userdoc:guest_lxc_container|LXC container in AstLinux]]**
- 
  
 \\ \\
 **UniFi DHCP option 43, Controller Assignment** **UniFi DHCP option 43, Controller Assignment**
  
-If the UniFi controller is not in the same subnet (broadcast domain) as your UniFi devices, before adopting UniFi devices you can edit your ''/etc/dnsmasq.static'' file with the following:+If the UniFi controller is not in the same subnet (broadcast domain) as your UniFi devices, before adopting UniFi devices you can edit your ''/mnt/kd/dnsmasq.static'' file with the following:
  
   ## UniFi DHCP option 43, Controller Assignment   ## UniFi DHCP option 43, Controller Assignment
-  ## Example: UniFi Controller IPv4 address 192.168.200.20 
   dhcp-option=vendor:ubnt,1,192.168.200.20   dhcp-option=vendor:ubnt,1,192.168.200.20
  
-Replace the ''192.168.200.20'' IP address with your controller's address.+Replace the ''192.168.200.20'' IP address with your controller'static address.  In the web interface, select "Restart DNS & DHCP" to apply the change to the dnsmasq configuration.
  
  
  • userdoc/guest_lxc_container_unifi.1591534153.txt.gz
  • Last modified: 2020/06/07 07:49
  • by abelbeck