Results 1 to 2 of 2

Thread: Trying to setup Subsonic...

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Trying to setup Subsonic...

    in a terminal type
    Code:
    which java
    Then with the output eg
    Code:
     /usr/bin/java
    change the red part to the correct path eg.
    $JAVA_HOME/usr/bin/java
    Code:
    #!/bin/sh
    
    # The directory where Subsonic will create files. Make sure it is writable.
    SUBSONIC_HOME=/var/subsonic
    
    # The port on which Subsonic will listen for incoming HTTP traffic.
    SUBSONIC_PORT=8080
    
    # The context path (i.e., the last part of the Subsonic URL).  Typically "/" or "/subsonic".
    SUBSONIC_CONTEXT_PATH=/
    
    # The memory limit (max Java heap size) in megabytes.
    MAX_MEMORY=64
    
    
    $JAVA_HOME/bin/java -Xmx${MAX_MEMORY}m  -Dsubsonic.home=${SUBSONIC_HOME} -Dsubsonic.port=${SUBSONIC_PORT} \
    -Dsubsonic.contextPath=${SUBSONIC_CONTEXT_PATH} -jar subsonic-booter-jar-with-dependencies.jar
    then save the change and then make sure that /var/subsonic directory is created
    Code:
    sudo mkdir /var/subsonic
    then run the script
    Code:
    sudo ./subsonic.sh
    Edit: Then go to http://localhost.
    Last edited by Partyboi2; December 30th, 2008 at 10:04 AM.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •