Step 1: Prepare your environment
Prepare your Windows or Linux environment for a manual installation of Pentaho by completing the tasks for that environment:
Preparing a Windows environment for manual installation
Prepare a Windows environment for a manual installation by completing the following tasks, in order:
Create Windows folder structure
Sign in to the machine where you will run Pentaho Server.
Create the folder path. (For example,
pentaho\server\pentaho-server).Verify you have permission to read, write, and run commands in these directories.
Verify users can write to the folder where you install Pentaho.
Install Java on Windows
Pentaho requires a supported Java version.
Check Components Reference for supported Java versions.
Download a supported JRE or JDK from the Oracle website and install it.
Set
JAVA_HOMEto your Java install folder.
Example: set JAVA_HOME="C:\Program Files\Java\jdk11.x.x.x"
Install your web application server
If you want to deploy Pentaho Server to your own Tomcat web application server, install Tomcat first.
Check Components Reference for supported Tomcat versions.
Install the web application server by following the vendor’s documentation. Pentaho recommends installing Tomcat in
pentaho\server\pentaho-server.Start the web application server and verify the default page loads.
Stop the web application server.
Install the Pentaho Repository host database on Windows
The Pentaho Repository stores data used for scheduling and security. It also stores metadata and models for reports.
Choose and install a database to host the Pentaho Repository. Pentaho supports the following databases:
PostgreSQL
MySQL
MariaDB
Oracle
MS SQL Server
Check Components Reference for supported database versions.
Install the database.
Verify the database starts and you can connect to it.
Download and unpack installation files in Windows
Download the compressed installation files. Then unpack them into the correct directories.
Download files in Windows
Sign in to the Support Portal using the credentials from your Pentaho Welcome Packet.
In the Pentaho card, select Download.
On the 11.x page, select Pentaho 11.0 GA Release.
Scroll to the bottom of the Pentaho 11.0 GA Release page.
In the file component section, go to
Pentaho Server\Manual Build (No Web Application Server).Download
pentaho-server-manual-ee-11.0.0.0-<build number>.zip.In the file component section, go back to
11.0.0.0-GA.Open the
Operations Martfolder.Download
pentaho-operations-mart-11.0.0.0-<build number>.zip.
Unpack installation files in Windows
Locate the two files you downloaded:
pentaho-server-manual-ee-11.0.0.0-<build number>.zippentaho-operations-mart-11.0.0.0-<build number>.zip
Unpack
pentaho-server-manual-ee-11.0.0.0-<build number>.zip. Move the contents to\pentaho\server\pentaho-server.Unpack
pentaho-operations-mart-11.0.0.0-<build number>.zip. Move the contents to\pentaho\server\pentaho-server.In
\pentaho-server, open\pentaho-server-manual-ee.Unpack these ZIP files and move the contents to the correct directories:
File to unpackFolder where you move the file contentslicense-installer.zippentaho\serverjdbc-distribution-utility.zippentaho\serverpentaho-data.zippentaho\server\pentaho-serverpentaho-solutions.zippentaho\server\pentaho-serverCopy the
.warand.htmlfiles to these directories:FileDirectories that you copy the file intopentaho.warpentaho\server\pentaho-server\<tomcat installation folder>\webappspentaho-style.warpentaho\server\pentaho-server\<tomcat installation folder>\webappsPentahoServer_OSS_Licenses.htmlpentaho\server\pentaho-server
Verify folder structure in Windows
Verify the files are placed correctly. Your
pentahofolder should include:pentaho\server\pentaho-server\pentaho\server\pentaho-server\data\<database name>
If your web application server is installed outside
pentaho\server\pentaho-server, verify:pentaho.waris in your web application server’swebappsfolder.pentaho-style.waris in your web application server’swebappsfolder.
Set environment variables in Windows
If you do not set the required environment variables, Pentaho might not start.
Set
PENTAHO_JAVA_HOMEto your Java installation folder:SET PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk11.x.x.x(Optional) If you are using a JRE, also set
JRE_HOME.Sign out and sign in again. Then verify the variables are set:
ECHO %PENTAHO_JAVA_HOME%
After you finish preparing your environment, go to Step 2: Prepare your Pentaho Repository.
Prepare your Linux environment for a manual installation
Prepare a Linux environment for a manual installation by completing the following tasks, in order:
Create the Pentaho user in Linux
Create a user account with administrative privileges. You will use it for the remaining steps.
Create an administrative user on the server and name it
pentaho.Verify the
pentahouser can read, write, and execute in its home directory.Verify users can write to the directory where you install Pentaho.
Create Linux directory structure
Choose an installation path. Pentaho recommends this directory structure.
Sign in to the machine where you will run the Pentaho Server.
Make sure you are signed in as the
pentahouser.Create these directories under the
pentahouser’s home directory:<your home directory>/pentaho/server/pentaho-server <your home directory>/.pentahoVerify you have read, write, and execute permissions for the directories you created.
Install Java on Linux
Pentaho requires a supported Java version.
Check Components Reference for the supported Java version.
Download and install the supported JRE or JDK.
Set
JAVA_HOMEto your Java installation directory. Example:export JAVA_HOME=/usr/lib/jvm/jdk11.x.x.x
Install your web application server
If you plan to deploy Pentaho on your own Tomcat server, install Tomcat first.
Check Components Reference for the supported Tomcat version.
Install your web application server, following its vendor documentation.
Start the web application server and verify you can reach the default page.
Stop the web application server.
Install the Pentaho Repository host database on Linux
The Pentaho Repository stores data used for scheduling and security. It also stores metadata and models for reports.
Choose a supported database type:
PostgreSQL
MySQL
MariaDB
Oracle
MS SQL Server
Check Components Reference for supported database versions.
Install the database you selected.
Verify the database is installed and running.
Download and unpack installation files
Pentaho Server and Operations Mart are delivered as compressed files. Download them, unpack them, then copy the contents to the correct directories.
Download files
Sign in to the Support Portal using the credentials in your Pentaho Welcome Packet.
In the Pentaho card, select Download.
In the 11.x list, select Pentaho 11.0 GA Release.
In Pentaho Server/Manual Build (No Web Application Server), download:
pentaho-server-manual-ee-11.0.0.0-<build number>.zipIn Operations Mart, download:
pentaho-operations-mart-11.0.0.0-<build number>.zip
Unpack installation files
Unpack
pentaho-server-manual-ee-11.0.0.0-<build number>.zip.Move its contents to:
/pentaho/server/pentaho-serverUnpack
pentaho-operations-mart-11.0.0.0-<build number>.zip.Move its contents to:
/pentaho/server/pentaho-serverIn
/pentaho-server, go to/pentaho-server-manual-ee.Unpack these ZIP files and move their contents as shown:
license-installer.zip→pentaho/serverjdbc-distribution-utility.zip→pentaho/serverpentaho-data.zip→pentaho/server/pentaho-serverpentaho-solutions.zip→pentaho/server/pentaho-server
Copy these files to your web application server:
pentaho.war→pentaho/server/pentaho-server/<tomcat installation directory>/webappspentaho-style.war→pentaho/server/pentaho-server/<tomcat installation directory>/webappsPentahoServer_OSS_Licenses.html→pentaho/server/pentaho-server
Verify directory structure in Linux
Verify these directories exist:
pentaho/server/pentaho-server/pentaho/server/pentaho-server/data/<database name>
If your web application server is not under
pentaho/server/pentaho-server, verify you copied the WAR files to your chosen<tomcat installation directory>/webappsdirectory.
Set environment variables in Linux
If you do not set the required *_HOME environment variables, Pentaho may not start correctly.
Set
PENTAHO_JAVA_HOMEto your Java installation path. Example:export PENTAHO_JAVA_HOME=/usr/lib/jvm/java-11-oracle(Optional) If you are using a JRE, also set
JRE_HOME.Sign out and sign back in, then verify the variables are set.
Review advanced Linux considerations
Some headless server scenarios need extra configuration:
A system with no video card
A system with a video card but no X server installed
In some environments (especially without a video card), you might need both procedures to generate reports.
Linux systems without video cards
Add -Djava.awt.headless=true to CATALINA_OPTS in your application server startup scripts.
Example:
export CATALINA_OPTS="-Djava.awt.headless=true -Xms4096m -Xmx6144m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"If you create a service control script, add the same parameter to its CATALINA_OPTS.
Linux systems without X11
Chart generation requires X11 functions.
If you cannot install an X server, install Xvfb instead. Xvfb emulates X11 in memory.
Install Xvfb using your operating system’s package manager.
After you finish preparing your environment, go to Step 2: Prepare your Pentaho Repository.
Last updated
Was this helpful?

