How to Install LMS on Elementary OS
LMS is an open-source Logitech Media Server that allows you to stream music from various sources to your devices. In this tutorial, we will go through the steps necessary to install LMS on Elementary OS.
Prerequisites
- A computer running Elementary OS
- A stable internet connection
- An account with administrative privileges
Step 1: Install the required dependencies via terminal
Open the terminal and type in the following commands to install the dependencies.
sudo apt-get update
sudo apt-get install -y curl git make build-essential libssl-dev
Step 2: Download and install LMS
Now let's download and install LMS by running the following commands:
curl -L https://github.com/epoupon/lms/releases/download/8.1.1/lms_8.1.1_all.deb > lms.deb
sudo apt-get install -y ./lms.deb
Step 3: Configure LMS
Once LMS is installed, you can access the web interface by opening a browser and navigating to http://localhost:9000. However, before we can start streaming our music, we need to configure LMS.
You can configure LMS by running the following command:
sudo /etc/init.d/logitechmediaserver stop
sudo /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 --user=squeezeboxserver
The above command will start the server and allow you to access the LMS web interface to setup and configure your LMS server.
Congratulations! You have successfully installed LMS on your Elementary OS machine. You can now start using LMS to stream your music.