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.
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.
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.
- Install RVM
run curl -L https://get.rvm.io | bash
- Re-load your environment
- Setup additional pre-requisites
brew install libyaml
brew install openssl
- 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
- Install Rails and Bundler
gem install rails –version=3.2.14
gem install bundler
- Install SQLite which is good quick database for development purposes
brew install sqlite3
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.
- Update your package repository
type sudo apt-get update
- Install git and curl
type sudo apt-get install git curl
- 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
- 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
type sudo apt-add-repository ppa:chris-lea/node.js – add a private repository
type sudo apt-get update – update repository
- Install Rails
type gem install rails