Pentaho BIServer Community Edtion 7.1 軟體安裝
環境準備:
作業系統:CentOS7.5 64位
Pentaho版本:社會版7.1
JDK版本:1.8 64位 jdk1.8.0_131
資料庫:采用内置預設的資料庫
一、簡介:
Pentaho BI Server 分為企業版和社群版兩個版本。其中 社群版 CE(community edtion) 為免費版本。
二、下載下傳Pentaho CE版(CentOS7.5):
Pentaho Bi平台包含了服務端和web管理控制台。
存放在https://sourceforge.net/projects/pentaho/files/ 的Business Intelligence Server欄目下
下載下傳的包名格式為:
pentaho-server-ce-x.1.0.0-x.zip
pentaho-server-manual-ce-x.1.0.0-x.zip
pentaho-server内置了Pentaho BI伺服器及管理控制台,帶有manual的是自定義安裝Pentaho BI平台,資深使用者可能會使用到這一元件。
下載下傳位址:
https://sourceforge.net/projects/pentaho/files/Business%20Intelligence%20Server/
選擇相應的版本點選下載下傳。
三、安裝
unzip pentaho-server-ce-7.1.0.0-12.zip /tdata/tools/,自動生成 pentaho-server 檔案夾
四、在Centos中安裝JDK
詳細請參考:https://blog.csdn.net/u010735147/article/details/81773150
五、啟動
Tomcat 預設端口号:8080
HSQLDB預設端口号:9001
安裝路徑為: 先把解壓後pentaho-server檔案夾CP到/tdata/ 下
進入pentaho-server 檔案夾,執行./start-pentaho.sh (此方法執行後,也是可以在背景執行)
[[email protected] pentaho-server]# ./start-pentaho.sh
DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/java/jdk1.8.0_181
DEBUG: _PENTAHO_JAVA=/usr/java/jdk1.8.0_181/bin/java
--------------------------------------------------------------------------------------------
The Pentaho BI Platform now contains a version checker that will notify you
when newer versions of the software are available. The version checker is enabled by default.
For information on what the version checker does, why it is beneficial, and how it works see:
http://wiki.pentaho.com/display/ServerDoc2x/Version+Checker
Press Enter to continue, or type cancel or Ctrl-C to prevent the server from starting.
You will only be prompted once with this question.
--------------------------------------------------------------------------------------------
[OK]:--顯示此OK時需要回車
Using CATALINA_BASE: /tData/pentaho-server/tomcat
Using CATALINA_HOME: /tData/pentaho-server/tomcat
Using CATALINA_TMPDIR: /tData/pentaho-server/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.8.0_181/jre
Using CLASSPATH: /tData/pentaho-server/tomcat/bin/bootstrap.jar:/tData/pentaho-server/tomcat/bin/tomcat-juli.jar
Tomcat started.
[[email protected] pentaho-server]# ps -ef|grep pentaho --檢視程序是否啟動成功
root 9949 1 99 10:40 pts/0 00:00:37 /usr/java/jdk1.8.0_181/jre/bin/java -Djava.util.logging.config.file=/tData/pentaho-server/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Xms2048m -Xmx6144m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=utf8 -DDI_HOME=/tData/pentaho-server/pentaho-solutions/system/kettle -Djava.endorsed.dirs=/tData/pentaho-server/tomcat/endorsed -classpath /tData/pentaho-server/tomcat/bin/bootstrap.jar:/tData/pentaho-server/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/tData/pentaho-server/tomcat -Dcatalina.home=/tDatapentaho-server/tomcat -Djava.io.tmpdir=/tData/pentaho-server/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 10173 9437 0 10:41 pts/0 00:00:00 grep --color=auto pentaho
root 32478 9437 0 10:16 pts/0 00:00:00 /bin/sh ./start-pentaho.sh
root 32483 32478 0 10:16 pts/0 00:00:00 sh /tData/pentaho-server/promptuser.sh
root 32748 32555 0 10:17 pts/1 00:00:00 tail -1000f start-pentaho.log
[[email protected] pentaho-server]# netstat -an|grep 8080 --檢視Pentaho8080端口是否正常監聽
tcp6 0 0 :::8080 :::* LISTEN
另外一種啟動方法,在背景啟動服務
./start-pentaho.sh & >> 1.log & 背景啟動服務
六、首頁
http://IP:8080/pentaho
預設使用者名密碼:admin/password
資料參考:https://www.cnblogs.com/driftingshine/p/6065081.html