Feb 172013
 

Subsonic is pretty awesome

Install instructions
http://www.subsonic.org/pages/installation.jsp#debian
http://dilerium.se/musiccabinet/#installation

I’ve kept notes for when I end up rebuilding this server.

Start by updating the system

sudo apt-get update
sudo apt-get upgrade

Install Oracle Java 7

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Reference Links
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
http://ubuntuforums.org/archive/index.php/t-2000856.html

Install Subsonic

http://www.subsonic.org/pages/installation.jsp#debian
wget http://prdownloads.sourceforge.net/subsonic/subsonic-4.7.deb
sudo dpkg -i subsonic-4.7.deb
sudo service subsonic stop

Install musiccabinet

sudo apt-get install unzip
wget http://dilerium.se/musiccabinet/subsonic-installer-standalone.zip
unzip subsonic-installer-standalone.zip

sudo cp ~/subsonic-installer-standalone/subsonic-booter.jar /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar
sudo cp ~/subsonic-installer-standalonesubsonic-main.war /usr/share/subsonic/subsonic.war

Set a password for the “postgres” database role using the command:

Advertisement:
sudo -u postgres psql postgres
\password postgres

Give your password when prompted. The password text will be hidden from the console for security purposes.
Type Control+D to exit the posgreSQL prompt.

Reference Links
https://help.ubuntu.com/community/PostgreSQL

Start Subsonic Service

sudo service subsonic start

Connect to the IP address of the ubuntu server using http on port 4040, default username / password is admin / admin

I have to agree with the musiccabinet installation instructions for the last step “Start and log in to Subsonic as usual (normally via localhost:4040) and click the big “Configure MusicCabinet” header link. It should be pretty self-explanatory from there.” It really is self-explanatory.

I love iSub for streaming to my iPhone, DSub for streaming to my android tablet. I think “donating” to the project is a good idea, but if you don’t feel like it…
https://gist.github.com/andycandet/1611509 will enable subsonic after the “trial” has ended.

  6 Responses to “subsonic + musiccabinet + ubuntu server 12.04 LTS”

  1. Nice tutorial. Got me setup with MusicCabinet and Subsonic. Was stuck with PostgreSQL but the link helped me create a user/database !!

  2. […] A shameless copy of http://www.ragingcomputer.com/2013/02/subsonic-musiccabinet-ubuntu-server-12-04-lts […]

  3. […] A shameless copy of http://www.ragingcomputer.com/2013/02/subsonic-musiccabinet-ubuntu-server-12-04-lts […]

  4. Thank you for this!

    There may be a little issue around this part of the instructions as these files are seemingly not found in the .zip:

    <blockquote cite="sudo cp ~/subsonic-installer-standalone/"“subsonic-booter.jar”/usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar
    sudo cp ~/”
    “subsonic-installer-standalonesubsonic-main.war” /usr/share/subsonic/subsonic.war”/>

  5. excellent instructions! I had to:
    1. install and setup postgreSQL (sudo apt-get install postgresql postgresql-contrib)
    2. setup admin account (sudo -u postgres psql postgres)(\password postgres) and make a note of that password
    3. reset my subsonic admin username/password (mv /var/subsonic/db /var/subsonic/db.old)
    4. go to serverIP:4040 login with admin/admin, then rebuild the whole library

  6. Looking for a way to uninstall Music Cabinet. MC software not being updated and last.fm scrobbing not working.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)