Skip to content

Install Services for Windows

MariaDB

  • Execute:

    X:\GiS\Insight\MariaDB\bin\mysql_install_db.exe -S insight-mariadb -d X:\GiS\Insight\db-data --password=<your_db_root_secret> -R
    
  • Configure the newly created service to be run with local system account.

  • Start the service
  • create the following databases in mariadb: insightdb, tmpdb, schemadb

    mysql -u root -p
    create database insightdb;
    ...
    
  • create a user

    create user 'insight'@'%' IDENTIFIED BY '<user_secret>';
    
  • assign user to the databases mentioned before

    GRANT ALL PRIVILEGES ON insightdb.* TO 'insight'@'%';
    ...
    

Wildfly

  • Copy folder service:

    from
            wildfly\docs\contrib\scripts\service
    to
            wildfly\bin\service
    
  • Check if environment variable JAVA_HOME is set. This is necessary for stopping Wildfly running as a service!

  • Adjust heapspace and metaspace parameters in bin\standalone.bat because default values are not suitable:

  • -Xms1g
  • -Xmx1g
  • -XX:MetaspaceSize=96m
  • -XX:MaxMetaspaceSize=512m

  • Execute:

    X:\GiS\Insight\Wildfly\bin\service\service.bat install
    
  • Configure the newly created "Wildfly" service from manual to automatic (delayed)

  • Run the service
  • Test the service: Open URL in Browser: http://localhost:8080
  • Note: Configuration of insight applications - e.g. Indexer, Push - requires to edit wildfly's x:\GIS\Insight\Wildfly\standalone\configuration\standalone.xml. Editing x:\GIS\Insight\Wildfly\standalone\configuration\standalone.xml must only happen when Wildfly service is stopped. Otherwise wildfly will override changes in standalone.xml during restart.

ElasticSearch

  • Set JAVA_HOME to absoult path to JRE in

    X:\GiS\Insight\elasticsearch\bin\elasticsearch.bat <p></p>
    
    X:\GiS\Insight\elasticsearch\bin\elasticsearch-service.bat
    
  • Execute:

    X:\GiS\Insight\Elasticsearch\bin\elasticsearch-service.bat install
    
  • Configure the newly created "ElasticSearch" service from manual to automatic

  • Start the service
  • Test the service: Open URL in Browser: http://localhost:9200

Kibana

  • Execute:

    X:\GiS\Insight\Kibana\bin\service.bat install
    
  • Configure the newly created "Kibana" service from manual to automatic

  • Start the service
  • Test the service: Open URL in Browser: http://localhost/insight/kibana/

Logstash

  • Adapt filenames in

    X:\GiS\Insight\logstash\config\insight-logging.conf
    
  • Adapt JRE-Path in

    X:\GiS\Insight\logstash\bin\insight-logstash.bat
    

- Execute:

    X:\GiS\Insight\logstash\bin\insight-logstash-service.bat install
  • Configure the newly created "insight-logstash" service from "manual" to "automatic"

  • Start the service