How to Install Serviio a DLNA Media server in Linux

November 7, 2014 | By
| 1 Reply More

Serviio is a free DLNA media server. It allows you to stream your media files (music, video or images) to any DLNA capable device on your network, this can include TVs, Blue-ray players, Smartphones, other computers, etc. Unlike other media servers like Plex or XBMC that focus more on the DLNA part and it does so greatly.

I personally run it on my home server sharing 1 TB of media to 3 TVs, 2 tablets, a few smartphones and it works flawlessly.

Install Serviio

You will need to make sure you have installed Java version 6 or greater on the system (you can do so using the command "java -version") and the ffmpeg package.

You can download the Linux package from Serviio download page, you can use wget to do this and decompress it:

# wget http://download.serviio.org/releases/serviio-1.4.1.2-linux.tar.gz
# tar zxvf serviio-1.4.1.2-linux.tar.gz

Then I suggest renaming the folder and move it to a location you desire, I choose /usr/local/share/:

# mv serviio-1.4.1.2 serviio
# mv serviio /usr/local/share/

Making Serviio run at boot time

To make it run at boot time you will have to create a file in /etc/init/ named serviio.conf with the following content:

start on started networking
script
/usr/local/share/serviio/bin/serviio.sh
end script

And it will run the server during boot time.

You can also stop and start the service running the following commands:

sudo start serviio

and

sudo stop serviio

and check it's status with

initctl list | grep serviio

serviio running

Sharing media with Serviio

Now you can run the console with the following command:

# /usr/local/share/serviio/bin/serviio-console.sh

In the first tab of the console you will see a list of devices on your network, while the Generic profile works well on most devices, since this application is focused on DLNA it has a number of profiles you can select, those profiles offer the best settings for that particular device.

For example the device with the IP address 192.168.1.201 is a Samsung TV, so I selected the appropriate Samsung TV profile for my model as you can see on the orange row:

serviio console

Next go to the Library tab, here using the Add Local or Add path (for remote content) you can add content to share with other devices on your local network:

serviio library

There are 5 check boxes on each line, the first 3 boxes identify the content as video, audio or photo files, the next is meta data (it tells the media server to download information about this media files from the internet, like thumbnails and movie information) and the next will tell Serviio to continue scanning that folder for updates.

Now you can access the service remotely, for example on my Samsung TV, when I press the Source button the DLNA servers will show like this:

samsung tv

From there you can access all the video, audio and photo files you shared, it will look something like this:

samsung tv dlna

Serviio is a great service to have on your home network, it doesn't spend a lot of resources and it does the job of sharing media files flawlessly so uou can just enjoy the content on any of your devices.

Filed Under : LINUX HOWTO

Free Linux Ebook to Download

Comments (1)

Trackback URL | Comments RSS Feed

  1. sylvain says:

    Hello.
    I followed this on Xubuntu 16.04 and serviio 1.6.1
    when trying to start serviio i get :

    Failed to connect to socket /com/ubuntu/upstart: Connection refused

    What am i missing ?

    excuse me for my bad english.

Leave a Reply

Commenting Policy:
Promotion of your products ? Comment gets deleted.
All comments are subject to moderation.