Changes

From SME Server
Jump to navigationJump to search
4,809 bytes added ,  12:46, 9 April 2017
Created page with "( Source : http://smeserver.pialasse.com/index.php/Mediatomb and https://forums.contribs.org/index.php/topic,52956.0.html ) Make Mediatomb working on a SME 9.1 in date of the..."
( Source : http://smeserver.pialasse.com/index.php/Mediatomb and https://forums.contribs.org/index.php/topic,52956.0.html )

Make Mediatomb working on a SME 9.1 in date of the 04/04/2017 requiere to get some packet manually from
the static mirror of the University of Kent, cause DAG repository are down for now.


the DAG static mirror for i386 packets : https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/

And for the x86_64 : https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/


You need the EPEL repository too. If you don't have him, you can follow this howto:

https://wiki.contribs.org/Epel

After the installation, mediatomb will use a database for manage your media.
You have 2 options:

-Using Mysql, who's natively installed on SME,
but who requiere to add manualy an entry in your Database, and to create an additionnal user's.<br />
Here's the way :<br />
{| class="wikitable"
|-
! Create Mysql entry & user
|-
| <br />
mysql<br />
CREATE DATABASE mediatomb;<br />
GRANT ALL ON mediatomb.* TO 'mediatomb'@'localhost';<br />
exit<br />
<br />
|}

(Source: http://smeserver.pialasse.com/index.php/Mediatomb)

- Or Using Sqlite3 : <br />
Sqlite3 need to be installed from the repo (yum install sqlite) before using mediatomb,
but give the advantage to not requiere any additionnal manipulation.
If you don't modify the config.xml file, mediatomb will automaticaly get his database working with Sqlite3.<br />
'''But, at this moment, i have some trouble with this,''' that's de DB locked herself if the daemon or service <br />
is shutting down in use, and need to make me reboot the server.
it should be another way to unlock but i can't search for now..
<br />

'''You've making your choice for the Database ? <br />
Away we go.'''<br />
<br />

{| class="wikitable"
|-
! First needed packets are :
|-
| yum install --enablerepo=smecontribs,epel expat zlib js taglib libexif curl ffmpeg perl-File-LibMagic libmp4v2.so.0<br />

|}
<br />


then you need to Dowload the packet's from DAG.<br />

Create a folder for stock them where you want and go inside:<br />
<br />
exemple:<br />
cd /root<br />
mkdir mediatomb_dagrpm<br />
cd mediatomb_dagrpm<br />
<br />
'''
In the date of the 04/04/2017 you can download all the packet like that:'''<br />

{| class="wikitable"
|-
! For the x86_64 users :
|-
| wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/libmpeg2-0.5.1-2.el6.rf.x86_64.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/libdlna-0.2.3-3.el6.rf.x86_64.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/libextractor-0.6.2-1.el6.rf.x86_64.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/libupnp-1.6.6-1.el6.rf.x86_64.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/mediatomb-0.12.1-1.el6.rf.x86_64.rpm <br />

|}


{| class="wikitable"
|-
! For the i386 users :
|-
| wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/libupnp-1.6.6-1.el6.rf.i686.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/libdlna-0.2.3-3.el6.rf.i686.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/libmpeg2-0.5.1-2.el6.rf.i686.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/libextractor-0.6.2-1.el6.rf.i686.rpm <br />
wget https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/mediatomb-0.12.1-1.el6.rf.i686.rpm <br />
|}

<br />

If some won't downloading, go to <br />
https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/ <br />
or <br />
https://www.mirrorservice.org/sites/apt.sw.be/redhat/el6/en/i386/dag/RPMS/ <br />
and look for the exact name of the packet who have certainly been updated, and recontruct your wget url. <br />
Now, you need to install them : <br />

if you're packet is stocked separately from any other rpm, as in exemple, just do <br />
{| class="wikitable"
|-
| yum localinstall lib*
|}

For installing all the lib* packet's.<br />
And follow by
{| class="wikitable"
|-
| yum localinstall mediatomb*
|}


You can now launch mediatomb.<br />
He will create a config.xml under /root/.mediatomb/config.xml and running the service, giving you the ip:port for his webUI.

For me, all work natively from this point.<br />
Every configuration point can be find in the documentation on the official site : http://mediatomb.cc/pages/documentation#id2855916<br />
You can have a look on the wiki too, who have some good tricks http://mediatomb.cc/pages/wiki_overview
2

edits

Navigation menu