Install the Liota v2 package on your gateway and run as a root user.

Procedure

  1. Copy the Liota v2 package to the gateway where Liota must be installed.
  2. Navigate to the folder containing the Liota package and run the following commands:
    tar xvzf liota.2.0.0.tar.gz
    cd liota
    python setup.py install

Results

The setup.py script installs Liota as a root user, copies the configuration files from /usr/lib/liota/config/ to /etc/liota, creates the /var/log/liota directory, sets the library path LD_LIBRARY_PATH=/opt/vmware/iotc-agent/lib/ <iotc-agent installation directory>, and starts the Liota daemon.

For the Liota service to start automatically on reboot, copy the liota.service script from the scripts folder to the /etc/init.d/ location and enable the Liota service according to your operating system (Debian, Ubuntu, RHEL, or CentOS).

What to do next

Onboard the gateway using Liota.