Step 1: Prepare your environment
Last updated
Was this helpful?
Prepare your Windows or Linux environment for an archive installation of Pentaho by completing the tasks for that environment:
Prepare a Windows environment for an archive installation by completing the following tasks, in order:
Pentaho requires a supported Java version.
Check the Components Reference for supported Java versions.
Download and install the supported JRE or JDK from the Oracle website.
Set the JAVA_HOME environmental variable to point to your Java installation folder by running the following command:
set JAVA_HOME="C:\\Program Files\\Java\\<JDK_FOLDER>"The Pentaho Repository stores data used for scheduling and security. It also stores metadata and models for reports.
Choose a database to host the Pentaho Repository. Pentaho supports the following databases:
PostgreSQL
MySQL
MariaDB
Oracle
MS SQL Server
Check the Components Reference for the supported version of your selected database.
Install the selected database.
Verify the database is installed correctly.
Pentaho Server and Operations Mart are delivered as compressed files. Installing them requires downloading the files, unpacking them, and placing their contents in the appropriate directories.
Sign in to the Support Portal using the credentials from your Pentaho Welcome Packet.
In the Pentaho card, select Download.
In the 11.x list, select Pentaho 11.0 GA Release.
You might need to select See all <number> articles to see the full list of 11.x downloads.
Scroll to the bottom of the Pentaho 11.0 GA Release page.
In the file component section, go to Pentaho Server\\Archive Build (Suggested Installation Method).
Download pentaho-server-ee-11.0.0.0-<build number>.zip.
In the file component section, go back to 11.0.0.0-GA.
Open the Operations Mart folder.
Download pentaho-operations-mart-11.0.0.0-<build number>.zip.
Locate the two files you downloaded:
pentaho-server-ee-11.0.0.0-<build number>.zip
pentaho-operations-mart-11.0.0.0-<build number>.zip
Unpack pentaho-server-ee-11.0.0.0-<build number>.zip into the \\pentaho\\server folder.
Unpack pentaho-operations-mart-11.0.0.0-<build number>.zip into the \\pentaho\\server folder.
Move the folder for your database into the pentaho\\server\\pentaho-server\\data\\<database name> folder. Use one of the following folder names for your database:
PostgreSQL → postgresql
MySQL or MariaDB → mysql5
Oracle → oracle10g
MS SQL Server → sqlserver
Delete the other database folders.
Complete the steps for installing Data Integration Operations Mart in the Administer Pentaho Data Integration and Analytics document before installing your database.
Verify that the files are placed in the correct folders.
Your pentaho folder should include the following paths:
pentaho\\server\\pentaho-server\\
pentaho\\server\\pentaho-server\\data\\<database name>
If you do not set the required *_HOME environment variables, Pentaho might not start correctly.
Set PENTAHO_JAVA_HOME to your Java installation directory by running the following command:
set PENTAHO_JAVA_HOME="C:\\Program Files\\Java\\<JDK_FOLDER>"(Optional) If you are using a JRE, also set JRE_HOME.
Sign out, sign back in, and then verify the variables are set by running the following command:
echo %PENTAHO_JAVA_HOME%After you finish preparing your environment, go to Step 2: Set up the Pentaho Repository.
Prepare a Linux environment for an archive installation by completing the following tasks, in order:
Create a user account with administrative privileges to use for preparing your Linux environment.
Create an administrative user on the server and name it pentaho.
Verify the pentaho user can read, write, and run commands in its home directory.
Verify users can write to the directory where you install Pentaho.
Pentaho requires a supported Java version.
Check Components Reference for supported Java versions.
Download and install the supported JRE or JDK from the Oracle website.
Set the JAVA_HOME environmental variable to point to your Java installation folder by running the following command:
export JAVA_HOME=/usr/lib/jvm/jdk11.x.x.xThe Pentaho Repository stores data used for scheduling and security. It also stores metadata and models for reports.
Choose a database to host the Pentaho Repository. Pentaho supports the following databases:
PostgreSQL
MySQL
MariaDB
Oracle
MS SQL Server
Check the Components Reference for the supported version of your selected database.
Install the selected database.
Verify the database is installed correctly.
Pentaho Server and Operations Mart are delivered as compressed files. Installing them requires downloading the files, unpacking them, and placing their contents in the appropriate directories.
Sign in to the Support Portal using the credentials from your Pentaho Welcome Packet.
In the Pentaho card, select Download.
In the 11.x list, select Pentaho 11.0 GA Release.
You might need to select See all <number> articles to see the full list of 11.x downloads.
Scroll to the bottom of the Pentaho 11.0 GA Release page.
In the file component section, go to Pentaho Server/Archive Build (Suggested Installation Method).
Download pentaho-server-ee-11.0.0.0-<build number>.zip.
In the file component section, go back to 11.0.0.0-GA.
Open the Operations Mart folder.
Download pentaho-operations-mart-11.0.0.0-<build number>.zip.
Locate the two files you downloaded:
pentaho-server-ee-11.0.0.0-<build number>.zip
pentaho-operations-mart-11.0.0.0-<build number>.zip
Unpack pentaho-server-ee-11.0.0.0-<build number>.zip into the /pentaho/server directory.
Unpack pentaho-operations-mart-11.0.0.0-<build number>.zip into the /pentaho/server directory.
Move the directory for your database into pentaho/server/pentaho-server/data/<database name>. Use one of the following folder names for your database:
PostgreSQL → postgresql
MySQL or MariaDB → mysql5
Oracle → oracle10g
MS SQL Server → sqlserver
Delete the other database folders.
Complete the steps for installing Data Integration Operations Mart in the Administer Pentaho Data Integration and Analytics document before installing your database.
Verify that the files are placed in the correct directories.
Your pentaho directory should include the following paths:
pentaho/server/pentaho-server/
pentaho/server/pentaho-server/data/<database name>
If you do not set the required *_HOME environment variables, Pentaho might not start correctly.
Set PENTAHO_JAVA_HOME to your Java installation directory:
export PENTAHO_JAVA_HOME=/usr/lib/jvm/java-11-oracle(Optional) If you are using a JRE, also set JRE_HOME.
Sign out, sign back in, and then verify the variables are set.
Some headless server configurations require additional setup, including:
Linux systems without a video card
Linux systems with a video card but no X server installed
In some environments, especially systems without a video card, you might need to complete both procedures to generate reports.
Important: Startup can fail if any environment variable value is invalid. Double-check settings after edits.
Before you start Pentaho Server for the first time, add the following parameter to CATALINA_OPTS in your application server startup scripts: -Djava.awt.headless=true
-Djava.awt.headless=trueExample:
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.dits.
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: Set up the Pentaho Repository.
Last updated
Was this helpful?
Was this helpful?

