Ubu: 3. Install Graphlytic

Install Graphlytic

Graphlytic application will be started with the user 'graphlytic'. Create this user with home directory (home directory is used by neo4j drivers to store known hosts <home>/.neo4j/known_hosts):

$ sudo useradd -m graphlytic
$ sudo usermod -L graphlytic

Copy the Graphlytic installation package "graphlytic-<version>.tar.gz" into the /tmp/ directory.

Create the installation directory and change the owner of the directory:

$ sudo mkdir -p /usr/share/graphlytic /var/log/graphlytic
$ sudo chown -R graphlytic:graphlytic /usr/share/graphlytic /var/log/graphlytic

Copy the installation package and unpack it:

$ sudo su graphlytic
graphlytic:$ cp /tmp/graphlytic-<version>.tar.gz /usr/share/graphlytic
graphlytic:$ cd /usr/share/graphlytic
graphlytic:$ tar zxvf graphlytic-<version>.tar.gz

Make the run script executable:

graphlytic:$ chmod a+x /usr/share/graphlytic/bin/graphlyticc

Configure Graphlytic

Graphlytic's configuration is stored in the "conf/graphlytic.conf" file.

The configuration contains (among other options):

  • Location of important directories like logs, custom icons, and widgets.

  • Default Neo4j Bolt connection.

  • Default SMTP connection.

  • Default password strength.

  • Branding options.

For all options and examples of how to use them please refer to Configuration.

To configure Graphlytic run this command (this is an optional step):

vi /usr/share/graphlytic/conf/graphlytic.conf

HTTP vs. HTTPS configuration

To change the starting script's configuration run this command (this is an optional step):

graphlytic:$ vi /usr/share/graphlytic/bin/graphlyticc

Edit the starting script file to use HTTP or HTTPS (or both) for connecting to the Graphlytic web application. This is an optional step (default config is HTTP and HTTPS both enabled).

#!/bin/sh
 
# use this script to start GL from console
 
# disable or enable HTTP/HTTPS. To disable comment od remove line
#HTTP_PORT=8080
HTTPS_PORT=8443