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.

cd
sudo mkdir -p /opt/pentaho/{server,software}
* server        - server zip packages
* software      - Pentaho binaries
  1. Create /opt/pentaho/software sub-directories.

cd
cd /opt/pentaho/software
sudo mkdir -p {server,shims,ee-plugins,db_drivers}
* server       - server binaries
* shims        - collections of Hadoop libraries required to communicate with a specific version of Hadoop
* ee-pligins   - pentaho ee-plugins
* db_drivers   - database drivers

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.

cd
cd ~/Downloads/'Archive Build (Suggested Installation Method)'/
sudo cp * /opt/pentaho/software/server
  1. Unjar pentaho-server-ee-10.2.0.0-222.zip to /opt/pentaho/server/

cd
cd /opt/pentaho/server
sudo jar -vxf /opt/pentaho/software/server/pentaho-server-ee-10.2.0.0-222.zip
  1. Change the permission for all .sh files.

All .sh files will need executable permission.

cd
cd /opt/pentaho/server
sudo find . -iname "*.sh" -exec bash -c 'chmod +x "$0"' {} \;
find [obvious!]
.        - from this folder. You can put a path instead
-iname   - case insensitive name
"*.sh"   - wildcard filename
-exec    - utility to execute commands
bash     - what tool you want to use (you can use sh instead)
-c flag means execute the following command as interpreted by this program.
chmod +x - command to change the file to executable
"$0"     - The value that was passed to the utility
{}       - If the string {} appears anywhere in the utility name or the arguments it is replaced by the pathname of the current file.
;        - Terminates the command
  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.

Last updated

Was this helpful?