Step 3: Configure and start the Pentaho Server after manual installation
How you configure and start the Pentaho Server after a manual installation depends on your OS.
Configure the Pentaho Server on Windows
Complete these steps to configure the Pentaho Server on Windows.
Modify the Tomcat startup script
The Tomcat startup script must include:
CATALINA_OPTS(Java options, including memory)DI_HOME(required for PDI components)The license file location
Copy all
.jarfiles from:
<pentaho_install_dir>\pentaho-server\pentaho-solutions\native-lib\win64
To:
<tomcat_webapps_dir>\pentaho\WEB-INF\lib
Add the
LIBPATHvariable to the Tomcatstartup.batfile:
set LIBPATH=<pentaho_install_dir>\pentaho-server\pentaho-solutions\native-lib\win64Make sure Tomcat is not running.
Open Task Manager.
Look for Tomcat.
If Tomcat is running, stop it.
Open the startup script in a text editor:
<pentaho_install_dir>\pentaho-server\tomcat\bin\startup.bat
Find the
CATALINA_HOMEsection.
Add this line before it:
SET DI_HOME=%~dp0..\..\pentaho-solutions\system\kettleAdd the license option to
CATALINA_OPTS.
Update the existing CATALINA_OPTS line by adding:
-Dpentaho.license.information.file=%PENTAHO_LICENSE_INFORMATION_PATH%
Example:
SET CATALINA_OPTS=-Xms4096m -Xmx6144m -Djava.library.path=%LIBPATH% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dpentaho.license.information.file=%PENTAHO_LICENSE_INFORMATION_PATH% -DDI_HOME=%DI_HOME%Save and close the file.
Run the Pentaho Server as a Windows service (optional)
You can create a Tomcat task to run the Pentaho Server as a Windows service.
For details, see Tomcat Windows service how-to documentation.
When you run tomcat8w.exe, use these settings:
Startup tab
Working Path: Add
binto the end of the path. Example:C:\pentaho\server\pentaho-server\tomcat\bin
Java tab
Initial Memory Pool:
2048Maximum Memory Pool:
6144Java Options: add the following items:
-DDI_HOME-Dfile.encoding-Djava.library.path-Dpentaho.license.information.file
Example values:
-DDI_HOME=C:\pentaho\server\pentaho-server\pentaho-solutions\system\kettle-Dfile.encoding=utf8-Djava.library.path=<pentaho_install_dir>\pentaho-server\pentaho-solutions\native-lib\win64-Dpentaho.license.information.file=%PENTAHO_LICENSE_INFORMATION_PATH%
You must set PENTAHO_LICENSE_INFORMATION_PATH to point to the .elmLicInfo.plt file:
PENTAHO_LICENSE_INFORMATION_PATH=<complete_path>\.elmLicInfo.plt
Install licenses
Install your enterprise licenses before you start the server. See Acquire and install enterprise licenses.
Start the Pentaho Server
Go to Start the Pentaho Server.
Configure the Pentaho Server on Linux
Complete these steps to configure the Pentaho Server on Linux.
Modify the Tomcat startup script
The Tomcat startup script must include:
CATALINA_OPTS(Java options, including memory)DI_HOME(required for PDI components)The license file location
Copy all
.jarfiles from:
<pentaho_install_dir>/pentaho-server/pentaho-solutions/native-lib/linux/x86_64
To:
<tomcat_webapps_dir>/pentaho/WEB-INF/lib
Add the
LIBPATHvariable to the Tomcatstartup.shfile:
export LIBPATH=<pentaho_install_dir>/pentaho-server/pentaho-solutions/native-lib/linux/x86_64Make sure Tomcat is not running.
Open a terminal.
Run
ps -A.If Tomcat is running, stop it.
Open the startup script in a text editor:
<pentaho_install_dir>/pentaho-server/tomcat/bin/startup.sh
Find the
#Check that target executable existsline.
Add this line above it:
DI_HOME=<pentaho_install_dir>/pentaho-server/pentaho-solutions/system/kettleAdd the license option to
CATALINA_OPTS.
Update the existing CATALINA_OPTS line near the end of the file.
Example:
export CATALINA_OPTS="$CATALINA_OPTS -Xms4096m -Xmx6144m \
-Djava.library.path=$LIBPATH \
-Dsun.rmi.dgc.client.gcInterval=3600000 \
-Dsun.rmi.dgc.server.gcInterval=3600000 \
-Dpentaho.installed.licenses.file=$PENTAHO_INSTALLED_LICENSE_PATH \
-DDI_HOME=$DI_HOME"Save and close the file.
Start the Pentaho Server
Go to Start the Pentaho Server.
Start the Pentaho Server
After you configure the Pentaho Server for your platform:
Define the
DI_HOMEenvironment variable. The default path for Windows and Linux:Windows:
PENTAHO_INSTALLATION_FOLDER\pentaho-server\pentaho-solutions\system\kettleLinux:
PENTAHO_INSTALLATION_FOLDER/pentaho-server/pentaho-solutions/system/kettle
Run the startup script for your web application server.
Windows:
startup.batin the TomcatbinfolderLinux:
startup.shin the Tomcatbindirectory
Open
http://localhost:8080/pentahoto access the Pentaho User Console (PUC).
If your server uses a different hostname or port, update the URL.
Troubleshoot startup issues
Troubleshooting is centralized in Troubleshooting possible installation and upgrade issues.
Install Pentaho client tools
After you install and start the Pentaho Server, you can install the client tools on separate workstations.
After you install the Pentaho Server and client tools, configure them so you can:
Install licenses.
Sign in to the Pentaho Server.
Set up data sources.
Choose a security method.
See Administer Pentaho Data Integration and Analytics for instructions on setting up licenses and optional Operations Mart logging.
Last updated
Was this helpful?

