highlight js

2013年3月14日木曜日

20130314[AWS]pentaho ciを入れてみたメモ。


以下OpenSource版Pentaho 4.8 をAmazon Linuxに入れてみたメモ。

pentaho ce 4.8 install手順


JREのinstall
  1. Javaの確認
    $ java -version
  2. OpenJDKが入ってるはずなので、JREを入れる
  3. OracleのJavaインストーラ入手
    ブラウザで、http://java.com/ja/download/manual_v6.jsp にアクセスし、Linux版インストーラ(RPM)のURLをコピー
    http://javadl.sun.com/webapps/downlo...BundleId=75079
    「Linux x64 RPM」をwgetします。
    ※ JRE 1.7系だとinstall時にエラー出るので1.6系最新版にした。
     多分回避できるんだろうけど今回はスルー
  4. 名前が長すぎるのでRename。
    $ mv jre-6u43-linux-x64-rpm.bin.......    jre-6u43-linux-x64-rpm.bin
  5. 実行権限を付与
    $ chmod 755 jre-6u43-linux-x64-rpm.bin
  6. 実行
    $ ./jre-6u43-linux-x64-rpm.bin
  7. パス設定
    vim /etc/profile
    ファイルに下部に以下追記
    +++ export JAVA_HOME=/usr/java/latest
    +++ export JRE_HOME=$JAVA_HOME
    +++ export PATH=$JAVA_HOME/bin:$PATH
    +++ export CLASSPATH=./$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
  8. 設定ファイル読み込み
    $ source /etc/profile
  9. 確認
    $java -version
    java version "1.6.0_43"
    Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
と出るはず。


Pentaho
  1. DLする
    http://sourceforge.net/projects/pentaho/?source=dlp  の
    http://sourceforge.net/projects/pent.../4.8.0-stable/
    から pme-ce-4.8.0-stable.tar.gz をDL

    wget http://downloads.sourceforge.net/pro...e_mirror=jaist

     でっかくボタンが有るpdi-ce-4.4.0-stable.tar.gz でなく、Business Interigence Serverの方なので要注意
  2. $ tar zxvf biserver-ce-4.8.0-stable.tar.gz
  3. $ cd biserver-ce
  4. $ ./set-pentaho-env.sh
  5. $ ./start-pentaho.sh
    下記表示になるかと。
  6. [root@ip-10-0-0-200 biserver-ce]# ./start-pentaho.sh
    /usr/local/src/biserver-ce
    /usr/local/src/biserver-ce
    DEBUG: Using JAVA_HOME
    DEBUG: _PENTAHO_JAVA_HOME=/usr/java/latest
    DEBUG: _PENTAHO_JAVA=/usr/java/latest/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]:
    Using CATALINA_BASE:   /usr/local/src/biserver-ce/tomcat
    Using CATALINA_HOME:   /usr/local/src/biserver-ce/tomcat
    Using CATALINA_TMPDIR: /usr/local/src/biserver-ce/tomcat/temp
    Using JRE_HOME:        /usr/java/latest
    Using CLASSPATH:       /usr/local/src/biserver-ce/tomcat/bin/bootstrap.jar
    
    
  7. Security GroupにてPORT8080を開ける
  8. ブラウザで、http://(EIP):8080にアクセス
  9. ID:joe
    PW:password
    にてログイン