For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install Pentaho Server

Installation of Pentaho Server components ..

Pentaho Server Installation

This section will guide you through the installation of the Pentaho Server:

  • create installation directories

  • create Pentaho Repository databases

  • configure JDBC database connections

  • start Pentaho server - systemd

  • license manager

Pentaho Pro Suite

Pentaho Server Directories

The Pentaho server is a web application that runs in an Apache Tomcat servlet container.

  1. Create /opt/pentaho server directories.

  1. Create /opt/pentaho/software sub-directories.


Unpack Pentaho Server Packages

The jar command is a general-purpose archiving and compression tool, based on ZIP and the ZLIB compression format.

x - Extract files from a JAR archive

f - Sets the file specified by the jarfile operand to be the name of the JAR file that is created

  1. Copy Pentaho server package.

  1. Unjar pentaho-server-ee-10.2.0.0-222.zip to /opt/pentaho/server/

  1. Change the permission for all .sh files.

All .sh files will need executable permission.

  1. Check that it matches the following directory structure:

/opt/pentaho/

server/

pentaho-server/

pentaho-solutions/

system

The server plugins are installed into the system folder.

Pentaho Repository

  1. Examine postgresql database scripts.

For this workshop we're going to keep the defaults user and password.

  1. Examine postgresql database scripts.

  1. Exit.


Change Authentication Mode

  1. Edit pg_hba.conf.

  1. Replace 'peer' for local connection with 'md5'.

Change from peer to md5

The MD5 (message-digest algorithm) hashing algorithm is a one-way cryptographic function that accepts a message of any length as input and returns as output a fixed-length digest value to be used for authenticating the original message.

  1. Save.

  1. Restart service.

Run SQL Scripts

You will find SQL scripts for each supported Repository database:

  • PostgreSQL

  • Oracle

  • MS Sql Server

  • MySQL

  • MariaDB

  1. Check postgresql repository is running.

  1. Select postgresql scripts directory.

  1. Log in as 'pentaho' superuser.

💡The default password for each user: password

💡You can switch database in PostgreSQL with the command: \c

Script
Database
User / Password

\i create_jcr_postgresql.sql

Jackrabbit

\i create_quartz_postgresql.sql

Quartz

pentaho_user/password

\i create_repository_postgresql.sql

Hibernate

\i pentaho_mart_postgresql.sql

OpsMart

hibuser/password

\i pentaho_logging_postgresql.sql

Logging

hibuser/password

  1. Execute the scripts.

Enter password:

Quit:

Log back in as 'pentaho' superuser.

Enter password:

Quit:

Log back in as 'pentaho' superuser.

Enter password:

Quit:

  1. Check the databases in pgAdmin.

Pentaho Repository databases

Pentaho Repository

Now that you have initialized your repository database, you will need to configure Quartz, Hibernate, Jackrabbit, and Pentaho Operations Mart for a PostgreSQL database.

PostgreSQL is configured by default; if you kept the default passwords and port, you will not need to set up Quartz, Hibernate, Jackrabbit or the Pentaho Operations Mart.


Quartz

Event information, such as scheduled reports, is stored in the Quartz JobStore. During the installation process, you must indicate where the JobStore is located by modifying the quartz.properties file.

  1. Navigate to quartz directory.

  1. Locate the #_replace_jobstore_properties section and check.

  1. Locate the # Configure Datasources section and check.

  1. Exit.


Hibernate

Modify the Hibernate settings file to specify where Pentaho should find the Pentaho Repository’s Hibernate configuration file. The Hibernate configuration file specifies driver and connection information, as well as dialects and how to handle connection closes and timeouts.

The Hibernate database is also where the Pentaho Server stores the audit logs that act as source data for the Pentaho Operations Mart.

  1. Navigate to hibernate-settings directory.

  1. Locate the config-file section and check.

  1. Exit.

  1. Display postgresql.hibernate.cfg.xml.

  1. Check postgresql has been set as default.

  1. Exit.


Jackrabbit

Apache Jackrabbit is a platform of java open source content repository. A JCR (Java content repository) is a type of object database to customizing, storing, searching and retrieving hierarchical data.

As shown in the table below, locate and verify or change the code so that the PostgreSQL lines are not commented out, but the MySQL, Oracle, and MS SQL Server lines are commented out.

If you have a different port or different password, make sure that you change the password and port number in these examples to match the ones in your configuration.

  1. Navigate to jackrabbit directory.

Line #
Section
Check

line 71/442

Repository

Filesystem schema: postgresql

line 129/442

Datastore

databaseType: postgresql

line 231/442

Workspace

Filesystem schema: postgresql

line 279/442

Persistence Manager (1)

PersistenceManager schema: postgesql

line 347/442

Versioning

Filesystem schema: postgresql

line 398/442

Persistence Manager (2)

PersistenceManager schema: postgesql

line 434/442

Database Journal

Journal schema: postgresql

  1. Exit.

Tomcat

After your Repository has been configured, you must configure the web application servers to connect to the Pentaho Repository. In this step, you will make JDBC and JNDI connections to the Hibernate, Jackrabbit, and Quartz components.

Database Drivers

For this workshop we're going to distribute a MySQL driver ..

  1. Copy the JDBC drivers to jdbc-distribution.

  1. Distribute the drivers.

Location of JDBC drivers in Pentaho+:

Server / Design Tool
Directory

Pentaho Server

/server/pentaho-server/tomcat/lib

Pentaho Data Integration (Spoon)

/design-tools/data-integration/lib

Pentaho Report Designer (PRD)

/design-tools/report-designer/lib/jdbc

Pentaho Aggregation Designer (PAD)

/design-tools/aggregation-designer/drivers

Pentaho Schema Workbench (PSW)

/design-tools/schema-workbench/drivers

Pentaho Metadata Editor (PME)

/design-tools/metadata-editor/libext/JDBC

context.xml

Database connection and network information, such as the username, password, driver class information, IP address or domain name, and port numbers for your Pentaho Repository database are stored in the context.xml file.

  1. Check context.xml.

  1. Exit.

Start Server

Now that you have completed the initial Pentaho Archive installation steps, you are ready to start the Pentaho Server.

  1. Switch to pentaho-server directory.

  1. Tail the log (new terminal).


Pentaho User Console

The Pentaho User Console (PUC) is a web-based design environment where you can analyze data, create interactive reports, dashboard reports, and build integrated dashboards to share business intelligence solutions with others in your organization and on the internet.

Link to Pentaho Server
Pentaho User Console

Systemd

Systemd is a system and service manager for Linux operating systems. It's designed to be backwards compatible with SysV init scripts, and provides several features to start system services in parallel, which can reduce boot times.

To use this service:

  1. Save the file below as: /etc/systemd/system/pentaho-server.service

  1. Reload the systemd daemon.

  1. Start the service.

  1. Enable the service to start on boot.

You can then manage the service using standard systemd commands:

To stop:

To restart:

To check status:

Licensing

Trial license

You can obtain a Pentaho trial license to test the product before you acquire it. You need internet access to activate a trial license and run the installed trial version. It is not possible to run it for an extended period of time while disconnected from internet.

The temporary license expires thirty days after the start of the evaluation period.

  1. To request a trial activation ID, go to the Pentaho Enterprise download page. Alternatively, contact the Pentaho Sales team.

  2. On the download page, click Start a Free 30 Day Trial to open the trial registration form.

  3. Complete the trial registration form and click Submit. The trial entitlement and activation ID is sent to you by email.

  4. Download and install the Pentaho product. When launching the product, the Add License window opens.

License Manager
  1. Select Activation Code.

  2. Copy the activation ID that you received from the local license manager, paste it into the provided field, and click OK

Trial license - activation code

Enterprise licenses

Activate a license using a cloud license server

If you are able to access our cloud license server without any security restrictions, this is the quickest way to get up and running with Pentaho.

Copy the cloud license server URL that Pentaho emails you into the License Server field of the Add License dialog box that opens when you launch the product and click OK.

Set ENV License Path

To ensure that the Pentaho Server uses the same location to store and retrieve your Pentaho licenses, you must create a PENTAHO_LICENSE_INFORMATION_PATH system environment variable for your Pentaho user account if it does not exist. It does not matter what location you choose; however, the location needs to be available to the user account(s) that run the Pentaho Server.

Perform the following steps to set the environment variable for the license path in Linux.

  1. Edit the /etc/environment file.

  1. Add this line in a convenient place (changing the path if necessary)

The license information file is saved in the /home/pentaho/.pentaho folder.

  1. Log out and log back into the operating system for the change to take effect.

  2. Verify that the variable is properly set using the following command.

The PENTAHO_LICENSE_INFORMATION_PATH variable is now set.

Last updated

Was this helpful?