### Start UniFi Network Server Service Source: https://help.ui.com/hc/en-us/articles/205144550-Self-Hosting-a-UniFi-Network-Server-as-a-Windows-Service-Advanced Use this command to start the UniFi Network Server service after it has been installed. ```bash java -jar lib\ace.jar startsvc ``` -------------------------------- ### Example UID Enterprise Desktop App Configuration Source: https://help.ui.com/hc/en-us/articles/18750806392343-UID-Enterprise-Bulk-Deploy-UID-Enterprise-Desktop-App This example demonstrates a silent installation with specific configurations for automatic updates, workspace domain, VPN proxy mode, and launch at startup. Ensure the MSI file name and parameters are correct for your environment. ```bash UI_Desktop-v0.49.1.3.msi /quiet CHECK_UPDATE=1 WORKSPACE=acme VPN_PROXY_MODE=1 LAUNCH_AT_STARTUP=1 ``` -------------------------------- ### Example Mount Command Source: https://help.ui.com/hc/en-us/articles/26277250895895-Accessing-Your-UniFi-Drive-from-Linux-Desktop-Using-NFS An example of the mount command, showing how to connect to a UniFi Drive share. ```bash sudo mount -t nfs 192.168.x.x:/var/nfs/shared/Shared_Drive /mnt ``` -------------------------------- ### Start UniFi Network Service Source: https://help.ui.com/hc/en-us/articles/220066768-Updating-and-Installing-Self-Hosted-UniFi-Network-Servers-Linux If the UniFi Network application is not launching automatically after installation or upgrade, use this command to start the service manually. ```bash sudo service unifi start ``` -------------------------------- ### Create Web Server Directory on Windows Source: https://help.ui.com/hc/en-us/articles/360043360253-UniFi-Recovery-Mode Create a directory named 'webserver' and navigate into it using the command prompt on Windows. ```bash mkdir c:\webserver cd c:\webserver ``` -------------------------------- ### Reset to Factory Default Configuration Source: https://help.ui.com/hc/en-us/articles/205202580-Explaining-the-UniFi-system-properties-File This setting is used to facilitate UniFi Network application installation by starting the application with its factory default configuration. It is generally recommended for new installations rather than modifying existing ones. ```properties is_default=true_ ``` -------------------------------- ### Example Response for Get Sites Source: https://help.ui.com/hc/en-us/articles/31228198640023-External-Hotspot-API-for-Authorization-Clients A sample JSON response when querying the '/v1/sites' endpoint, showing the structure of site information returned. ```json [ { "id": "siteId", "name": "Site Name" } ] ``` -------------------------------- ### Make Installer Executable Source: https://help.ui.com/hc/en-us/articles/34210126298775-Self-Hosting-UniFi Grant execute permissions to the downloaded UniFi OS Server installer file. ```bash chmod +x ``` -------------------------------- ### Start UniFi OS Server Service Source: https://help.ui.com/hc/en-us/articles/34210126298775-Self-Hosting-UniFi Use systemctl to start the UniFi OS Server service. ```bash sudo systemctl start uosserver ``` -------------------------------- ### Silent Installation of UniFi Endpoint with Configuration Source: https://help.ui.com/hc/en-us/articles/40084569486871 Perform a silent installation of UniFi Endpoint using msiexec. This example enables launch at startup, enforces a specific organization domain for enrollment, and enforces VPN auto-connect. Use the MSI package directly for bulk deployment with pre-configured settings. ```bash msiexec /i "UniFi Endpoint.msi" /quiet /norestart ORG_DOMAIN=example.ui.com ENFORCE_CONFIG_ORG_DOMAIN=1 LAUNCH_AT_STARTUP=1 CONNECT_VPN_ON_STARTUP=1 ENFORCE_CONFIG_CONNECT_VPN_ON_STARTUP=1 ``` -------------------------------- ### Example Response for Get Clients on a Site Source: https://help.ui.com/hc/en-us/articles/31228198640023-External-Hotspot-API-for-Authorization-Clients A sample JSON response for the '/v1/sites/{siteId}/clients' endpoint, detailing a client's status, including whether they are authorized. ```json { "type": "WIRELESS", "id": "clientId", "name": "Apple iPad Pro", "macAddress": "42:8a:f7:3c:50:b0", "access": { "type": "GUEST", "authorized": false } } ``` -------------------------------- ### Download UniFi OS Server Installer (wget) Source: https://help.ui.com/hc/en-us/articles/34210126298775-Self-Hosting-UniFi Use wget to download the UniFi OS Server installer using the provided download link. ```bash wget ``` -------------------------------- ### Get WiFi List via curl Source: https://help.ui.com/hc/en-us/articles/17196782820247-UID-Enterprise-Troubleshoot-WiFi-Issues-and-FAQ This command retrieves a list of WiFi networks configured on the UniFi Console, including their IDs and names. It requires 'curl' and 'jq' to be installed. ```bash curl http://localhost:8081/v2/api/site/default/uid/wlan |jq '.[] | {_id:._id,name:.name}' ```