It's possible to install multiple instances of Linkar Web Services.
Each instance needs to be installed in a different folder and has its own settings, being completely independent from the other instances.
To instal a new instance, select option 1 from the menu. Next, enter the full installation path for LinkarWS. The folder must be a new one and it will be created during the installation process.
We strongly recommend installing LinkarWS in the "/Library" folder. If nothing indicated, default installation path will be “/Library/linkarWS”.
Next, the process will require the following values to be indicated:
•Host. Interface that LinkarWS will listen to. The default value is "*", which will indicate LinkarWS to listen to all the available interfaces. •Http Port: Interfaces port to which LinkarWS will listen to. Default is 12000. •Service name: Name of the Linux Service, default is "LinkarWS". This name must be unique for each LinkarWS instance installed.
On the last step, the Linux service of LinkarWS will be started.
Once started, if the Linux terminal or console is running on a Graphic Desktop context, the computer's default web browser will open the LinkarWS configuration website.
The default credentials are:
•User: admin •Password: admin
At first, LinkarWS is set to ApiKey Authentication Mode.
Access to LinkarWS its via HTTP. However, HTTPS access can be enabled on the configuration of the Kestrel Server, indicating the domain name or IP, and the TPC port to which LinkarWS will listen to. In addition, a valid certificated must be provided for the domain name.
LinkarWS can run in two different ways: as an OSX service or as a console application.
If we don't want to run LinkarWS as a service, it can be started from the console or terminal on administrator mode, setting the current working directory to the LinkarWS root folder and running the following command:
./LinkarWS.exe --console
Remember to stop the service before running this command. To stop it, run the following command:
sudo launchctl unload /Library/LaunchDaemon/LinkarWS.plist
To get LinkarWS working and be able to access LinkarWS configuration, the service or console application must be running.
In case of having multiple instances installed, each one of them has to be installed in a different folder and the Linux service name has to be different as well
|