It's useful to have a local installation of the DB2 on Mac for development and test purposes. I have a local installation on my Macbook to develop DB2-backed Ruby on Rails applications.
My friends over at Big Data University just launched a refresh of their Apache Spark course. Spark is an engine for processing and mining large amounts of data quickly. The course takes advantage of a Docker image for Spark. Docker provides a way to run Spark on a typical laptop without getting a beefy server. … Continue reading Free Apache Spark course with Docker image
As my team creates new web apps and microservices in Rails, Meteor JS, and other stacks, we dockerize them. Docker is great because it enforces loose coupling, modular design, and process isolation. A Docker container can be thought of as a very lightweight VM that shares a Linux kernel with its host. The infrastructure and … Continue reading Dockerize all the things
The project I'm working on right now involve not just Dockerized Rails microservices, Meteor JS, and a data set measured in tens of terabytes, but also a big Bash code base. Bash is a language that makes it easy to shoot yourself in the foot. I have some thoughts on how to write robust, modular, … Continue reading Unix command of the day: watch
I got this error starting a ruby application: /usr/local/rvm/gems/ruby-1.9.3-p547/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `require': libdb2.so.1: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-1.9.3-p547/extensions/x86_64-linux/1.9.1/ibm_db-2.5.11/ibm_db.so (LoadError) An .so is a Linux library, equivalent to a .dll on Windows or a .dylib on Mac. Note that there are two different libraries mentioned. ibm_db.so is present, while libdb2.so.1 is … Continue reading libdb2.so.1: cannot open shared object file
Edit: The download link doesn't work anymore, but it looks like IPMIView is now available in the Mac App Store. Also, just in case, someone suggested running the Linux version on Mac. Softlayer cloud uses IPMIView for direct console access to bare metal hardware. SuperMicro makes a Mac version of IPMIView available for download. Bizarrely, … Continue reading How to run and install IPMIView on Mac
Do you ever need to kick off a long-running command while SSHed to a server, but be able to disconnect and reconnect at will? You can do this with screen. Before doing anything, start a screen session: screen When you're ready to put your work on hold, detach the screen: screen -d If you have … Continue reading Persistent SSH sessions with screen