Installing Pentaho Business Analysis Server on Ubuntu

I’ve been experimenting with Pentaho for the past few months to find an easy way to present users with a simple to manage reporting system. The components I’ve been playing with are the Business Analysis Server (Reporting front end), Kettle and Spoon (ETL tool), Reporting Studio and Mondrian (OLAP Server). Here are the install steps that I used to install Pentaho Business Analysis Server on Ubuntu.

Continue reading “Installing Pentaho Business Analysis Server on Ubuntu”

Installing Ruby on Rails on Ubuntu

I decided to install Ubuntu 13.10 on my current desktop to compare developing on Ubuntu versus OS X. As I needed to install Rails as well I decided to document the steps for future reference as well.

Continue reading “Installing Ruby on Rails on Ubuntu”

Installing Ruby on Rails on OSx

I got myself a Macbook Air today to primarily be a development machine. For those of you who are looking for a shortcut, check out RailsInstaller that does a quick job as well. Personally, I just wanted to give a shot of installing Rails from scratch because it’s a good way of really understanding your system and the appropriate pre-requisites to run Rails. Also, it allows you to specify what version of Rails and ruby you want installed on your system.

I assume that you already have Homebrew installed on your system.

  1. Install RVM
    run curl -L https://get.rvm.io | bash
  2. Re-load your environment
    source ~/.rvm/scripts/rvm
  3. Setup additional pre-requisites
    brew install libyaml
    brew install openssl
  4. Install ruby 2.0.0 and set it as the default version
    rvm install 2.0.0 –with-openssl-dir=$HOME/.rvm/usr
    rvm –default use ruby-2.0.0-p247
  5. Install Rails and Bundler
    gem install rails –version=3.2.14
    gem install bundler
  6. Install SQLite which is good quick database for development purposes
    brew install sqlite3

Installing Ruby on Rails 3.0 on Ubuntu

I decided to spin up a Rails environment on Ubuntu 12.04 desktop as I wanted to isolate a testing problem. Looks like it was an environment issue on my desktop :D.

  1. Update your package repository
    type sudo apt-get update
  2. Install git and curl
    type sudo apt-get install git curl
  3. Install RVM and Dependencies
    type curl -L get.rvm.io | bash -s stable to download the latest rvm scripts
    type source ~/.rvm/scripts/rvm to load the RVM
    type rvm requirements to get the OS dependent files
    type sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config from the rvm requirements output
  4. Install Ruby 1.9.3
    type rvm install 1.9.3
    type rvm use 1.9.3 — default to set the default version of ruby for the machine
  5. Install Node.js – a Javascript engine
    type sudo apt-add-repository ppa:chris-lea/node.js – add a private repository
    type sudo apt-get update – update repository
    type sudo apt-get install nodejs – install nodejs as the Javascript Engine
  6. Install Rails
    type gem install rails