AWS Instances As on 17th April 2014

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.

image

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

image

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

image

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

image

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

image

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

image

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

 

Reference

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
Permalink

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

Successful vs. Unsuccessful – Infographic

Though a year old infographic its worth sharing and referring for positive energy and focus

SuccessfulPersonvsUnsuccessfulPerson

Reference:

http://maryellentribby.com/

http://sayingimages.com/the-success-indicator-by-mary-ellen-tribby/

Note: Cross posted from Experience – Inspire – Contribute.
Permalink

Coding can Change the World – code.org

Code.org the site promoting programming can change the world we live in, found this today on TechNet.

image

A Short 5 minute video

It has quotes from famous people around the world not just entrepreneurs like Bill Gates and Mark but from people like NBA star  Chris Bosh, musician will.i.am and others.

Reference

1. http://blogs.technet.com/b/next/archive/2013/02/26/code-can-change-the-world.aspx#.US2ysBzrZMt

2. http://code.org

Note: Cross posted from Experience – Inspire – Contribute.
Permalink