Tonight I have tested my install notes on a fresh virtual SME7. The notes are below but without much fancy formatting, instead I am creating a how-to page
http://wiki.contribs.org/SqueezeBoxServer to document them.
ssh to server as root:
db yum_repositories set squeezecenter-release repository \
BaseURL
http://repos.slimdevices.com/yum/squeezecenter/release/ \
EnableGroups no \
GPGCheck no \
GPGKey
http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter \
Name 'SqueezeCenter Release Repository' \
Visible no \
status disabled
signal-event yum-modify
yum --enablerepo=squeezecenter-release install squeezeboxserver
db configuration set squeezeboxserver service \
status enabled \
TCPPorts 9000,3483 \
UDPPorts 9000,3483 \
access private
signal-event remoteaccess-update
mkdir -p /opt/squeezeboxserver/playlists
mkdir -p /opt/squeezeboxserver/music
chown squeezeboxserver:squeezeboxserver /opt/squeezeboxserver/playlists
chown squeezeboxserver:squeezeboxserver /opt/squeezeboxserver/music
cd /usr/local
wget
http://www.herger.net/slim/perl510.tgztar -xzf perl510.tgz
check perl has installed ok with:
/usr/local/perl510/bin/perl5.10.0 -v
ln -s /usr/local/perl510/bin/perl5.10.0 /usr/local/bin/
ln -s /usr/share/squeezeboxserver/CPAN/ /usr/libexec/CPAN
Next 3 stages need to be repeated after any upgrade.
edit first line of '/usr/libexec/squeezeboxserver' and '/usr/libexec/squeezeboxserver-scanner'
from
#!/usr/bin/perl -w
to
#!/usr/local/bin/perl5.10.0 -w
edit '/usr/lib/perl5/vendor_perl/Slim/bootstrap.pm'
At line 142 add
@INC = grep { $_ !~ /5\.8/ } @INC;
To test:
sudo -u squeezeboxserver /usr/libexec/squeezeboxserver --prefsdir=/var/lib/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver --cachedir=/var/lib/squeezeboxserver/cache --charset=utf8 --d_startup --s_stdout
ctrl-c will stop
To start service
service squeezeboxserver start
access web interface at '
http://my_servers_ip:9000/'
logs are in /var/log/squeezeboxserver/