FreeBSD installation guide
Installing Squeezebox Server on FreeBSD
Obtain the ports collection
This guide assumes that you have the ports collection in
/usr/ports. If do not, you can fetch it readily using these commands (
# is a root shell prompt):
# portsnap fetch # portsnap extract
You may also use another method for acquiring the ports collection, as discussed in the FreeBSD Handbook here.
Install the port
Following the port installation guide in the FreeBSD Handbook here, install the port
You should probably install mysql 5.1 before this!
# cd /usr/ports/audio/squeezeboxserver # make install clean
Run and configure
Start the server using the following command:
# /usr/local/etc/rc.d/squeezeboxserver start
You may now connect to the web interface to configure the server.
(first time attempt to run; after successful build, generates-
"Your locale was detected as C, ...", "dirsFor: Didn't find a match request: [oldprefs]" "dirsFor: Didn't find a match request: [playlists]" "dirsFor: Didn't find a match request: [music]"
Currently, 1 Mar 2012, the port configuration is incorrect. It lists mysql rather than mysql51 as a dependency so now mysql55 is installed. So you need to install MySQL 5.1
# cd /usr/ports/databases/mysql55-server # make deinstall clean
# cd /usr/ports/audio/squeezeboxserver/ # make deinstall clean
Reinstall Correct Dependent Packages
# cd /usr/ports/databases/mysql51-server # make install clean
# perl -MCPAN -e shell
within subsequent CPAN shell .
# install Bundle::DBD::mysql
quit the CPAN shell
# cd /usr/ports/databases/p5-DBD-mysql # make install clean
Reinstall Squeezebox Server Packages
# cd /usr/ports/audio/squeezeboxserver/ # make install clean
Run on boot
If you'd like the server to start automatically on boot, simply add the following line to
You may use your favorite editor for this task--try
ee if you don't know of any.