To set up Purplecube, user environment should be set up first. This article explains how to set up Windows and Linux environments for Purplecube installation.

Windows

On Windows Operating system, Purplecube Agent should be installed by a user with Administrator privileges. This is required to run Purplecube Agent as a part of Windows service. The default installation path for Agent installation is "C:\Purplecube".

Multiple Agents can be installed on same Windows machine by installing each instance of the Agent under different directories.

Linux

On Linux systems, Purplecube components should be installed by creating a dedicated user account. The dedicated user account should be used for installing, running configurations and maintaining updates of Purplecube components.

Multiple Controllers and Agents can be installed and maintained on same server as long as they are installed on different users.

Note: You are free to create the directories and dedicated user names of your own choice. However, the standard approach is mentioned in the commands given below and is recommended as best practice.

1. Create a directory "app" under root directory.

#mkdir /app

2. Create the group and add user to the group.

# groupadd Purplecube
# useradd -d /app/dictrl -g Purplecube dictrl

3. Set the password for username.

# passwd dictrl
Note: Make sure Java 1.8.x is installed on the server and is accessible to the user "dictrl".