How to install Subsonic on FreeNAS
Posted: Tue Jan 13, 2009 5:49 pm
This tutorial explains how to install Subsonic on the popular FreeNAS server.
The following was done with Subsonic 3.6 and FreeNAS 0.69. Note that a "full", not "embedded" FreeNAS installation is required. Make sure to allocate enough disk space on the OS partition. Java and Subsonic requires at least 150MB.
In terms of hardware requirements, you probably need at least 750MHz CPU and 180MB RAM.
Step 1: Download Java JRE (or JDK) package from http://www.freebsdfoundation.org/downloads/java.shtml
Step 2: Install dependent packages first:
Step 3: Install the JRE (the .tbz file is the one you downloaded in step 1)
Step 4: Download Subsonic standalone version and install it in /var/subsonic/standalone, as described here.
Step 5: In the FreeNAS web interface, go to System > Advanced > Command script and add the following "PostInit" script:
Step 6: Reboot FreeNAS, and go to http://<your-freenas-server>:8080 to start using Subsonic.
Your comments are welcome!
The following was done with Subsonic 3.6 and FreeNAS 0.69. Note that a "full", not "embedded" FreeNAS installation is required. Make sure to allocate enough disk space on the OS partition. Java and Subsonic requires at least 150MB.
In terms of hardware requirements, you probably need at least 750MHz CPU and 180MB RAM.
Step 1: Download Java JRE (or JDK) package from http://www.freebsdfoundation.org/downloads/java.shtml
Step 2: Install dependent packages first:
- Code: Select all
$ pkg_add -v -r xtrans
$ pkg_add -v -r xproto
$ pkg_add -v -r xextproto
$ pkg_add -v -r javavmwrapper
Step 3: Install the JRE (the .tbz file is the one you downloaded in step 1)
- Code: Select all
$ pkg_add -v diablo-jre-freebsd6.i386.1.6.0.07.02.tbz
Step 4: Download Subsonic standalone version and install it in /var/subsonic/standalone, as described here.
Step 5: In the FreeNAS web interface, go to System > Advanced > Command script and add the following "PostInit" script:
- Code: Select all
/var/subsonic/standalone/subsonic.sh
Step 6: Reboot FreeNAS, and go to http://<your-freenas-server>:8080 to start using Subsonic.
Your comments are welcome!