From various googling sources Ive tried this.
I make no claims its the best way to do it or if it all works.
First of all get wget :
From the following source :
rathelm.wordpress.com/2012/03/08/centos-6-2-and-minidlna/
| Code: |
cd /tmp
sudo rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
sudo rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
sudo yum install {flac,libogg,libid3tag,libexif,sqlite,ffmpeg,libvorbis,libjpeg,lame,flvtool2,mplayer}-devel gcc
|
From earlier this thread :
| Code: |
ftp://timburgess.net/repo/clearos/6.3/x86_64/testing/minidlna-1.0.24-2.clearos.x86_64.rpm
yum install minidlna-1.0.24-2.clearos.x86_64.rpm
|
At this point I got a dependency failure for the libav stuff despite the fact its supposed to install with ffmpeg.
| Code: |
Error: Package: minidlna-1.0.24-2.clearos.x86_64 (/minidlna-1.0.24-2.clearos.x86_64)
Requires: libavformat.so.53(LIBAVFORMAT_53)(64bit)
Error: Package: minidlna-1.0.24-2.clearos.x86_64 (/minidlna-1.0.24-2.clearos.x86_64)
Requires: libavformat.so.53()(64bit)
Error: Package: minidlna-1.0.24-2.clearos.x86_64 (/minidlna-1.0.24-2.clearos.x86_64)
Requires: libavcodec.so.53()(64bit)
Error: Package: minidlna-1.0.24-2.clearos.x86_64 (/minidlna-1.0.24-2.clearos.x86_64)
Requires: libavutil.so.51(LIBAVUTIL_51)(64bit)
Error: Package: minidlna-1.0.24-2.clearos.x86_64 (/minidlna-1.0.24-2.clearos.x86_64)
Requires: libavutil.so.51()(64bit)
|
After some more digging I found ffmpeg-libs :
| Code: |
wget http://download1.rpmfusion.org/free/el/updates/6/x86_64/ffmpeg-libs-0.10.4-1.el6.x86_64.rpm
yum install ffmpeg-libs-0.10.4-1.el6.x86_64.rpm
|
Which failed telling me :
| Code: |
Packages skipped because of dependency problems:
ffmpeg-libs-0.10.4-1.el6.x86_64 from /ffmpeg-libs-0.10.4-1.el6.x86_64
libass-0.9.11-1.el6.rf.x86_64 from rpmforge
libcdio-0.81-3.1.el6.x86_64 from clearos-core
libv4l-0.6.3-2.el6.x86_64 from clearos-core
|
This is getting convoluted, so :
| Code: |
wget http://download1.rpmfusion.org/free/el/updates/6/x86_64/x264-libs-0.120-4.20120303.el6_bootstrap.x86_64.rpm
yum install x264-libs-0.120-4.20120303.el6_bootstrap.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/openal-soft-1.12.854-1.el6.x86_64.rpm
yum install openal-soft-1.12.854-1.el6.x86_64.rpm
|
then this :
| Code: |
yum install ffmpeg-libs-0.10.4-1.el6.x86_64.rpm
|
And that works now too!
So :
| Code: |
yum install minidlna-1.0.24-2.clearos.x86_64.rpm
|
And that works now too!
So now I need to edit the conf :
| Code: |
whereis minidlna
minidlna: /usr/sbin/minidlna /etc/minidlna.conf
nano /etc/minidlna.conf
|
Then a test start and restart :
| Code: |
service minidlna start
Starting MiniDLNA [ OK ]
service minidlna restart
Shutting down MiniDLNA[ OK ]
Starting MiniDLNA [ OK ]
|
Now make sure itll start with the system :
| Code: |
chkconfig --add minidlna
chkconfig minidlna on
|
Evan after some considerable time I still think of myself as a linux novice.
Im feeling quite pleased with myself which usually means Ive done soomething wrong lol.
Seems to be running ok, I enabled the cache dir and its there and in use and it responds to :
| Code: |
/usr/sbin/minidlna -d -R -P /usr/local/minidlna.pid -u udlna
|
But I cant see it on the local network.
Perhaps after a reboot or after the 15 min self advertising broadcast Ive read about .....