Tuesday, April 14, 2015

Install Pentaho BI

Create user account

sudo useradd -s /bin/bash -m pentaho
passwd pentaho

download pentaho BA dan DI

chmod a+x pentahoBA.bin
next next next.  . .
Selection_002.png
yes dan muncul error -_-
*note admin : password dan suzy : password

extract java hasil download di oracle. dan benerkan linker nya.

export PENTAHO_JAVA_HOME =/home/pentaho/pentaho/jdk1.7.0_75
export PENTAHO_INSTALLED_LICENSED_PATH=/home/pentaho/.pentaho

taruh di bash.
tekan keatas
tambahi
echo “export PENTAHO_JAVA_HOME =/home/pentaho/pentaho/jdk1.7.0_75” >> /home/pentaho/.bashrc
echo “export PENTAHO_INSTALLED_LICENSED_PATH=/home/pentaho/.pentaho” >> /home/pentaho/.bashrc

karena java belum kedetect. maka buat pakai cara lain

apt-get install java-package

make-jpkg jdk-7u2-linux-x64.tar.gz

dpkg -i oracle-j2sdk1.7_1.7.0+update2_amd64.deb

sudo update-alternatives --config java

kemudian sesuaikan dengan link java, kebetulan pada percobaan ini menggunakan /usr/lib/jvm/j2sdk1.7oracle/

start pentaho
./Pentaho/server/biserver-ee/start-pentaho.sh
kemudian akses di http://192.168.123.100:8080 sesuai dengan ip server
Selection_003.png
========= membuat pentaho jalan di start boot ==========
script

#!/bin/sh
### BEGIN INIT INFO
# Provides: start-pentaho stop-pentaho
# Required-Start: networking postgresql
# Required-Stop: postgresql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Pentaho BA Server
### END INIT INFO

case "$1" in
"start")
su - pentaho -c "/home/pentaho/Pentaho/server/biserver-ee/start-pentaho.sh"
;;
"stop")
su - pentaho -c "/home/pentaho/Pentaho/server/biserver-ee/stop-pentaho.sh"
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0

===========install postgresql============
     Create the file /etc/apt/sources.list.d/pgdg.list, and add a line for the repository deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main
     Import the repository signing key, and update the package lists wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
       sudo apt-key add -
     sudo apt-get update

http://www.postgresql.org/download/linux/debian/




3 comments:

have a question, just spill it :D