PDA

View Full Version : Turn Pentaho demo into a ?server?



ngoodman
11-30-2006, 12:16 AM
The standard Pentaho demo download (http://www.pentaho.org/download) is super quick and easy: there’s no installation and it just works. You double click start-pentaho.bat and then it’s running in http://localhost:8080.
However, sometimes you may want to share this demo with others. Roland Bouman (http://rpbouman.blogspot.com) has a nice blog entry (http://rpbouman.blogspot.com/2006/07/hands-on-mysql-samples-for-pentaho-2_12.html) on the specifics of how to change the demo install into a server.
I add the following line to my start-pentaho.sh to make the hostname changing transparent.

sed -i -e “s/http:\/\/.*:8080/http:\/\/`hostname -f`:8080/” jboss/server/default/deploy/pentaho.war/WEB-INF/web.xml
This allows one to move this “pentaho” to any system and it will startup properly with the http://actualhostname.company.com:8080 instead of http://localhost:8080. I download a new build of Pentaho on about a weekly basis in addition to preparing virtual machines and zipped installs for customers, partners. This little shortcut is an absolute must for me; it doesn’t make sense in the actual code release for a variety of reasons.
Perhaps someone else will find this little tidbit useful! Enjoy!


More... (http://www.nicholasgoodman.com/bt/blog/2006/11/26/turn-pentaho-demo-into-a-server/)