Skip to main content
Pentaho Documentation

Prepare Your Linux and Mac Environment for Installation

Overview

Explains how to prepare your computers for installation.

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 the Pentaho suite.

  1. Create an administrative user on computer that will host the BA 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.

Install the BA Repository Host Database

The BA Repository houses data needed for Pentaho tools to provide scheduling and security functions.  The repository also stores metadata and models for reports that you create.  You can choose to host the BA Repository on these databases.

  • PostgreSQL
  • MySQL
  • Oracle
  • MS SQL Server

To install the BA Repository's host database, do these things.

  1. Check the Supported Technologies section to determine which versions of the databases Pentaho supports.
  2. Download and install the database of your choice. 
  3. Verify that the BA Repository database is installed correctly.

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.

Download and Unpack Installation Files

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

Step 1: Download Files

Download the following installation and plug-in files from the Pentaho Customer Support Portal in the archive build folder.

Component Zip File
BA Server Installation File biserver-ee-6.1.0-dist.zip
Dashboard Designer Plugin pdd-plugin-ee-6.1.0-dist.zip
Interactive Reporting Plugin pir-plugin-ee-6.1.0-dist.zip
Mobile Plugin pentaho-mobile-plugin-6.1.0-dist.zip
Pentaho Analyzer Plugin paz-plugin-ee-6.1.0-dist.zip
BA Operations Mart Files pentaho-operations-mart-6.1.0-dist.zip

Step 2: Unpack BA Server Installation File

  1. Unzip the BA Server Installation file.
  2. To unpack the file, run installer.sh.  The IZPak window appears.
  3. Read the license agreement, select I accept the terms of this license agreement, and click Next.
  4. In the Select the installation path text box, enter the place where you want to create the pentaho directory, then click Next.
  5. A message indicating that a target directory will be created appears.  Click Yes.
  6. When the installation progress is complete, click Quit.
  7. Navigate to the pentaho directory and create a server subdirectory.
  8. Move the biserver-ee directory into the server directory.  When you are finished, the directory structure should look like this:
    • pentaho/jdbc-distribution
    • pentaho/license-installer
    • pentaho/server/biserver-ee

Step 3: Unpack Plugin Files

  1. ​Unzip the file.
  2. Unpack the file by running install.sh.
  3. In the IZPack window read the license agreement, select I accept the terms of this license agreement, then click Next.
  4. In the Select the installation path text box, save the file in the pentaho/server/biserver-ee/pentaho-solutions/system directory, then click Next.
  5. A warning message appears.  Click Yes.
  6. When the installation finishes, click Quit.

Step 4: Unpack Operations Mart DDL Files

  1. ​Unzip the file.
  2. Unpack the file by running install.sh.
  3. In the IZPack window read the license agreement, select I accept the terms of this license agreement, then click Next.
  4. In the Select the installation path text box, save the file in the pentaho/server/biserver-ee/data directory, then click Next.
  5. A warning message appears.  Click Yes.
  6. When the installation finishes, click Quit.
  7. Remove all of the files except the pentaho-operations-mart-ddl-6.1.0.zip file.
  8. Unzip the pentaho-operations-mart-ddl-6.1.0.zip file.  Move the directory for your database into pentaho/server/biserver-ee/data/<database name>.  Delete the others.
If your BA Repository is On:  Copy this directory into pentaho/server/biserver-ee/data/
PostgreSQL postgresql
MySQL mysql5
Oracle oracle10g
MS SQL Server sqlserver

Step 5: Verify Directory Structure

After you have finished unpacking all of the plugin and pentaho operations mart files, the pentaho directory structure should contain these subdirectories.

  • pentaho/server/biserver-ee/pentaho-solutions/system/analyzer
  • pentaho/server/biserver-ee/pentaho-solutions/system/dashboards
  • pentaho/server/biserver-ee/pentaho-solutions/system/pentaho-interactive-reporting
  • pentaho/server/biserver-ee/pentaho-solutions/system/pentaho-mobile-plugin
  • pentaho/server/biserver-ee/
  • pentaho/server/biserver-ee/data/<database name>

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 your 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.