segunda-feira, 1 de junho de 2015

Instalando e configurando minidlna Media Server no Raspberry PI

sh pi@192.168.0.16

pi@raspberrypi~:

sudo apt-get update


sudo apt-get upgrade




sudo blkid
/dev/sda1: LABEL="ExternalHD" UUID="49A1-143B" TYPE="vfat"



sudo mkdir -p /media/HardDrive
sudo chmod 755 /media/HardDrive



sudo nano /etc/fstab



UUID=49A1-143B  /media/HardDrive   vfat    defaults      0     0



sudo apt-get install minidlna
sudo nano /etc/minidlna.conf


# Alterar o diretorio do ponto de montagem do HD Extern.
media_dir=A,/media/HardDrive/Media/Music
media_dir=V,/media/HardDrive/Media/Video
media_dir=P,/media/HardDrive/Media/Photos

# Change db_dir so that the database is saved across reboots
db_dir=/home/pi/.minidlna

# Uncomment log_dir for now in case we hit problems
log_dir=/var/log


friendly_name=Raspberry Pi
inotify=yes




sudo update-rc.d minidlna defaults
sudo service minidlna start


fonte:
https://www.raspberrypi.org/forums/viewtopic.php?t=16352

Nenhum comentário:

Postar um comentário