MiniDLNA - Servidor de mídia descomplicado

Debian jessie, isso e pq eu estou usando no /etc/apt/sources.list deb-multimedia tem as duas versões.

MiniDLNA - version 1.1.4

apt-get install minidlna

/etc/init.d/minidlna stop

echo "fs.inotify.max_user_watches=65536" >> /etc/sysctl.conf

Crie uma pasta.
mkdir /media/Documentos/doc/minidlna
Entre na pasta.
cd /media/Documentos/doc/minidlna
Crie atalhos que vc queira.
EXE::
ln -s /home/fran/Vídeos
ln -s /home/fran/Imagens
ln -s /home/fran/Música

######################################################

Configurar o arquivo com seu editor de preferência.
mv /etc/minidlna.conf  /etc/minidlna.conf_BK
leafpad /etc/minidlna.conf

# Alterar isso
port=8200
# network_interface=wlan0
media_dir=/media/Documentos/doc/minidlna
friendly_name=Debian DLNA Server
db_dir=/var/cache/minidlna
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
inotify=yes
enable_tivo=no
strict_dlna=no
notify_interval=900
serial=12345678
model_number=1
root_container=B
# max_connections=10
########################################################

/etc/init.d/minidlna start

service minidlna status

##############################################################
 OBS: Opcional, ai ele fica na MiniDLNA - Version 1.1.2

Configurar o arquivo com seu editor de preferência.

leafpad /lib/systemd/system/minidlna.service

[Unit]
Description=MiniDLNA is a DLNA/UPnP-AV server software
After=local-fs.target network.target

[Service]
User=minidlna
Group=minidlna
Type=forking
ExecStartPre=/bin/mkdir -p /var/run/minidlna
ExecStartPre=/bin/chown $USER /var/run/minidlna
ExecStart=/usr/bin/minidlnad -f /etc/minidlna.conf -P /var/run/minidlna/minidlna.pid

[Install]
WantedBy=multi-user.target


Agora de o comando.

systemctl daemon-reload
systemctl enable minidlna.service
#########################################################

Configurar o arquivo com seu editor de preferência.

leafpad /etc/init.d/minidlna

De DAEMON=/usr/sbin/minidlnad
Para DAEMON=/usr/bin/minidlnad

Acessar pelo nome da maquina
http://debian:8200
Ou por ip
http://192.168.1.60:8200
http://127.0.0.1:8200
http://127.0.0.2:8200
Ou
http://localhost:8200/


Para instalar a MiniDLNA - version 1.1.5 64bits.

su
cd /tmp
wget "http://tf2.000webhostapp.com/linux/programas/minidlna/minidlna-1.1.5_static-amd64.deb"
dpkg -i minidlna-1.1.5_static-amd64.deb

Configure apenas essa parte media_dir=/media/Documentos/doc/minidlna no arquivo leafpad /etc/minidlna.conf  ele já esta o resto configurado como acima.





Comentários

Postagens mais visitadas deste blog

Roteador Modelo HGW-2501GNP-RC da Vivo

wicd perfil otimizado

Login automático debian