Advertisement

Quick Links

Milesight DeviceHub
Installation Guide
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DeviceHub V2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Milesight DeviceHub V2

  • Page 1 Milesight DeviceHub Installation Guide...
  • Page 2 Preface This guide teaches you how to install Milesight on-premises DeviceHub platform. Readers This guide is intended for the following users: - Distributors - Network Planners - On-site technical support and maintenance personnel - Network administrators responsible for network configuration and maintenance Copyright ©...
  • Page 3: Table Of Contents

    Contents Introduction ............................. 4 System Requirements ..........................4 Hardware ................................4 Software ................................4 Operation Guide ..........................5 Requirements ............................5 DeviceHub Installation ..........................5 DeviceHub Uninstallation .........................9 Backup and Restore ..........................10 Export Log ............................... 11 Services and Ports ........................12...
  • Page 4: Introduction

    Introduction Milesight DeviceHub provides a high-efficency, low maintenance On-Premises solution to allow easily deployment of Milesight IoT devices across multiple locations, reducing complexity and increasing productivity. This guide will describe how to install DeviceHub program. (*Milesight routers and gateways compatibility are under development.)
  • Page 5: Operation Guide

    Operation Guide Requirements Ubuntu Server  DeviceHub Installation Package: downloaded from Milesight Website  WinSCP  Putty (or other SSH tool)  DeviceHub Installation Note: Take “Devicehubv2_ubuntu22.04-1.0.1.tar.gz” as an example in providing the the commands below, please use the commands according to real installation package name.
  • Page 6 4. Log in the server via Putty or other SSH tools. 5. Ensure the network tool is installed in the server. You can type ifconfig to double check. If not found, execute apt install net-tools to install it. 6. Navigate to the path including DeviceHub installation package to unzip it: tar -zxvf Devicehubv2_ubuntu22.04-1.0.1.tar.gz...
  • Page 7 7. Navigate to the DeviceHub folder, execute the deploy script: Devicehubv2_ubuntu22.04-1.0.1 ./deploy.sh Select option 7 to install docker. If the server has already installed docker, skip this step. After installing, the following message will show. 8. Execute the deploy script again, select option 1 to install DeviceHub. After installing, the following message will appear.
  • Page 8 Users can also use command below to check if the DeviceHub is installed well. 9. After installing, log in the DeviceHub with IP address http://xx.xx.xx.xx. The default login info: Username: admin Password: password...
  • Page 9: Devicehub Uninstallation

    DeviceHub Uninstallation 1. Navigate to the DeviceHub folder, execute the deploy script: cd /var/lib/devicehubv2/ ./deploy.sh Select option 6 to uninstall the DeviceHub. After uninstalling, the following message will appear. Type “yes” to continue uninstalling docker or “no” to complete the devicehub uninstallation. Users can also use below command to check if the DeviceHub is removed.
  • Page 10: Backup And Restore

    Backup and Restore When transferring the DeviceHub program from one server to another, please refer below steps to backup the data from old server and restore it to the new server. 1. Navigate to the DeviceHub folder of old server, execute the deploy script: cd /var/lib/devicehubv2/ ./deploy.sh Select option 4 to backup the data.
  • Page 11: Export Log

    5. Navigate to the DeviceHub folder of new server, execute the deploy script: cd /var/lib/devicehubv2/ ./deploy.sh Select option 5 to restore the data, type the path of backup data file, then click Enter to restore the data. Export Log DeviceHub program supports exporting logs for troubleshooting. 1.
  • Page 12: Services And Ports

    cd /var/lib/devicehubv2/ ./deploy.sh Select option 3 to export the log files. After exporting, the following message will appear. 2. Export the log files via WinSCP or other tool: Services and Ports In order to ensure the secured communication, here are some ports for the services: Port Protocol Description...

Table of Contents