Prepare your Linux environment for a manual installation
Legacy page. Content moved to the main topic.
This page is kept for existing links. Go to Manual installation process.
This guide helps you prepare your Linux environment for a manual installation. Manual installation deploys the Pentaho Server to your own supported web application server (for example, Tomcat).
If you prefer an installation that includes a bundled web application server, see Archive installation.
Process overview
If you already installed a supported web application server, skip Install your web application server.
Create the Pentaho user
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: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 the supported Java version.
Download and install the supported JRE or JDK.
Set
JAVA_HOMEto your Java installation directory.Example:
Install your web application server
If you plan to deploy Pentaho on your own Tomcat server, install Tomcat first.
If you already have a supported Tomcat installed, skip this section.
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
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.
You might need to select See all <number> articles to see all downloads.
In Pentaho Server/Manual Build (No Web Application Server), download:
pentaho-server-manual-ee-11.0.0.0-<build number>.zip
In 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-server
Unpack
pentaho-operations-mart-11.0.0.0-<build number>.zip.Move its contents to:
/pentaho/server/pentaho-server
In
/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
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
If you do not set the required *_HOME environment variables, Pentaho may not start correctly.
Set
PENTAHO_JAVA_HOMEto your Java installation path.Example:
(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.
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
After you finish preparing your environment, initialize and configure your Pentaho Repository.
Select the database you are using:
Last updated
Was this helpful?

