Downloading and Starting the Server
This section explains how to do some basic configurations and start up the server. Before proceeding, make sure to read the system requirements page and have an environnement ready. This guide uses a linux based OS.
Get Entgra IoT server
Go to Entgra contact us fill in the details to get a copy of the server. If iOS or windows platforms are needed to be evaluated, please mention this need as, there are separated plugins for these platforms that is not bundled with the server.
Extract zip file
Extract the zip file to a desired location and go into the extracted folder(This will be in format entgra-iot-4.x.x). Lets call this folder IOT_HOME folder.
If you are setting this up on your personal PC/laptop, This step is not mandatory, but there is no harm in following this step.
- Using a command prompt, go to IOT_HOME/scripts folder. For example like bellow,
- And execute change-ip.sh. This can be done with following command,
- There are 3 critical values to fill in when executing change-ip.
|Please enter the IoT Core IP that you need to replace (if you are trying out IoT server for the first time this will be localhost)||Provide this as localhost|
|Please enter your current IP||Enter the machine IP or the public IP to the machine. This IP must be accessible within the network or over internet. This is because the device we are enrolling later on should be able to access this IP.|
|Please provide Common Name||Same as current IP|
For all the other steps are optional and can press enter to set default value.
Start the server
To start the server, go to, IOT_HOME/bin and run ./iot-server.sh
You may also start this as a service with
Stop the service with
If you have started as a service, the startup logs can be monitored with the command,
tail -f repository/logs/wso2carbon.log
Server start up will end with publishing APIs.