Mistika can not be installed in a system without graphics login, but the license server is possible. 


To do that please follow the next steps:


INSTALLING THE LICENSE SERVER IN A CENTOS 7.xxx SYSTEM (or RedHat 7.xxx)


- Download the license server installer (text only mode) from here:


https://www.sgo.es/sgo/SGOLicSrvCLI.run.zip


2 - Extract the .run file and execute it. (if you want to know the details about what it does check the next point)


- Reboot the server


The above steps will install the license server. The next points are for creating and installing the licenses on iot:


5 -  To get the LMData id code for the server execute the getlic binary (included with the above installer) , which is required to identify the system when making licenses. The getlic command will simply answer with the LMData id for the server.


6 - To activate Mistika activation codes for this server you can do it in you SGO account (you will need to be logged in for this link to work, and provide the LMData fwhen requested for it)


https://www.sgo.es/my-account/activation-codes/


Alternatively you can use the usual  SGOActivationTool that comes with Mistika in any other computer with graphics (Linux, Windows, or Mac), as in the advanced mode it provides the option for activating codes for other computers and get their licenses.


7 - Once you have the license,  put in in this file  ( put all your  licenses in the same file, one per line)


/var/flexlm/sgoMistikaV5.dat


8 - In the client computers you have to tell them who is the license server. There are two ways to do this:


A) - Open the SGOActivationTool->LicenseServer->Settings Wheel and put the ip of the license server 


 OR


B)  - Define this environmental variable: SGO_ELMHOST=IPaddress_of_the_server


That should be all that is necessary for a CentOS server.




INSTALLING THE LICENSE SERVER IN OTHER LINUX DISTRIBUTIONS (FOR ADVANCED LINUX USERS)


This is an supported procedure, but in principle it should be possible (as usual in these cases, you may need to make sure  that you have compatible packages and solve the corresponding dependencies ...)


For more details, if you look at the above procedure what the .run file does (in addition to providing the license server files) is to execute the script below. You may need to adapt it to your particular distribution, and also ithe sgoLicenseServer.service  daemon if you want  to start the license server automatically at boot time  (the above installer is only valid for systemd ):


Installer script for Centos 7.xxx:


cp sgoLicenseServer.service /etc/systemd/system/.

tar zxvf licenseServer.tgz -C /

systemctl enable sgoLicenseServer

firewall-cmd --zone=public --permanent --add-port=1116/tcp

sed -i '/root=/s|$| net.ifnames=0 biosdevname=0 nosmap |'

/boot/efi/EFI/centos/grub.cfg

sed -i '/root=/s|$| net.ifnames=0 biosdevname=0 nosmap |'

/boot/grub2/grub.cfg