We now have a simplified way of installing the LIPI indoor positioning software using our new CLI Tool. This is a comprehensive document and is divided into 5 parts as shown below.
...
SSH access to the LIPI server.
Access to CMX GUI (browser) and CLI (terminal).
A device that is connected to the WiFi network that is used for positioning purposes. This requires you being on site at the campus and using public wifi network
Pre-installed java in the server openjdk-8-jre-headless
Access to Map Editor in MazeMap https://admin.mazemap.com/
LIPI 4.01.2 1 software update tool that can be downloaded from here: https://storage.mazemap.com/lipi/latest/lipi
...
Private IP-address of the LIPI server (The one WiFi clients will connect to the LIPI with; in IPv4 or IPv6 formats). Used to set up DNS Record showing domain name *.mazepos.com
Public IP address/es range/s for all WIFI-clients (the NAT-devices' IP-address if in use). Used for network configuration setup
CMX Software version (we only support version 10.2 or later versions)
Now we are ready to Install the LIPI
Table of Contents | ||
---|---|---|
|
...
The config file that is used is under the /srv folder use command cd to open folder and ls to read what is in the folder.
Action | Command | Comment |
---|---|---|
Start LIPI server | sudo systemctl start lipi | |
Stop LIPI server | sudo systemctl stop lipi | |
Restart LIPI server | sudo systemctl restart lipi | |
Status of LIPI server | sudo systemctl status lipi | |
Check the lipi log | journalctl -u lipi -n 200 -f | |
Create a new command line user in CMX | cmxos apiserver user add [the_username] [the_password] | |
Update lipi | Download the new lipi Make sure that the file is executable by typing: | |
open and update the config file | sudo nano config.json | |
view the config file | cat config.json | |
Move a file from one location to another | mv <start location> <end location> | In the example the config file is located in /home/cygate and we are moving it to /srv/. We are replacing the old file with the new file. |