Jump to content
aelius

Instalare DLNA server pe Debian

Recommended Posts

Daca doriti sa va faceti un DLNA Server pentru a face sharing la continut de pe laptop/server pe Smart TV sau orice alt device care suporta DLNA puteti instala MiniDLNA pe Debian.

Instalarea si configurarea acestuia se face foarte usor si dureaza mai putin de doua minute.

1. Instalare


root@hp:~# apt-get update
.......
root@hp:~# apt-get install minidlna
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libid3tag0
The following NEW packages will be installed:
libid3tag0 minidlna
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 465 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y

2. Structura directoare din care facem sharing la continut


root@hp:~# mkdir /home/share
root@hp:~# mkdir /home/share/Photos
root@hp:~# mkdir /home/share/Videos
root@hp:~# mkdir /home/share/Music

3. Permisiuni pentru user/group sub care ruleaza daemonul minidlna


root@hp:~# chown -R minidlna:minidlna /home/share/

4. Fisierul de configuratie '/etc/minidlna.conf'


# MiniDLNA configuration file
media_dir=P,/home/share/Photos
media_dir=V,/home/share/Videos
media_dir=A,/home/share/Music
port=8200
friendly_name=HP DLNA SERVER
serial=12345678
model_number=1
inotify=yes
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

5. Pornire daemon si verificare daca acesta ruleaza


root@hp:~# /etc/init.d/minidlna start
root@hp:~# ps aux|grep minidlna
minidlna 42541 0.0 0.0 118048 2744 ? Ssl 00:01 0:00 /usr/bin/minidlna -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid
root 43043 0.0 0.0 7836 868 pts/1 S+ 00:15 0:00 grep minidlna

Mai multe detalii despre DLNA puteti citi aici: Digital Living Network Alliance - Wikipedia, the free encyclopedia

Am facut doua poze la TV cu device-ul (debianul cu minidlna) si folderele sharate. Acestea pot fi vazute aici

Daca nu va descurcati, puteti intreba.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...