Skip to main content

Linux (Clean Installation)

This section provides instructions for performing a clean installation of Self-Service Analytics in your operating environment and is applicable to for both RPM (CentOS, REHL) and Ubuntu environments. For information about the difference between a clean installation of Self-Service Analytics and an upgrade to the latest GA release, see Clean Installation and Upgrade Differences.

Upgrade and Migration Considerations

  • Windows Server 2012R2 is not compatible with both Java17 binaries and the latest releases of Self-Service Analytics. We recommend you use Windows 2019 or later.
  • In general, you can upgrade directly to the latest version of Self-Service Analytics from a prior version.
  • If you are upgrading to a newer version of Self-Service Analytics and you also want to change your encryption mode, perform the upgrade first and then complete the steps described in Encryption.
New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
If you are upgrading to a newer version of Self-Service Analytics and have created an attribute named User.timeZone, this may be overwritten on upgrade. See Upgrade Workflow for more information about preparing your environment for the upgrade process.
In general, the installation process is automated and you only need to run an installation script. The installation script is implemented using Bootstrap. This script accesses a dedicated Self-Service Analytics repository and automatically downloads all the necessary components to install your Self-Service Analytics microservice. You can install Self-Service Analytics without using the automated installation script. This lets you install and enable each Self-Service Analytics microservices manually in your target server. If you need an alternative option, read Alternative Installation Options.
To install Self-Service Analytics in other environments, see Install Self-Service Analytics - Windows. To install an orchestrated Self-Service Analytics solution, see Run Self-Service Analytics in Kubernetes.
After the installation has completed, you need to activate the Self-Service Analytics microservices, download and configure a JDBC driver if you are using specific data sources (see Post-Installation Options for a list), and open a browser window and enter the specific IP address to access the Self-Service Analytics client. Review and complete (as appropriate for your installation) the following installation information: space

Installation Steps

To begin the installation process, you must receive the installation instructions from insightsoftware Technical Support. This email contains the installation script that you will run on the server where the environment will reside. If you have not received installation instructions, open a ticket with insightsoftware Technical Support.
To install Self-Service Analytics in other environments, see Install Self-Service Analytics - Windows. To install an orchestrated Self-Service Analytics solution, see Run Self-Service Analytics in Kubernetes.

Steps

After you have received installation instructions from Technical Support, complete the following steps. After you have installed Self-Service Analytics, review the post-installation options in Post-Installation Options. For information about accessing after it is installed, see Access and Use Self-Service Analytics.

Step 1: Run the Installation Script

The email or PDF you receive from insightsoftware Technical Support describes the command used to obtain the installation bootstrap procedure and the command used to run the bootstrap procedure. Run these commands, in order, on the target server for to start the automated installation process. Linux environments: The following components are downloaded to your target server:
  • Database for metadata store (using PostgreSQL)
  • The Server
  • Query Engine
  • Data Writer microservice
  • Connector microservices
Self-Service Analytics uses a packaged PostgreSQL database instance to store its metadata. Use the provided instance due to the specific configuration and version combination:
  • Self-Service Analytics 26.3 and later: PostgreSQL 16
If you would like to use another PostgreSQL instance, contact Technical Support for further guidance.
On Linux platforms, the Self Service Report microservice is not included in the installation bundle. Install it manually after the installation script completes, or self service reports and expanded export options are unavailable.
In an Ubuntu environment, run the following commands:
In a RHEL or CentOS environment, run the following commands:
In the systemctl status output, confirm that the service is both active and enabled. Enabling the service is what keeps it running after a reboot. To confirm the service is functional, export a dashboard or visual. A running status alone does not confirm that exports work. See Self Service Report Microservice. Windows Environments By default, the bootstrap script installs these core components, connectors, and required dependencies:
  • Zoomdata web application
  • Query Engine
  • MSSQL
  • Mongo DB
  • Elastic 7
  • Solr
  • Cloudera Search
  • Consul
  • PostgreSQL
    New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
  • Corretto JDK17
  • Chocolatey
To install other components, adjust bootstrap switches as needed. See Windows Bootstrap Reference, Self-Service Analytics Microservice Name Reference and Data Connector Reference. When the installation script has completed, complete the remaining steps in this section.

Step 2: Configure the Firewall

See Configure the Firewall.

Step 3: Identify the IP Address

See Identify the Self-Service Analytics IP Address.

Step 4: Access Self-Service Analytics from a Web Browser

After the installation script has completed, it will take a few minutes for Self-Service Analytics to complete its setup of the metadata store. Please wait a few minutes before accessing Self-Service Analytics from your web browser. When you are ready to access Self-Service Analytics, read Access and Use Self-Service Analytics.
We recommend that you log into for the first time using admin credentials. This allows you to review all the account-level features available. As an admin, you can access functions that let you connect your data sources to Self-Service Analytics. You can also create and activate user accounts, including an admin user account that will allow you to access the admin functions. See Supplied Users and User Groups.
If you receive a message indicating that is not yet accessible, the setup may not yet be complete. Wait a few more minutes before trying again or opening a Support ticket. If you continue to have issues accessing from your browser, open a ticket with Self-Service Analytics Technical Support.

Install Self-Service Analytics Manually

If running the installer script is not a viable option for you, you can install Self-Service Analytics manually.
Manual install of Self-Service Analytics is not currently supported for Windows environments.
To install Self-Service Analytics manually, complete the following steps:

Step 1. Review the Prerequisites

Refer to System Requirements and Server Size Guidelines for information on the recommended settings for deploying your software on-premises. The target server for your software should meet the following conditions:
  • The server does not have PostgreSQL already installed
  • The server does not contain any Self-Service Analytics property files, meaning if a previous version of was installed in this server, ensure that all property files have been deleted.
  • The user installing Self-Service Analytics is able to use the sudo command in the server

CentOS Requirements

CentOS 7 & 8 are end of life (EOL) support. CentOS Stream 9 is supported for new instances of Self-Service Analytics. Upgrade your operating system to CentOS Stream 9 before upgrading your instance. For more information, see Operating System Support.

Time Synchronization Requirements

Self-Service Analytics benefits from time synchronization in your network. Specifically, it leverages Network Time Protocol (NTP), which performs time synchronization of networked servers to Coordinated Universal Time (UTC). If needed, read Use the Network Time Protocol to Synchronize Time for instructions on setting this up.

Java Requirements

You must have Java 21 installed to run and use Self-Service Analytics. Without it, your software will not start. After you have made any needed adjustments to your network configurations, return to this topic to continue the installation process. See How Self-Service Analytics Validates an Environment’s Java Version.

Step 2. Set Up Self-Service Analytics’s Metadata Store

Self-Service Analytics uses a standard PostgreSQL database instance to store its metadata. We strongly recommend using this instance as it is configured with the appropriate settings.
New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
To use your own or alternative PostgreSQL instance, contact insightsoftware Technical Support for further guidance. Read Install and Set Up Self-Service Analytics’s Metadata Store. Complete the setup instructions and then return to this topic to continue the manual installation of Self-Service Analytics on your server.

Step 3. Configure a Dedicated Directory

Before you can download the Self-Service Analytics installation packages onto your server, you need to create the Self-Service Analytics directory where the installation and property files are stored. After the directory is created, you need to create property files in that directory.

Create the Self-Service Analytics Directory

Create the following directory to store all Self-Service Analytics-related files:

Create the Default Self-Service Analytics Properties File

Create the default Self-Service Analytics properties file that contains the available variables and parameters related to Self-Service Analytics operation:

Create the Query Engine Properties File

Create the Self-Service Analytics query engine properties file that contains the available variables and parameters related to query engine operation:

Add the Default Metadata Parameters to the Appropriate Self-Service Analytics Properties File

  1. Add the following metadata store-related parameters in the newly-created zoomdata.properties file. Essentially, you are storing the username and password details for the metadata store in this property file.
  2. Add the following zoomdata-qe database metadata store-related parameters in the newly-created query-engine.properties file.
In each case, remember to save the files before exiting the editor.

Step 4. Download Dependencies and the Self-Service Analytics Installation Packages

Self-Service Analytics requires the following external dependencies for a successful installation: If you have not already received the Self-Service Analytics installation package, contact insightsoftware Technical Support to request it. In the request, be sure to include the Linux operating system version you are using (for example, CentOS).
If your server does not have internet access, you will need an internet-enabled computer to download the packages and then move them to the intended server.

Step 5. Obtain Download Instructions and Installation Packages

Contact your insightsoftware technical support representative and obtain download instructions for the Self-Service Analytics installation packages. Follow the instructions and download the installation packages, remembering to place them in the Self-Service Analytics directory on the target server. The following Self-Service Analytics components are included in your installation packages:
  • The Self-Service Analytics server
  • Connector microservices
  • Query Engine
For more information, see Supported Technologies Reference

Step 6. Install the Self-Service Analytics Server

Use the following command to install Self-Service Analytics in a CentOS environment:
Use the following command to install Self-Service Analytics in an Ubuntu environment:
Install this package before you complete Step 7 and Step 8. The commands in those steps enable and start every zoomdata service found on the server, including this one.

Step 7: Set Self-Service Analytics Microservices to Start Whenever the Server Boots

Microservices need to be set to automatically start whenever the server is started or rebooted. In a CentOS or an Ubuntu environment, run the following command:
Optionally, you can manually set up each microservice by running the following commands in CentOS and Ubuntu:

Step 8: Start the Microservices

The Self-Service Analytics microservices must be enabled. In a CentOS or an Ubuntu environment, run the following command:
Optionally, you can manually enable each microservice by running the following commands in CentOS and Ubuntu:

Step 9. Configure the Firewall

See Configure the Firewall for complete information.

Step 10. Identify the Self-Service Analytics IP Address

Read Identify the Self-Service Analytics IP Address for complete information.

Step 11. Access Self-Service Analytics

Read Access and Use Self-Service Analytics for more information.

Step 12. Complete Post-Installation Steps

Complete any post-installation actions needed for your environment. These include, but are not limited to:
  1. Enabling the Real-Time Sales demo data source
  2. Setting up the Screenshot microservice
See Post-Installation Options for more information and links to instructions.

Obtain the Installation Package Without Internet Access

New installations of Self-Service Analytics use PostgreSQL 16. If you are upgrading your environment to Self-Service Analytics, you can retain your existing PostgreSQL version.
If the target server for your Self-Service Analytics installation does not have Internet access, you can download the PostgreSQL repo package from another source and then transfer the files to the target server. Take the following steps to obtain the PostgreSQL repo package:
  1. Access the PostgreSQL website, navigate to the appropriate version of PostgreSQL section, and locate the correct repo package for your target server.
  2. Copy the link address of the PostgreSQL repo package. For example, right-click on the link and select the Copy Link Address option.
  3. Paste the copied link address into the following command line and execute it:
    This command needs to be run from a server containing the same OS version as the target server for the Self-Service Analytics installation.
  4. Run the following command line to download the dependencies for your selected PostgreSQL repo package:
  5. Transfer the PostgreSQL repo package to the target server.
  6. Run the PostgreSQL repo package from the target server.

Manually Install OpenJDK

Self-Service Analytics 26.3 and later runs on Java 21. When you perform a straightforward upgrade to this release, Java is updated automatically. Manually install OpenJDK
  1. Stop all Self-Service Analytics components (if any are running) before you install OpenJDK. See Stop Microservices.
  2. Run the following command on the installation machine. For JDK 21:
  3. Restart all Self-Service Analytics components. See Start Microservices.
In Windows environments, Self-Service Analytics installs a compatible JDK as part of the bootstrap installation. To install a system wide Java distribution, see https://www.java.com/en/download/help/windows_manual_download.html.
For information on how Self-Service Analytics validates the version of Java used in an environment, see How Self-Service Analytics Validates an Environment’s Java Version.

How Self-Service Analytics Validates an Environment’s Java Version

Self-Service Analytics determines which Java is being used in your environment while the microservices are starting. It evaluates your environment in the following sequence. The first Java executable in this sequence that meets minimum requirements is used and validation stops.
  1. The directory in the $JAVA_HOME environment variable path is evaluated to verify that it points to JRE/JDK and its $JAVA_HOME/bin/java path contains a valid Java executable that meets the minimum requirements.
  2. The /etc/environment file is parsed for its JAVA_HOME variable identifying the Java installation directory. This Java installation directory is then evaluated for a valid Java executable that meets the minimum requirements.
  3. The <install-path>/jre folder is evaluated for a valid Java executable that meets the minimum requirements.
  4. The directories listed in the $PATH environment variable are evaluated for a valid Java executable that meets the minimum requirements.
If a Java executable that meets the minimum requirements is not found in this process, an exception occurs and Self-Service Analytics is not started.

Use the Network Time Protocol to Synchronize Time

The Network Time Protocol daemon (NTPD) is a service that performs time synchronization of networked servers to Coordinated Universal Time (UTC). Using NTP helps mitigate the effects of network latency by synchronizing your network with accurate time servers. In addition, certain Self-Service Analytics functionalities benefit from having NTP in your network, including:
  • The connection between Self-Service Analytics server and the data sources (so that monitoring of data source performance and possible network latency issues can be done).
  • Authentication protocols (for example, Kerberos), which require precise time correspondence on all instances to work properly.
  • Scaled out deployments so that all nodes can have synchronized time.
  • Single Sign-On (via SAML), to avoid potential failure by the identity provider to authenticate SAML users.
Ideally, NTP should be installed prior to installing the Self-Service Analytics server. The steps below help you install the NTP service in your network. However, be sure to work with your network administrator to use the most appropriate time protocol service for your network environment.

Install NTP on RPM-Based Distributions

To install NTP on CentOS or RHEL, perform the following steps:
  1. Run the following command:
  2. Check that the service is up and running:

Install NTP on Ubuntu

To install NTP on Ubuntu, perform the following steps:
  1. Run the following commands:
  2. Check that the service is up and running:

Post-Installation Steps

If you install the NTP service after Self-Service Analytics has already been installed in your network, you should restart Self-Service Analytics service after NTP has been successfully installed:

Configure the Firewall

After you have successfully installed the Self-Service Analytics components onto your server, you need to configure the firewall. Configure iptables to accept port 8443 and to forward incoming HTTPS requests on port 443 to the Self-Service Analytics server port 8443. Note that the command lines may differ slightly depending on the Linux environment. Select the appropriate Linux environment below. These commands set up the firewall rules to the default eth0 network interface. If you want to apply them to another network interface, replace it in the commands below. If you want to apply the rules to all the interfaces, remove ‘-i eth0’ from the command line.

CentOS Commands

Ubuntu Commands

When prompted for input for the question of iptables-persistent, enter yes.

Windows Defender Firewall

See this best practices article: Best practices for configuring Windows Defender - Windows Security.

Configure the Maximum Number of Open Processes and Files

Configuring the maximum number of open processes and open files that can run in your operating environment keeps Self-Service Analytics processes from hitting or exceeding the resource limits that may be imposed by your operating system. Instructions are provided here for the following operating environments:

CentOS Instructions

If you are installing via RPM using CentOS or Red Hat, the recommended settings differ slightly. Because systemd is responsible for starting the various microservices, you need to amend the files and microservices that are launched so the limits.conf file is not ignored.
Create an override directory specifically for the microservices you want to override.
  1. Create a new systemd directory:
    Replace <servicename> with the microservice you need to override.
  2. The file name for the microservice you want to override needs to be in .conf, so use the following command:
For more information about managing microservices for Red Hat, see the Red Hat documentation. If Self-Service Analytics stops operating and you receive the error message too many files, cannot operate, you may need to increase the system limits in your CentOS or supported Ubuntu environments. Make the following changes:
  1. In the service.d folder for each microservice, open the limits.conf file. If the configuration file does not exist, this command creates it.
  2. Add the following to the file:
  3. Restart the init service:
  4. Restart the zoomdata microservice:
  5. Verify your changes were applied:
  6. In the output, you should see the following, indicating that your changes were applied:

Identify the Self-Service Analytics IP Address

After you have installed Self-Service Analytics and configured the firewall, you need to identify the Self-Service Analytics IP address so you can access Self-Service Analytics on your web browser. Record the IP address of the host where Self-Service Analytics is installed. To obtain the Self-Service Analytics IP address, enter the following command in a terminal window on the Self-Service Analytics server:
Make a note of this IP address. You will need it when you access Self-Service Analytics from a web browser.

Post-Installation Options

After the Self-Service Analytics environment has been installed in your server, the following configuration options are available to you:
ToRead
Add an SSL Certificate.
By default, Self-Service Analytics enables an http port. To enable https, you must add an SSL certificate to the Self-Service Analytics server.
Add an SSL Certificate
Disable SSL.Disable the SSL Certificate in Self-Service Analytics
Use SQL-based connectors.
Some SQL connectors require a JDBC driver to be configured before you can connect to your data source. You can download the driver from the vendor’s site. Be aware that you need to download and configure JDBC drivers for the following Self-Service Analytics connectors as soon as you complete the Self-Service Analytics installation:
Add a JDBC Driver
Configure Self-Service Analytics memory settings.Configure Memory Settings
Enable Self Service Reports and expand data export options.
Self service reports and expanded data export options are controlled by the Self Service Report microservice, and must be enabled in your environment if you want your users access these features.
Self Service Report Microservice
Use Self-Service Analytics’s sample data generator.Manage the Real Time Sales Demo Source

Add a JDBC Driver

For certain data sources, the JDBC drivers needed are no longer included in the installation package of Self-Service Analytics. You need to provide your own JDBC driver for the following data sources: The following Self-Service Analytics connectors are distributed with a JDBC driver, but you can download and install newer versions using the information in this topic: Snowflake. This approach allows you the flexibility to add a specific JDBC driver that meets your licensing, support policies or operational needs. As a result, in order to connect to and visualize data from Self-Service Analytics, you first need to download and install a JDBC driver.

Caveats

If the JDBC driver for the Self-Service Analytics connector is not configured, the connector server will not start and the connector cannot be enabled within Self-Service Analytics. See Manage Connectors and Connector Servers.

Install a JDBC Driver

To use any of the connectors listed above, perform the following steps to install the required JDBC driver after successful installation of Self-Service Analytics microservices:
  1. Download the required driver from the vendor’s site to the corresponding Self-Service Analytics instance. Place the required driver in the following folder:
    • Linux platforms: /opt/zoomdata/lib/edc-<connector_name>/.
    • Windows platforms: <install_path>\lib\edc-<connector_name>/. For example, place MySQL libraries for the default Self-Service Analytics path install in this folder: c:\logi-composer\lib\edc-mysql\ if Self-Service Analytics is installed in c:\logi-composer\.
      The truststore path passed as part of the JDBC url must only contain forward (/) slashes in Windows environments.
    If the folder does not exist, you need to create it in the location mentioned above. See the following table for resources for vendor’s JDBC drivers. Make sure that the Self-Service Analytics administrator has read-level access rights to the JDBC driver (JAR) file.
  2. Use the following command to access and open the property file:
    • Linux platforms: vi /etc/zoomdata/edc-<connector_name>.properties. If you are not logged in as a root user, enter sudo vi /etc/zoomdata/edc-<connector_name>.properties to create the desired file. If the properties file does not exist, this command creates it.
    • Windows platforms, using a text editor that can edit Windows property files: <install-path>\conf-modified\edc-<connector_name>.properties.
    Replace <connector_name> with the name of the connector you are configuring:
  3. In the edc-<connector_name>.properties file, add the following property:
    If you need to add multiple paths, use a comma-separated list:
  4. For MemSQL and MySQL connectors, add the following property to the property files:
  5. Save your changes to the properties file.
  6. Restart the corresponding connector by running the appropriate command:
    • For CentOS and Ubuntu: systemctl restart zoomdata-edc-<connector_name>
    • For Windows: PS C:\> Restart-Service -Name zoomdata-edc-<connector_name>
  7. Log in as the a member of the Supervisors group, access the Connectors page, and verify that the connector is enabled so it appears in the data source list. After the JDBC driver has been configured and the connector has been enabled, users with the correct access privileges can use the connector to connect to the data store in a data source configuration.