On this page
How To Run A Logitech Media Server On CentOS 6.3
? requires some extra steps to set up on CentOS 6. This description is based on CentOS 6.3 x86_64 minimal.
- Install CentOS 6
- Update
yum update -y
- Install some required software
yum install -y perl-Time-HiRes perl-CGI glibc.i686
- Download Logitech Media Server from mysqueezebox.com into /root and install it:
yum localinstall -y logitechmediaserver-*.noarch.rpm
cd /usr/lib64/perl5/vendor_perl
ln -s /usr/lib/perl5/vendor_perl/Slim Slim - Open firewall ports:
- 3483 for streaming
- 9000 for the web interface
- 9090 for the CLI interface
lokkit -p 3483:tcp
lokkit -p 3483:udp
lokkit -p 9000:tcp
lokkit -p 9090:tcp
- (Optional) Redirect port 80 to port 9000
iptables -t nat -I PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 9000
ip6tables -t mangle -I PREROUTING -i eth0 -p tcp --dport 80 -j TPROXY --on-port 9000
service iptables save
service ip6tables save - Restart the media server
chkconfig squeezeboxserver on
service squeezeboxserver restart