How to Install Subsonic Music Streamer on Ubuntu 13.04, 12.10, 12.04

Hello Linux Geekster.

In this article I will show you how to install Subsonic Music Streamer on Ubuntu 13.04 Raring Ringtail, Ubuntu 12.10 Quantal Quetzal and Ubuntu 12.04 Precise Pangolin.

Subsonic is a free, multi-platform web media streamer. It is used to share music with others or to listen to your favourite music remote. You can stream music online, for multiple players simultaneously, depending on your band width. It works best for MP3 streaming, but it can also play AAC, OGG. By using transcoder plugins, Subsonic supports WMA, FLAC, APE, WavPack and many others.

How to Install Subsonic Music Streamer on Ubuntu:

To run Subsonic, you need OpenJDK or Java JDK.

Download the getdeb repo and install it:

$ wget
$ sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb

Update the repo index:

$ sudo apt-get update

Install Subsonic:

$ sudo apt-get install subsonic

To use Subsonic, paste this as URL: http://localhost:4040.

Subsonic runs as root, by default. If you don’t want this (it is not recommended to run Subsonic as root, create a special user for it):

$ sudo service subsonic stop
$ sudo adduser --system --no-create-home subsonic
$ sudo adduser subsonic audio
$ chown -R subsonic:nogroup /tmp/subsonic
$ chown -R subsonic:nogroup /var/subsonic
$ chown -R root:root /var/subsonic/transcode
$ chown -R root:root /var/subsonic/jetty/*/webapp
$ chown subsonic /etc/default/subsonic
$ chmod 754 /etc/default/subsonic

Next, open the /etc/default/subsonic file with super user privileges:

$ gksudo gedit /etc/default/subsonic

And replace: “SUBSONIC_USER=root” with “SUBSONIC_USER=subsonic”.

Restart the subsonic service:

$ sudo service subsonic restart

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!
One comment on “How to Install Subsonic Music Streamer on Ubuntu 13.04, 12.10, 12.04
  1. Frank H. says:

    The part about changing user is doesn’t work on Ubuntu 14.04. There is no solution other than compiling from source, which i a useless solution. The creators of subsonic offer absolutely zero support. Stay away from this software.

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!