How To Run A Logitech Media Server On CentOS 6.3

Want to support HowtoForge? Become a subscriber!
 
Submitted by fhuberts (Contact Author) (Forums) on Fri, 2012-11-02 19:52. :: CentOS

How To Run A Logitech Media Server On CentOS 6.3

Logitech Media Server 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


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.