Prepare your Linux environment for an archive install
This guide helps you prepare your Linux environment for an archive installation.
Archive installation includes a bundled Tomcat web application server.
For installation of the Pentaho Server on an existing web application server, see Manual installation.
Process overview
Create the Pentaho user
Create a user account with administrative privileges.
You will use this account for the remaining steps.
Create an administrative user on the server and name it
pentaho.Verify the
pentahouser can read, write, and run commands 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 under the pentaho user’s home directory:
Sign in to the machine where you will run the Pentaho Server.
Make sure you are signed in as the
pentahouser.Create these directories:
Verify you have read, write, and execute permissions for the directories you created.
Install Java
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
JAVA_HOMEto your Java installation directory.
Example:
Install the Pentaho Repository host database
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:
PostgreSQL
MySQL
MariaDB
Oracle
MS SQL Server
Check Components Reference for supported database versions.
Install the database you selected.
Verify the database is installed correctly.
Download and unpack installation files
Pentaho Server and Operations Mart are delivered as compressed files.
Download them, unpack them, then move their contents to the correct directories.
Download files
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 Martfolder.Download
pentaho-operations-mart-11.0.0.0-<build number>.zip.
Unpack installation files
Locate the two files you downloaded:
pentaho-server-ee-11.0.0.0-<build number>.zippentaho-operations-mart-11.0.0.0-<build number>.zip
Unpack
pentaho-server-ee-11.0.0.0-<build number>.zipinto the/pentaho/serverdirectory.Unpack
pentaho-operations-mart-11.0.0.0-<build number>.zipinto the/pentaho/serverdirectory.Move the directory for your database into
pentaho/server/pentaho-server/data/<database name>. Delete the others.
Use these directory names:
PostgreSQL →
postgresqlMySQL →
mysql5Oracle →
oracle10gMS SQL Server →
sqlserver
Complete the steps for installing Data Integration Operations Mart in the Administer Pentaho Data Integration and Analytics document before installing your database.
Verify directory structure
Verify the files are placed correctly.
Your pentaho directory should include:
pentaho/server/pentaho-server/pentaho/server/pentaho-server/data/<database name>
Set environment variables
If you do not set the required *_HOME environment variables, Pentaho might not start correctly.
Set
PENTAHO_JAVA_HOMEto your Java installation directory:
(Optional) If you are using a JRE, also set
JRE_HOME.Sign out and sign back in, then verify the variables are set.
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.
Systems without video cards
Add -Djava.awt.headless=true to CATALINA_OPTS in your application server startup scripts.
Do this before you start Pentaho Server the first time.
Startup can fail if any environment variable value is invalid. Double-check settings after edits.
Example:
If you create a service control script, add the same parameter to its CATALINA_OPTS.
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.
Prepare your Pentaho Repository
Once you finish preparing your environment, initialize and configure the Pentaho Repository.
Select the database you are using:
Last updated
Was this helpful?

