Don't use these instructions, they're outdated! I think forked-daapd is your best bet nowadays. Instructions below are too old to be useful.
For posterity, here is the original content:
Note, you'll have to be logged in as root for most of the steps outlined here!
To set up your own iTunes server in FreeBSD, first install daapd. You can fetch it from the ports collection by following the next steps:
# cd /usr/ports/audio/daapd/After that's done, go to /usr/local/etc and rename the daapd.conf.sample to daapd.conf and open it in your favorite editor.
Change ServerName and DBName and enter the path to your MP3 directory behind Root. My config file looks like this:
Port 3689 ServerName Selenium daapd DBName FreeBSD iTunes server Password Root /usr/home/fs1/mp3/ Cache Timescan 2 Rescan 0
Now we are going to install Apple's Rendezvous.
Update: I think you can just install mDNSResponder form /usr/ports/net/mDNSResponder/, though I'm not sure. (This guide was written before mDNSResponder was in the ports)
The only thing we have to do now, is changing the configfile for mDNSResponder. Go to /usr/local/etc/ and open(/create) mDNSResponder.conf. Mine looks like this:
FreeBSD iTunes server _daap._tcp. 3689
The newline after _daap._tcp. is important! Save the file and you're done!
Of course, you might want to run the programs ;) Both (daap and Rendezvous) will automatically be started when you reboot your server, but of course you can start them manually:
It might take some time for daapd to load completely (depending on the size of your MP3 collection), but after it's done you can open iTunes and it should have your server listed!

Home
|
Sources: http://www.whatsinyourbox.org/article28.html http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2003-April/001723.html http://www.wokurka.net/blog/index.php |