Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Sep 2016

    George's HOWTO guide for installing Logitech Media Server on Centos 7 (also RHEL 7)

    Hello folks, my name is George, and I've recently installed the Logitech Media Server v7.8.1 on a CentOS 7 machine. The purpose of this post is to share the process I used, step by step, to hopefully help those who aren't as familiar with this operating system.

    A little background; I bought the original SliMP3 back in 2001, and have been using the Slim Devices / Logitech hardware and software to manage and play my music collection ever since. Today I've got two Booms and two Transporters in my home. One of the Transporters is a Modwright "Ultimate Truth" modified unit. So yeah, I'm a hi-fi geek but I'm also a Red Hat Enterprise Linux geek. In fact, that's my day job. I'm a RHEL 7 Certified Systems Administrator, which came in handy upon upgrading my trusty LMS server from CentOS 6 to CentOS 7. Here is how I went about it, step by step:

    This guide assumes you have a freshly installed CentOS 7 machine, installed with the "minimal server" profile. The "minimal server" profile is pretty bare bones, which is what we want for a special purpose music server like this. Since these directions apply just the same to RHEL 7, CentOS 7, and Scientific Linux 7, I will refer to them collectively as "EL7".

    1. Upon logging in as root to your newly created EL7 server, run the following commands to install all of the outstanding updates, and then reboot.

    yum -y upgrade
    shutdown -r now

    2. Once the machine is back up, again log in as root, and we'll install the prerequisite software packages. These packages are required either to download and install LMS, or for it to start and run properly. Because the RPM file you will download isn't specific to EL7, it doesn't automatically pull them in as dependencies, we have to install them manually.

    yum -y install perl-Time-HiRes perl-CGI perl-Digest-MD5 nfs-utils wget

    3. Next we'll download the LMS server package. I used version 7.8.1 for my server, which was the most recent version in the 7.8 branch at the time I installed it. The software is available on this web site (http://downloads.slimdevices.com/nightly/?ver=7.8) Although we will retrieve it using wget.

    wget http://downloads.slimdevices.com/nig...076.noarch.rpm
    yum localinstall ./logitechmediaserver-7.8.1-0.1.1472561076.noarch.rpm

    4. We have to create this symbolic link on the filesystem in order for the LMS server to start and run:

    ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib64/perl5/Slim

    5. Your EL7 server uses firewalld instead of plain old iptables like EL6 did. Here's the commands to open the required ports using firewalld:

    firewall-cmd --zone=public --add-port=9000/tcp --permanent
    firewall-cmd --zone=public --add-port=3483/tcp --permanent
    firewall-cmd --zone=public --add-port=3483/udp --permanent
    firewall-cmd --reload

    6. Lets start the LMS server, and set it to auto-start during bootup. EL7 uses systemd instead of the old init system, so the commands are different than they were on EL6:

    systemctl start squeezeboxserver
    systemctl enable squeezeboxserver

    7. Now you should be able to browse to http://yourserver:9000 and begin configuring the Logitech Media Server. Congrats, you're all finished!

    Optional step: If you want to enable the transcoding feature in LMS, you'll have to install the LAME MP3 encoder. The LAME software is not available in the default EL7 repositories, so you'll have to add a 3rd party repository to install it.

    cd /etc/yum.repos.d/
    wget http://negativo17.org/repos/epel-handbrake.repo
    yum -y install lame

    Hopefully you've found this helpful, If you spot any errors or omissions, please let me know and I'll update these steps.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Thanks for these instructions!

    I wonder what Perl version CentOS 7 is using? And wouldn't 7.9 have run out of the box, as it comes with extended platform support?

    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
    (LMS: Settings/Information)

  3. #3
    Senior Member
    Join Date
    Sep 2005
    Quote Originally Posted by mherger View Post
    Thanks for these instructions!

    I wonder what Perl version CentOS 7 is using? And wouldn't 7.9 have run out of the box, as it comes with extended platform support?
    That might be an wonderfull addon for the wiki.....

    @ Michael: who is the bureaucrat for the wiki /or at least admin?
    We need to delete some Articles in the wiki like debian startup file and other outdated stuff

    edit: damned..
    Login error
    SqueezeboxWiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.
    my cookies are enabled
    Last edited by DJanGo; 2016-09-16 at 02:33.

  4. #4
    Senior Member
    Join Date
    Jan 2011
    Staffordshire. UK
    George, would this be possible on a raspberry pi3, using


    as a base?



  5. #5
    Junior Member
    Join Date
    Nov 2018

    Many Thanks!

    Awesome Instructions! Many thanks for your time. I still have a Squeezebox Classic which I was using in conjunction with a Vortexbox image on a VM. I recently upgraded my home server to Centos 7.5 and wanted to move it over. I was looking for some simple instructions to save me some time. This was just what the Dr. ordered. -- Thanks again.

  6. #6
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    London, England
    LMS runs really well on Centos 7 I have used Centos for many years now and have very few of the issues that I see here with LMS


    Want a webapp ? Get SqueezeLite-X ! https://forums.slimdevices.com/showt...l=1#post903953

  7. #7
    Senior Member maggior's Avatar
    Join Date
    Dec 2006
    I just upgraded my server machine and had to move up to a newer version of CentOS. I went with 7 and tried installing the current version of the Squeezebox software and ran into problems straight away. Following these simple instructions had me up and running in minutes. Thanks so much!!!
    Setup: 2 SB3s, 4 Booms, 1 Duet, 1 Receiver, 1 Touch, iPeng on iPod Touch, SqueezeCommander, OrangeSqueeze, and SqueezePlayer on Xoom and Galaxy Player 4.2. CentOS 6.3 Server running LogitechMediaServer 7.7.2 and SqueezeSlave.
    Current library stats: 40,810 songs, 3,153 albums, 582 artists.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts