How to install LMS on Ubuntu Server Latest from https://github.com/epoupon/lms
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.
Prerequisites
Before proceeding with this tutorial, you need to have the following:
- A Ubuntu Server Latest installation
- A user with sudo privileges
- SSH access to your server
- An internet connection
Step 1: Install Git and Required Libraries
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
Step 2: Clone the LMS Git Repository
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.
Step 3: Build and Install LMS
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
Step 4: Configure 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.
Step 5: Access LMS from a Client
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.
Conclusion
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!