LMS or "Lightweight Music Server" is an open-source audio streaming software that enables you to stream music from your PC to another device, such as a smartphone or a tablet. In this tutorial, we will show you how to install LMS on Ubuntu Server Latest from https://github.com/epoupon/lms.
Before proceeding with this tutorial, you need to have the following:
The first step is to install Git and the required libraries by running the following commands:
sudo apt-get update
sudo apt-get install git build-essential libflac-dev libogg-dev libvorbis-dev libpcre3-dev libjpeg-dev libfaad-dev libmad0-dev libsndfile1-dev libmpg123-dev libjson-c-dev libavcodec-dev libavformat-dev libavutil-dev libcrypt-openssl-rsa-perl
Next, clone the LMS Git repository by running the following command:
git clone https://github.com/epoupon/lms.git
This command will create a directory named lms
in your current directory and clone the LMS repository into it.
Navigate to the lms
directory and run the following commands to build and install LMS:
cd lms
mkdir build
cd build
cmake ..
make
sudo make install
This process can take some time depending on your server's resources. Once the installation is complete, you can start the LMS service with the following command:
sudo systemctl start lms
LMS should be up and running at this point. You can access the web interface by navigating to http://<your server's IP address>:9000
in your web browser. The default username and password for LMS web interface are admin
and 1234
, respectively.
You can configure LMS by navigating to the Settings
tab in the web interface. Here, you can specify your music library location and configure other settings as per your requirements.
To access LMS from a client device, you need to install a client app on that device. You can find a list of LMS client apps on the official LMS website at https://wiki.slimdevices.com/display/Downloads/Squeezebox+Software+Downloads
.
Once you have installed a client app, simply connect to your LMS server and start streaming your music.
By following the steps outlined in this tutorial, you can easily install LMS on your Ubuntu Server Latest installation from https://github.com/epoupon/lms, and start streaming your favorite music to any device. Happy streaming!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!