|
With the appearance of TVs may read content online, specifically through DLNA. It is imperative to make our PCs small servers of files to be able to view them directly from the TV (videos, photos, music, etc.). If you have a TV or other device that supports DLNA and you are tired of transferring the files on a disc USB, here is a solution. |
First of all a brief definition of DLNA. DLNA (Digital Living Network Alliance) is an association of electronics and computer manufacturers that agreed to create a kind of compatible standard for all their systems. DLNA allows the different devices that may be within the same network to interconnect with each other to share different content. The advantage it can offer is easy setup and versatility. This system can work on both Wi-fi and Ethernet networks.
Here I propose a fully automated solution, consisting of using MiniDLNA software. It is about sharing a folder and everything it contains is made visible to computers on the network. We just have to tell the preferred download software to save everything in the folder (s) we share. This program works on Linux and is free.
We execute the following commands as root:
apt-get -y install build-essential apt-get -y install libavutil-dev libavcodec-dev libavformat-dev libflac-dev apt-get -y install libvorbis-dev libid3tag0-dev libexif-dev apt-get -y install libjpeg62- dev libsqlite3-dev
Then you have to download the miniDNLA source code, unzip it and compile it:
./configure make make install cp linux / minidlna.init.d.script /etc/init.d/minidlna chmod 755 /etc/init.d/minidlna update-rc.d minidlna defaults
Once installed we configure it by editing the /etc/minidlna.conf file
nano /etc/minidlna.conf
and to start it
/etc/init.d/minidlna start
Having it installed as a service, if we restart the computer, the MiniDLNA will start up by itself. There is nothing more to do.
Source: Linux technicians