One of a very first thing , that came up in my mind while setting up raspberry pi was the media server. Therefore, in this post i will try to keep some setup notes for my home media server.
One of the very easy method to setup media server is by using the DLNA framework. For Linux, we have a very light weight server software called MiniDLNA, which serves media files to clients over a network.
Installing minidlna
sudo apt-get install minidlna
After the installation change the configuration file /etc/minidlna.conf, line 26 as follow;
media_dir=A,~/replace/with/path/for/the/music/folder
media_dir=P,~/replace/with/path/for/the/picture/folder
media_dir=V,~/replace/with/path/for/the/video/folder
# find the friendly_name and change as you desire
friendly_name=Home Media # server name to appear as you want
After changing the config file, run restart the services as with the following command and the media server is ready to serve.
sudo service minidlna restart
sudo service minidlna force-reload
Make sure the service status is active and running as follow:

