Pentaho 5.2.0 を AmazonLinux に導入する

オープンソース BI の Pentaho を Amazon Linux に導入した際の手順メモです。

Pentaho biserver 5.2.0 ダウンロード (744MB)
wget 'http://sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fpentaho%2FBusiness+Intelligence+Server%2F5.2%2Fbiserver-ce-5.2.0.0-209.zip'
mv g_redir.php\?m\=jaist\&f\=%2Fpentaho%2FBusiness+Intelligence+Server%2F5.2%2Fbiserver-ce-5.2.0.0-209.zip biserver-ce-5.2.0.0-209.zip
解凍 (919MB の空き領域が必要)
unzip -q biserver-ce-5.2.0.0-209.zip
/usr/local 配下に移動して、シンボリックリンクを貼る
mv biserver-ce /usr/local/biserver-ce
cd /usr/local
ln -s biserver-ce pentaho
起動
cd biserver-ce

[root@pentaho biserver-ce]# ./start-pentaho.sh
DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/lib/jvm/jre
DEBUG: _PENTAHO_JAVA=/usr/lib/jvm/jre/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]: ここで Enter

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/lib/jvm/jre
Using CLASSPATH: /usr/local/src/biserver-ce/tomcat/bin/bootstrap.jar

[root@pentaho biserver-ce]# ps aux | grep java
root 2320 67.4 29.4 3140176 300160 pts/0 Sl 16:24 0:04 /usr/lib/jvm/jre/bin/java -Djava.util.logging.config.file=/usr/local/src/biserver-ce/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms1024m -Xmx2048m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/usr/local/src/biserver-ce/tomcat/endorsed -classpath /usr/local/src/biserver-ce/tomcat/bin/bootstrap.jar -Dcatalina.base=/usr/local/src/biserver-ce/tomcat -Dcatalina.home=/usr/local/src/biserver-ce/tomcat -Djava.io.tmpdir=/usr/local/src/biserver-ce/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 2334 0.0 0.0 110284 844 pts/0 S+ 16:24 0:00 grep java
[root@pentaho biserver-ce]#
SecurityGroup で tcp:8080 への通信を許可する
ユーザーの整理

管理者ユーザーを新規作成し、デフォルトユーザーを削除

左上 Home – Administration
Users & Roles
Users: 右の + を押す
User Name: Password: Confirm Password: を入力して OK

追加したユーザーを選択後、右側の Role から
割り当てたい Role を選択して > を押すと割り当て

admin pat suzy tiffany ユーザーのパスワード変更

[参考資料]

Pentaho ダウンロードサイト
http://sourceforge.jp/projects/sfnet_pentaho/releases/

ドキュメントなど
http://www.pentaho-partner.jp/download/document.html