Installation
- Install docker(version 20.10 or later).
- Check if ports
80
and1883
are occupied by other services on your server. If yes, please pause these services. - Open the command line, navigate to a working directory, and execute the following command:
- Shell
- Windows Command Line (CMD)
docker run -d --name beaver-iot -v $(pwd):/root -p 80:80 -p 1883:1883 milesight/beaver-iot
docker run -d --name beaver-iot -v %cd%:/root -p 80:80 -p 1883:1883 milesight/beaver-iot
It will take about 2 minutes to complete the installation and start the program.
- Type http://[Your-IP-Address] in your browser to visit the sign up page to register an account.
It is recommended to replace [Your-IP-Address] with the current server's IP address. If the cloud service is used, please type the public IP address. Using localhost may result in inaccurate information on some pages.
-
Log in to the Beaver IoT platform using the newly registered account.
-
Execute below command to check service running status via logs:
docker logs -f beaver-iot
Please use root account to execute these commands in Linux system. If you do not have root access authority, please use sudo command.
Please check the firewall settings to ensure that other computers can access ports 80
and 1883
on this machine.
Upgrade
Follow below steps to upgrade the Beaver IoT while retaining the original application data:
- Stop and remove the running Beaver IoT docker.
docker stop beaver-iot
docker rm beaver-iot
- Pull the latest version of Beaver IoT.
docker pull milesight/beaver-iot
- Refer to Step 3 of the installation process, navigate to the original working directory, and execute the same startup command.