wiki:WikiStart

Welcome to the Save Energy project

The Save Energy Leiden Pilot project is part of the European Save Energy project aimed at reducing energy consumption in buildings by changing user behaviour. In the Leiden Pilot carried out in Leiden City Hall the electricity and heating use is measured at the desk and room level. The measuring sensors form a wireless mesh network to communicate with a central gateway. We will send the data via the Wireless Leiden network to a server at the Leiden University LIACS institute.

The project, which is also part of the Hogeschool Leiden FreeDiscovery project, aims at setting up the infrastructure for collection, analysis and presentation of the data.

Installation of Pentaho on a FreeBSD server

We use the open-source Pentaho Business Intelligence suite on FreeBSD. The Pentaho wiki site and the book "Pentaho Solutions" of Roland Bouwman and Jos van Dongen come in handy. For installation on FreeBSD the installation procedure has some deviations from the Linux install described in the book. Installation directory is /usr/local/pentaho. For automatic startup we use the scripts /usr/local/etc/rc.d/pentaho and /usr/local/bin/pentaho. <p> The rc.d/pentaho script:

#!/bin/sh
#
# PROVIDE: pentaho
# Configuration settings for pentaho in /etc/rc.conf
#
. /etc/rc.subr
name="pentaho"
rcvar=`set_rcvar`
load_rc_config "${name}"
pentaho_enable="${pentaho_enable:-"NO"}"

start_pentaho () {
	echo "Starting ${name}"
	/usr/local/bin/pentaho >> /var/log/pentaho.log 2>&1
}

stop_pentaho () {
	echo "Stopping ${name}"
	# XXX This goes horribly wrong if we make brew another pot of Java.
	killall java
}

start_cmd="start_pentaho"
stop_cmd="stop_pentaho"
run_rc_command "$1"

The bin/pentaho script:

#!/bin/sh

PATH=$PATH:/usr/local/bin:/usr/local/sbin

# go to the pentaho home
cd /usr/local/pentaho/biserver-ce

# set up command for pentaho user, set java environment
su -m pentaho -c 'env JAVA_HOME="/usr/local/diablo-jre1.6.0" /usr/local/pentaho/biserver-ce/start-pentaho.sh'

Trac is a minimalistic approach to web-based management of software projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.

All aspects of Trac have been designed with the single goal to help developers write great software while staying out of the way and imposing as little as possible on a team's established process and culture.

As all Wiki pages, this page is editable, this means that you can modify the contents of this page simply by using your web-browser. Simply click on the "Edit this page" link at the bottom of the page. WikiFormatting will give you a detailed description of available Wiki formatting commands.

"trac-admin yourenvdir initenv" created a new Trac environment, containing a default set of wiki pages and some sample data. This newly created environment also contains documentation to help you get started with your project.

You can use trac-admin to configure Trac to better fit your project, especially in regard to components, versions and milestones.

TracGuide is a good place to start.

Enjoy!
The Trac Team

Starting Points

For a complete list of local wiki pages, see TitleIndex.

Last modified 14 years ago Last modified on Apr 3, 2010, 10:43:42 AM
Note: See TracWiki for help on using the wiki.