Anda di halaman 1dari 2

PENTAHO ENVIRONMENT SETUP INSTRUCTIONS

by

Luigi Grimaudo
Pentaho Community Edition with Oracle 11g XE
1. Download and install Oracle 11g R2 XE (Link), only if not already done
chose admin as password for the SYS and SYSTEM user when requested
2. Check if Oracle XE is running navigating to http://127.0.0.1:8080/apex
3. Launch the windows command line (cmd)
4. Digit sqlplus system@xe, press return and enter admin as password
5. Digit EXEC DBMS_XDB.SETHTTPPORT(9898) and press return
6. Digit exit and close the window
7. Stop the Oracle XE server with the Start menu>Programs>Oracle Database 11g XE>Stop
database command
8. Start the Oracle XE server with the Start menu>Programs>Oracle Database 11g XE>Start
database command
9. From now on you can access to Oracle XE navigating to http://localhost:9898/apex (With the
previous SQL statements we changed the port used by Oracle XE web user interface
10. Extract the archive Pentaho.zip into C:\
11. Now you should have the following folder tree structure in C:\
- Pentaho
-- servers
-- clients
-- OracleDBScriptsToBeRemoved
12. Launch the windows command line (cmd)
13. Change directory to C:\Pentaho\OracleDBScriptsToBeRemoved
14. Digit sqlplus system@localhost @1_create_repository_ora.sql, press return and type admin
ad password
15. Digit sqlplus system@localhost @2_create_quartz_ora.sql, press return and type admin ad
password
16. Digit sqlplus system@localhost @3_load_sample_users_ora.sql, press return and type
admin ad password
17. Digit sqlplus system@localhost @4_create_sampledata_ora.sql, press return and type
admin ad password
18. Copy Pentaho\scripts\ojdbc6.jar file into Pentaho\servers\administration-console\jdbc
folder, into Pentaho\servers\biserver-ce\tomcat\lib folder
19. Copy Pentaho\scripts\orai18r.jar and Pentaho\scripts\orai18r-mapping.jar into
Pentaho\servers\biserver-ce\tomcat\lib folder
20. Replace Pentaho\servers\biserver-ce\tomcat\webapps\pentaho\META-INF\context.xml
with the context.xml file in the script directory
21. Replace Pentaho\servers\biserver-ce\pentaho-solutions\system\hibernate\hibernatesettings.xml with the hibernate-settings.xml file in the scripts directory
22. Replace Pentaho\servers\biserver-ce\pentaho-solutions\system\applicationContext-springsecurity-hibernate.properties with the applicationContext-spring-securityhibernate.properties file in the scripts directory
23. Replace Pentaho\servers\biserver-ce\pentaho-solutions\system\applicationContext-spring-

PENTAHO ENVIRONMENT SETUP INSTRUCTIONS


by

Luigi Grimaudo
security-jdbc.xml with the applicationContext-spring-security-jdbc.xml file in the scripts
directory
24. Replace Pentaho\servers\biserver-ce\pentaho-solutions\system\simple-jndi\jdbc.properties
with the jdbc.properties file in the scripts directory
25. Replace Pentaho\servers\biserver-ce\tomcat\webapps\pentaho\WEB-INF\web.xml with the
web.xml file in the scripts directory
26. Replace Pentaho\servers\biserver-ce\tomcat\conf\Catalina\localhost\pentaho.xml the
pentaho.xml in the scripts directory
27. Replace Pentaho\servers\biserver-ce\pentaho-solutions\system\publisher_config.xml with
the publisher_config.xml in the scripts directory
28. Replace a set of files in the Pentaho\servers\biserver-ce\pentaho-solutions\bidevelopers\charts directory with all the corresponding ones in the Pentaho\scripts\charts
directory
29. Log in administration-console and create a new data source connection with the following
parameters:
Name: SampleData
Driver class: oracle.jdbc.driver.OraceDriver
User Name: pentaho_user
Password: password
URL: jdbc:oracle:thin:@localhost:1521:xe

Anda mungkin juga menyukai