in a terminal type
Then with the output eg 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
Edit: Then go to http://localhost.
Bookmarks