Pretty simple:
1. Create a new jail inside The Brig. Make sure to tick "start jail with system" and make sure you are using the given base files for your given system.
2. Once the jail is created and started go to: (This will enable jails to access the shared ports tree)
Extensions -->TheBrig -->Updates-->Central Ports-->Check mark the new Jail--> Save
**If this is a fresh install click "Fetch and Update"
3. Back to the Jails main page and make sure it is running. Take note the IP address
4. SSH into your nas and run
- jexec 1 csh
5. Once you are in your jail you can issue the following commands which will install the required packages.
- pkg install xtrans xproto xextproto javavmwrapper flac openjdk
- cd /usr/ports/lang/gcc46/
- make config
- make config-recursive
- make install clean
pkg install gcc46
6. Continue installing the packages:
- pkg install libtheora
- cd /usr/ports/multimedia/ffmpeg
- make config
- make config-recursive
- make install clean
- mkdir /var/subsonic
- mkdir /var/subsonic/transcode
- mkdir /var/subsonic/standalone
- cp /usr/local/bin/lame /var/subsonic/transcode/
- cp /usr/local/bin/flac /var/subsonic/transcode/
- cp /usr/local/bin/ffmpeg /var/subsonic/transcode/
- Go to Subsonic.org and download the tar.gz file for "other systems"
- Place this file in: /tmp inside your jail filesystem
- cd /var/subsonic/standalone
- tar xvzf /tmp/subsonic-6.0-standalone.tar.gz <-------(You will have to adjust the file name as needed)
- chmod 777 *.*
- sh /var/subsonic/standalone/subsonic.sh
- From NAS4Free go to System > Advanced > Command Scripts
- Click on the ‘+‘ sign to add an additional command script as follows:
- Command: jexec 1 /var/subsonic/standalone/subsonic.sh
- Type: PostInit
- Save and reboot your server.
