The following code automates the procedure to install and configure base software (Java 7), Pentaho BI Server v5.4 and PostgreSQL on an operating system CentOS v7.2.
This IAC (Infrastructure as Code) allows you to have Pentaho BI Server v5.4 configured on PostgreSQL repositories: (hibernate, quartz, jackrabbit) with only few commands.
Before using this code, make sure you have installed the following:
- Ansible v2.6.5 or higher
- Vagrant v2.1.5 or higher
- VirtualBox v5.2.18 or higher
- Wget v1.19.5 or higher
To run the provisioning code, open a terminal console and run the following commands:
vagrant plugin update
vagrant box update
vagrant provision
To test that you have successfully provisioned Pentaho CE, open a browser an hit the following URL:
http://localhost:8888/pentaho/
In order to turn on the virtual machine run the following command:
vagrant up
To turn off the virtual machine run:
vagrant halt
NOTES:
- Just the first time you run the command, it will take some minutes.
- Ansible and Vagrant runs well on Linux distributions and OS X. To run those on Windows is tricky, but not impossible!
- This code automates all the procedures mentioned in my blog post.
Useful Information:
Service | Port | Forwarded Port | Unix User | Command |
---|---|---|---|---|
Pentaho BI Server | 8080 | 8888 | pentaho | sudo service pentaho (start, stop or restart) |
PostgreSQL | 5454 | 5454 | postgres | psql -p 5454 |