Raspberry PI and CherryMusic – Web Music Server

CherryMusic is a open source music streaming server that can play your personal music collection on almost any device with a web browser. It is written in python and is very light weight.


CherryMusic can be installed on Raspberry PI to create a personal web based music station that can be used on any device of our choice and be central repository of all the music you like.

So, below is the list of what we need to build our own personal music streaming server

1. Raspberry PI

2. PiBang Linux Server (Any Linux distro will do, I prefer Pi Bang based on Raspbian)

3. CherryMusic – Download it from here

Burn PiBang Server to SD card and boot your RPi.

Update Linux on RPI and install prerequisites for CherryMusic Server

apt-get update && apt-get -y upgrade && apt-get install -y imagemagick vorbis-tools lame flac python-mutagen

Use wget and download the latest CherryMusic Master branch from GitHub and unzip the master.zip assuming your RPi has internet access. If not you can download it to your computer and upload it to RPi.

Make a folder on your RPi and upload your music collection. I have it on /music folder

mkdir /music

now cd to unzipped CherryMusic folder and run below command to setup CherryMusic

python cherrymusic –setup –port 8080


Now point your browser to http://rpi-ipaddress:8080 and you will be presented with the below setup screen. Key in /music/ (or any other folder that has your music collection) in the Media base directory, leave the rest as defaults and click on Save Configuration and start CherryMusic


Wait for the Setup to complete, it would take few seconds


Once the setup is complete you will be greeted with the below login screen.


I have admin as the default username and password. Login and enjoy your music on all your devices. You can even port forward or NAT your RPi and listen to your collection anywhere as long as you are connected to internet


I was able to play music simultaneously on 4 different devices on my home wifi with no issue

1. Windows 8.1

2. Blackberry

3. Android

4. Acer Iconia Tablet



1. http://www.fomori.org/cherrymusic/Setup%20Guide.html

2. https://github.com/devsnd/cherrymusic/tree/master

3. http://raspberrypihelp.net/tutorials/44-raspberry-pi-cherrymusic-music-streaming

Note: Cross posted from Experience – Inspire – Contribute

Your(ls) Own Short URL service on Raspberry Pi

Raspberry Pi a $35 credit-card sized computer is an excellent piece of hardware that can be used to run many of small workloads for personal use, learning and sometimes even for use at SMBs and Enterprises.

Yourls (Your Own URL Shortener) is a small PHP application which uses MySQL as DB to run our own URL shortening service similar to well known bit.ly and tinyurl.com

I Have been running Yourls on Ubuntu VM on Hyper-V with Apache HTTPD for an year now.

After getting Raspberry Pi wanted to shift Yourls to Raspberry Pi and due to limited resources available on RPi I chose NGINX webserver instead of Apache webserver to run Yourls.

This post is a walkthrough of working configuration to setup Yourls under 10 minutes on Raspberry Pi running NGINX webserver, PHP and MySQL.

My Setup – Hardware and Software details

1. Raspberry Pi Model B (512 MB RAM) connected to LAN

2. 4 GB Class 4 SD Card

3. PiBang Linux Server Edition

4. Windows 8.1 Laptop with Wifi

5. Putty

6. Win32 Disk Image

7. Cisco E1200 Wifi Router

8. Cable Broadband – 5 Mbps

Continue reading

Ubuntu for Phone – Future OS to rule them all

imageMark Richard Shuttleworth, entrepreneur, founder of Canonical Ubuntu, the famous Open Source Linux Distribution and second self funded space tourist and first from Africa has recently announced Ubuntu for Phone, with a vision of building ONE OS to run on all devices ranging from Smartphone, PCs, Televisions, Tablets to super computers and cloud.


As per the announcement by Mark, phones based on Ubuntu for Phone should be available in the market somewhere during last quarter of 2013 or first quarter of 2014


Highlights of Ubuntu for Phone

1. No buttons on the phone

2. Runs the Same proven Ubuntu Linux with familiar User Interface

3. Perform quick actions and navigate using Edges

4. Complete Compatibility with Android Hardware, big plus here for the OEMs.

5. Unified Global Search

6. Clean and Organized UI

7. Evolving Welcome Screen and No Lock Screen (No idea why and how is it secure)


Below is the video Keynote by Mark announcing Ubuntu for Phone with the demo

Skip to 5:20 for Ubuntu for Phone Demo

The idea of Ubuntu for Phone is to build an entire ecosystem with Smartphone at the centre which transforms itself into a different device with a different role but with same content and features. Just plugin phone onto a dock in the office to convert it into a pc, or dock it at home to convert it into a TV.

Hardware specs of the Smartphones available today have the potential to make this idea a reality.

Video shows the concept with respect to Ubuntu for Android

Imagine a day in future when the alarm on your smartphone wakes you up, downloads and provides you updated news while you get ready to office, play music on the way or voice records many ideas that float in mind, docks onto a station on your desk to convert into a PC to work on ideas recorded or connect to a virtual desktop or prepare a presentation, undock your phone, turn on GPS and maps for directions to the client’s office, get into a meeting room, connect phone to a dock to project the presentation, undock it, drive home, connect to a dock near the TV and select your favourite program to play, when time to bed pull out the phone insert it to a tablet to read your favourite ebook and slip into sleep and best of all no need to close or save any application in this journey all day.

Video shows the concept with respect to Ubuntu for Android

Based on proven free and open source Linux Kernel, which powers every kind of device ranging from embedded systems to top of the list supercomputers and clouds, Ubuntu for Phone has the potential to make this dream a reality.

If done right, Ubuntu for Phone would definitely be a big hit in enterprise segment where BYOD is picking up and where IT department has to deal with devices growing in numbers every day

PS: Pair with Lenovo’s 4 screen strategy and there would be nothing much to ask for

So what do you think ? Please do share your view in the comments Smile


More about Ubuntu for Phone design and features here

Know more about Mark Richard Shuttleworth here

Disclaimer: Just to make sure things are clear, this is a personal blog and opinions, thoughts, plans, intentions and strategies expressed here are my own and do not reflect the views of people or any other organization with whom I had worked or working or would work with. As any human being, various thoughts keep running in my head and my opinions vary from time to time solely based on developments and experiences over the period of time, and any such thoughts and opinions published here might change in future. You are free to use comment section below to express if I sound stupid to you, however please note that all comments are moderated. Thank you for your time.

Note: Cross posted from Experience – Inspire – Contribute.

ActivePresenter – Easy to use Screencasting Tool

For long have been using and suggesting CamStudio, an open source and free screen capturing and recording software for Windows machines. A recent project of mine needed more features than what CamStudio could offer and there I was bingle(ing) (using Bing and Google) the web, when I stumbled upon ActivePresenter from Atomi Systems.

ActivePresenter is a feature rich screen recording software than help in creating interactive screencasts and SCORM-compliant e-learning content.


Few of the many features of the ActivePresenter are

1. Obviously Capture and Record (Images and Full motion video)

2. Annotation

3. Audio/Video Editing with options like pan/zoom

4. Exporting to high quality video formats including AVI, WebM etc

5. Transition Effects

6. Narration, Spotlight, Blur, cursor path etc.


imageThis software comes packaged in a 37 MB install file and has three editions, including one being free with most of the features available and needed for day to day use by many.


One thing I could not find was Video Capture from WebCam. Over all a very feature rich and very impressive screen capturing/screen casting program that had replaced CamStudio on my Windows 8 machine.

Below are few screenshots of the options from the tool



A highly recommended software for e-learning content development which is also SCROM (Sharable Content Object Reference Model) compliant.

Hope this tool is of good help to you. Thank you for your time.

Important Links:

Support, Demo, Tutorials etc – http://atomisystems.com/support/

Features – http://atomisystems.com/activepresenter/features/

Comparison of Editions – http://atomisystems.com/activepresenter/features-comparison/

Download – http://atomisystems.com/download/

More on SCROM – http://en.wikipedia.org/wiki/Sharable_Content_Object_Reference_Model

CamStudio – http://camstudio.org


Note: Cross posted from Experience – Inspire – Contribute.

Slipstream XenServer Supplemental Packs

Citrix recently released new version of XenServer a Hypervisor based on Xen, originally a research project at the University of Cambridge. With the new XenServer 6.1 we get live Storage XenMotion (Not Available in Free Edition) to migrate VMs between Hosts and Pools without shared Storage. With this release we also get new version of System Centre Integration Suite and Performance Monitoring supplemental pack.

It is necessary that we update these supplemental packs when ever we update XenServer. In general we provide Install Media of the supplemental packs when asked for while installing XenServer or by using xe-install-supplemental-pack command.

The easy way is to slipstream the supplemental packs to the XenServer Install media and perform the update or installation. Below are simple steps to slipstream XenServer install media with supplemental packs.

1. Copy or extract all files from XenServer install media to a folder. In my case XenServer6.1

2. Create one folder for each supplemental pack inside above folder. In my case I am using Integration suite and Performance monitoring supplemental packs and created two folders named packages.integration-suite and packages.perf-monitoring following Citrix’s naming convention for XenServer folders as shown in below screenshot.


3. Copy or extract all the files of supplemental packs to respective folders created above.

4. Edit XS-REPOSITORY-LIST file in XenServer install media folder created in Step 1, XenServer6.1 in my case  and append names of supplemental pack folders from Step 2, packages.integration-suite and packages.perf-monitoring of my setup.


5. Now save the file and create a new install media for updating or installing XenServer.

6. Once XenServer installation is complete SSH to the server and run below command to check if the above mentioned supplemental packs got installed.

rpm –q openpegasus


Note: You can replace openpegasus in the above command with any rpm package name included in supplemental packs for example xs-cim-cmpi in integration suite


That’s it. Creating a slipstreamed installed media of XenServer with supplemental packs is very easy.

Thanks for spending time here.


1. XenServer product page at Citrix.com

2. Xen

3. More about Xen here

4. XenServer feature comparison by Edition here

5. Forum – http://forums.citrix.com/thread.jspa?threadID=295935&tstart=15&start=30

Note: Cross posted from Experience – Inspire – Contribute.