Running CommandBox on the Raspberry Pi

After my failed attempt to install Railo, I receive a comment from Brad Wood requesting me to install CommandBox on the Raspberry Pi.

For this post today, I will be using the same Raspberry Pi and Operating Systems from my previous post.
http://blog.abpdevsolutions.com/using-the-raspberry-pi-in-a-business-environment-2/

My Raspberry Pi

  • 700MHz Broadcom BCM2835 CPU
  • 512 MB SDRAM @ 400 MHz
  • 10/100 Ethernet RJ45 On Board Network
  • Full Size HDMI
  • 4 USB Ports
  • 16gb Micro SD card

Installing Commandbox on Rapberry Pi

For this post, I will be attempting to install Railo with Tomcat 7.

I Started out by install Raspbian, which can be found here. For instructions on installing Rasbian on SD card click here.

Once Raspbian is installed, connect to your pi using ssh and install Apache.

   sudo apt-get install apache 

After installing apache, run the following commands to get Commandbox up and running.

sudo vi /etc/apt/sources.list.d/commandbox.list

After opening that file I added the following APT Debian Repository

deb http://integration.staging.ortussolutions.com/artifacts/debs/noarch ./

Run the following command to install CommandBox

sudo apt-get install commandbox

CommandBox is now successfully installed. Now is time to start up your box. You can do so by running the following command.

box start 80
Everything from here on was me playing around with box to see what it was capable of.

This was all the testing that I had time to do. Please remember to come back to see some of the interesting projects that I have coming up in the future.

Future projects:
Installing Lucee on the Raspberry Pi.
Installing OpenBD on the Raspberry Pi.
And more...

JaVaun Joseph

Read more posts by this author.