Skip to main content
Pentaho Documentation

Prepare Your Linux and Mac Environment for Installation

Overview

some descriptive text here

Create the Pentaho User

Create a pentaho user account that has administrative privileges.  You will use this account to complete the rest of the installation instructions.

Make sure your users can write to the directory where you install Pentaho.

  1. Create an administrative user on computer that will host the DI Server and name it pentaho.
  2. Verify that you have the appropriate permissions to read, write, and execute commands in the pentaho user's home directory.

Create Linux Directory Structure

  1. Log into the machine on which you will run the BA Server. Make sure that you are logged in as the pentaho user.
  2. Create this directory path from home directory (pentaho).
    <your home directory>/pentaho/server/data-integration-server
    <your home directory>/.pentaho
    
  3. Verify that you have the appropriate permissions to read, write, and execute commands in the directories you created.

 

Install Java 

Install a supported version of Java.

  1. Check the Supported Technologies list to see which version of Java Pentaho supports.
  2. Download the supported version of the JRE or JDK from the Oracle site and install it. 

Install the Web Application Server

The DI Server can be deployed on either the Tomcat or JBoss web application server. By default, DI Server software is configured for Tomcat. This means that if you choose to use Tomcat, you will need to make fewer configuration changes than you would if you choose to use JBoss.

You must install the web application server yourself. If you already have a Tomcat or JBoss web application server installed and you want to deploy the DI Server on it, please skip this step.

  1. To download and install the web application software, use the instructions in the documentation for the web application server of your choice. We recommend that you install the web application server in the pentaho/server/data-integration-server directory.
  2. Verify the web application server is installed correctly by starting it and viewing the default page. If the web application server does not start, troubleshoot it using the web application server's documentation before you continue with the DI Server installation process.
  3. Stop the web application server.

Download and Unpack Installation Files

The Pentaho DI Server software, data files, and examples are stored in pre-packaged .zip files. You will need to manually copy these files to correct directories. 

  1. Download the following installation and plug-in files from the Pentaho Customer Support Portal in the archive build folder.
  • DI Server Installation File: pdi-manual-ee-6.1.0-dist.zip.
  1. Unzip the DI Server Installation file.
  2. To unpack the file, run install.sh​.  The IZPak window appears.

If you are unpacking the file in a non-graphical environment, open a Terminal or Command Prompt window and type java -jar installer.jar -console and follow the instructions presented in the window.​ 

  1. Read the license agreement, select I accept the terms of this license agreement, and click Next.
  2. In the Select the installation path text box, enter the place where you want to create the pentaho directory, then click Next.
  3. A message indicating that a target directory will be created appears.  Click OK.
  4. When the installation progress is complete click Quit.

Step 1: Put Files in Directories

  1. Navigate to the pentaho directory where you unpacked the files, unzip the zip files and place their contents in the appropriate directories listed below.
    File Unzip the Contents of the File to This Directory
    di-license-installer.zip pentaho/server
    di-jdbc-distribution-utility.zip pentaho/server
    di-pentaho-data.zip pentaho/server/data-integration-server
    di-pentaho-solutions.zip pentaho/server/data-integration-server
  2. Copy these files to the following directories.​
    File Copy Files to This Directory
    pentaho-di.war
    • Tomcat: pentaho/server/data-integration-server/<your tomcat installation directory>/webapps
    • JBoss: pentaho/server/data-integration-server/<your jboss installation directory>/standalone/deployments
    pentaho-style.war
    • Tomcat: pentaho/server/data-integration-server/<your tomcat installation directory>/webapps
    • JBoss: pentaho/server/data-integration-server/<your jboss installation directory>/standalone/deployments
    PentahoBIPlatform_OSS_Licenses.html pentaho/server/data-integration-server

Step 2: Verify Directory Structure

Verify that the files have been placed in the following places by comparing the following directory structure with yours.

If your web application server is not in the pentaho/server/data-integration-server directory, the pentaho-di.war and pentaho-style.war files should appear where you've chosen to install your web application server.

Tomcat File Locations:

  • <your home directory>/.pentaho
  • pentaho/server/license-installer
  • pentaho/server/license-installer/lib
  • pentaho/server/data-integration-server/<your tomcat installation directory>/webapps/pentaho-di.war
  • pentaho/server/data-integration-server/<your tomcat installation directory>/webapps/pentaho-style.war
  • pentaho/server/data-integration-server/data
  • pentaho/server/data-integration-server/pentaho-solutions

JBoss File Locations:

  • <your home directory>/.pentaho
  • pentaho/server/license-installer
  • pentaho/server/license-installer/lib
  • pentaho/server/data-integration-server/<your jboss installation directory>/standalone/deployments/pentaho-di.war
  • pentaho/server/data-integration-server/<your jboss installation directory>/standalone/deployments/pentaho-style.war
  • pentaho/server/data-integration-server/data
  • pentaho/server/data-integration-server/pentaho-solutions

Set Environment Variables

Set the PENTAHO_JAVA_HOME  and PENTAHO_INSTALLED_LICENSE_PATH environment variables. If you do not set these variables, Pentaho will not start correctly. 

If you are using a JRE, set the JRE_HOME home environment variable as well.

  1. Set the path of the PENTAHO_JAVA_HOME variable to the path of your Java installation, like this.
    export PENTAHO_JAVA_HOME=/usr/lib/jvm/java-7-sun
    
  2. Set the path of the PENTAHO_INSTALLED_LICENSE_PATH variable to the path of the installed licenses, like this.
    export PENTAHO_INSTALLED_LICENSE_PATH=/home/pentaho/.pentaho/.installedLicenses.xml
    
  3. Log out and in again, then verify the variables have been properly set.

Next Steps

You've finished preparing your environment.  Go to Configure Your Repository Database to continue.