Dlna server allows you to arrange a convenient viewing media content on the protocol DLNA / UPnP and centralization.

So get down, our server in the console execute the command

cd /opt/

this directory is usually pumped installation package now use the package wget if it is not then put yum install wget execute command

wget http://downloads.sourceforge.net/project/minidlna/minidlna/1.0.24/minidlna_1.0.24_src.tar.gz

the file appears in the directory minidlna_1.0.24_src.tar.gz unpack it

tar -zxvf ./minidlna_1.0.24_src.tar.gz

will catalog minidlna-1.0.24 We go into it

cd ./minidlna-1.0.24

set the environment

yum install {flac,libogg,libid3tag,libexif,sqlite,ffmpeg,libvorbis,libjpeg}-devel gcc

Now assemble the package by running the command

make

     If make has issued a message about the lack of libraries set this:

Repository EPEL.

32 Bit # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

or

64 Bit # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

and

rpm -ivh http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm
yum install ffmpeg ffmpeg-compat ffmpeg-compat-devel ffmpeg-devel ffmpeg-libs

and

make install

which automatically tuck the files in the directories setting miniDlna,

Create a script to start the server

nano /etc/init.d/minidlna

put it this

#! /bin/sh

# chkconfig: 345 99 10
# description: Fedora Startup/shutdown script for MiniDLNA daemon

# If you have chkconfig, simply:
# chkconfig --add minildna

# Proper init scripts on Linux systems normally require setting lock
# and pid files under /var/run as well as reacting to network
# settings, so you should treat this with care.

# Original author:  Perry Clark <omfgppc (at) gmail.com>

## EDIT FROM HERE

# Installation details
MINIDLNA="/usr/sbin/minidlna"
ARGS="/etc/minidlna.conf"

# Where to keep a log file
MINIDLNA_LOG="/var/log/minidlna.log"

# Where the PID lives
PID_FILE="/var/run/minidlna.pid"

## STOP EDITING HERE

# The path that is to be used for the script
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

set -e

# Only start if we can find the minidlna.conf.
test -x $MINIDLNA || exit 0

# Parse command line parameters.
case $1 in
  start)
	echo -n "Starting MiniDLNA: "
	$MINIDLNA -f $ARGS -P $PID_FILE  >> $MINIDLNA_LOG 2>&1
	echo "ok"
	;;
  stop)	
 	echo -n "Stopping MiniDLNA: "
	   for pidf in `/bin/ls $PID_FILE 2>/dev/null`; do
            if [ -s $pidf ]; then
                kill `cat $pidf` >/dev/null 2>&1
            fi
			rm -rf $PIF_FILE
	   done	
	echo "ok"
	;;
  restart|reload|force-reload)
	echo "Restarting MiniDLNA: "
	
    $0 stop
	sleep 2
	$0 start
	
	;;
  *)
	# Print help
	echo "Usage: /etc/init.d/minidlna {start|stop|restart|reload|force-reload}"
	exit 1
	;;
esac

exit 0

Hit Ctrl +O and Ctrl+X and assigns rights

chown root:root /etc/init.d/minidlna
chmod 755 /etc/init.d/minidlna

and copy the config (if set version 1.0.24)

cp /opt/minidlna-1.0.24/minidlna.conf /etc/minidlna.conf

now it is necessary to correct configuration /etc/minidlna.conf by our content and prescribe appropriate path by running the command

nano /etc/minidlna.conf

and we give to this kind of

port=8200

If you have 2 network, pay attention to the interface on which the server is to distribute content

network_interface=eth0

is the location of our content, our great store on which it is necessary to create a destination directory
media_dir=A,/media/2TB_A/Music
media_dir=V,/media/2TB_A/Video
media_dir=P,/media/2TB_A/Photo

We call your server
friendly_name=Super DLNA Server

db_dir=/var/cache/minidlna #you need to create the directory
log_dir=/var/log
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=60
serial=12345678
model_number=1

Hit Ctrl+O and Ctrl+X and nano /etc/sysconfig/iptables open port 8200 string

-A INPUT -s 192.168.0.0/24 -m state --state NEW -p tcp --dport 1900 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -m state --state NEW -p udp --dport 1900 -j ACCEPT
-A INPUT -s 192.168.0.0/24 -m state --state NEW -p tcp --dport 8200 -j ACCEPT

Hit Ctrl+O Ctrl+X and execute commands

service iptables restart

Add server to autostart

chkconfig minidlna on

and start the server

service minidlna start

    If you can not run, you can register in /etc/rc.local stupid it

/usr/sbin/minidlna -d -f /etc/minidlna.conf &

Now you can run vlc player and we'll see...

For webmina a module configuration dlna, let's try to put, go to webmin http://192.168.0.11:10000

Console downloaded package

cd /opt/

swing webmin package

wget 'http://sourceforge.net/projects/minidlnawebmin/files/Webmin%20alpha1.12%20svn26/minidlnawebmin_alpha1_12.wbm'

vebmine go in (to the left) Webmin -> Configure Webmin -> Webmin Modules

Further, from a local file, select the downloaded and click the Install.

The services you will MiniDLNA serve, (garbage, I expected more)

Like this.