Migrate from Windows to FreeBSD

Need help? Post your questions here.

Moderator: moderators

Migrate from Windows to FreeBSD

Postby subsonicBSDUser » Sat Sep 03, 2011 7:35 pm

Hello Everyone,

I'm trying to move my Windows install to a FreeBSD based host. In FreeBSD there is a port for subsonic, but it's based on Apache Tomcat and not Jetty. I thought I would only have to move just the contents of the Windows webapps folder to the webapps folder of tomcat, but that didn't work. Does anyone have experience with this, or any ideas for me to try?

Thanks!
subsonicBSDUser
 
Posts: 2
Joined: Sat Sep 03, 2011 7:12 pm

Re: Migrate from Windows to FreeBSD

Postby redbeard » Sat Sep 03, 2011 9:36 pm

I don't have any experience with using the WAR version- I just download the standalone installer (http://www.subsonic.org/pages/download2 ... one.tar.gz), configure the subsonic.sh file, and ./subsonic.sh. It just uses Java and runs its own web server. Just from reading the instruction page though (http://www.subsonic.org/pages/installation.jsp#war), I don't see why it wouldn't work, if you just directly download the WAR and toss it in the Tomcat webapps directory.

I did download and custom compile ffmpeg-mt (http://gitorious.org/ffmpeg/ffmpeg-mt) for it just so that it would use multiple threads for decoding and encoding. My configure string is:
./configure --prefix=/usr/local/subsonic/transcode/ffmpeg --enable-pthreads --disable-shared --enable-static --enable-gpl --enable-libx264 --enable-libmp3lame --enable-libfaac --enable-nonfree --extra-cflags="-I/usr/local/src/x264-snap -I/usr/local/include -D__BSD_VISIBLE" --extra-ldflags=-L/usr/local/lib --disable-indev=bktr --disable-indev=oss --disable-outdev=oss --extra-cflags=-DBROKEN_RELOCATIONS --disable-decoder=vp5 --disable-decoder=vp56 --disable-decoder=vp6 --disable-decoder=vp6a --disable-decoder=vp6f --disable-decoder=vp8

Some of that stuff (like all of the vp* decoders being disabled) may not be needed anymore, they're just leftover from when the vp* wouldn't compile properly with ffmpeg-mt. And, of course, the --prefix will likely need to be changed, plus you'll have to tell Subsonic where to find the ffmpeg binary.
redbeard
 
Posts: 4
Joined: Thu Aug 25, 2011 5:03 am

Re: Migrate from Windows to FreeBSD

Postby subsonicBSDUser » Sun Sep 04, 2011 3:30 am

That looks like some good info to get started, but the problem is I used the windows stand alone installation and I want to preserve my settings to move to the BSD box. If I use the method you suggested, it would be a brand new install wiping out my activation and other settings. :(
subsonicBSDUser
 
Posts: 2
Joined: Sat Sep 03, 2011 7:12 pm

Re: Migrate from Windows to FreeBSD

Postby BKKKPewsey » Sun Sep 04, 2011 1:54 pm

Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests