Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following sample setup has been done with Ubuntu server 20.04 on Virtual Machine as a HUB and Ubuntu server 20.04 on raspberry PI 3B as Agent.


Ubuntu server installation described under

...

The first movie shows Ubuntu Server installation. The same steps has to be performed on both HUB and Agent. The second movie shows procedure of Open Horizon HUB installation that was performed on VM.

Open Horizon HUB installation

...

The "deploy-mgmt-hub.sh" script has to downloaded first and variable "HZN_LISTEN_IP" has to be set to 0.0.0.0.

Then run the script.

...

Code Block
titleAgent environmental variables
ubuntu@ubun2ubuntu@ubuntu:~$ env | grep HZN
HZN_DEVICE_TOKEN=Zm4Y1wFgrUD2D1MTrtn1UmyBaOnn8u
HZN_DEVICE_ID=node1
HZN_ORG_ID=myorg
HZN_EXCHANGE_USER_AUTH=admin:1eAVOw1dWRKve5b5KIkRk2PcBjXLnO
HZN_EXCHANGE_URL=http://192.168.100.32:3090/v1/
HZN_FSS_CSSURL=http://192.168.100.32:9443/
ubuntu@ubuntu:~$


NOTE: Environmental variables can be added to ~/.bashrc file to so it will be set automatically at startup.

...