Subsonic server on Bubba

How are you using your Bubba Two or Excito B3? Got pictures? Share here!
Post Reply
dsjodin008
Posts: 3
Joined: 25 Sep 2010, 03:12

Subsonic server on Bubba

Post by dsjodin008 » 25 Sep 2010, 04:11

Subsonic is a piece of server software that can stream audio to different devices.
From subsonic.org:
* Listen to your music wherever you are. Share your collection with family and friends.
* Browse and manage your music collection with the user-friendly web interface, or use the AIR desktop app.
* Stream music to iPhone or Android.
* Convert and stream lossless music on the fly.
* Manage 100,000+ files in your music collection without hassle.
* Download and listen to Podcasts.
* Get cover art, lyrics, reviews and other album info from Discogs, Chartlyrics, allmusic, Wikipedia and Google Music.
* Plus much more...

The coolest thing is that there are apps availible for Iphone and Android. This makes it possible to stream all of your music to your phone or, with a standard web browser, to any internet attached computer.

This installation is based on the stand-alone version of Subsonic wich is depending on Java. Not the fastest way but it work :)

1. Download the latest version of subsonic stand-alone and move it to your home-folder.
http://www.subsonic.org/pages/download.jsp

2. As root create a new folder and move the file to this folder;

Code: Select all

daniel@bubba:~$ su
Password: 
bubba:/home/daniel# cd /usr
bubba:/usr# mkdir subsonic
bubba:/usr#mv /home/daniel/downloads/subsonic-4.1-standalone.tar.gz /usr/subsonic/
3. Extract it;

Code: Select all

bubba:/usr#cd subsonic
bubba:/usr# tar -xvf subsonic-4.1-standalone.tar.gz 
4. Change owner;

Code: Select all

bubba:/usr/subsonic# chown -R daniel:users /var/subsonic/
bubba:/usr/subsonic# exit
5. Downloading Java (ibm-java-ppc-60)
Java from IBM can be acquired from:
http://www.ibm.com/developerworks/java/ ... nload.html (registration required)
You need the "32-bit IBM POWER" version see under "Java SE Version 6" headline.
Register and download the SDK version in tgz format (ibm-java-sdk-6.0-8.1-linux-ppc.tgz (91 MB))
Move to your home folder.

6. Extract it;
As root create a new folder and move the downloaded file to this folder. Then extract;

Code: Select all

daniel@bubba:~$ su
Password: 
bubba:/home/daniel# cd /usr
bubba:/usr# mkdir java
bubba:/usr#mv  /home/daniel/downloads/ibm-java-sdk-6.0-8.1-linux-ppc.tgz /usr/java/
bubba:/usr# cd java
bubba:/usr/java# tar -xvf ibm-java-sdk-6.0-8.1-linux-ppc.tgz 
bubba:/usr/java# exit
7. Edit the /usr/subsonic/subsonic.sh with your favorite editor.
...
Find this line:
SUBSONIC_HOME=/var/subsonic
and change it to:
SUBSONIC_HOME=/usr/subsonic

Above that line add:
JAVA_HOME=/usr/java/ibm-java-ppc-60

8. Run the server:

Code: Select all

daniel@bubba:/usr/subsonic$ sh ./subsonic.sh 
The startup will take a while (I suppose it because it through Java).

9. Check the subsonic._sh.log that the server is running:

Code: Select all

daniel@bubba:/usr/subsonic$ tail subsonic_sh.log 
Subsonic running on http://192.168.10.1:4040/

171481 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'

171935 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one

173893 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.0.1:9412](local),objID:[0:0:0, 0]]]]
10. Use your browser and login to the server:
http://bubba:4040

11. If you whant the server to start on boot here are some ideas:
http://forum.excito.net/viewtopic.php?f ... rtup#p2992

Good luck!

Post Reply