Archive for the ‘Personal’ Category

This content is password protected. To view it please enter your password below:

Installing MediaTomb uPnP Server

Posted: October 24, 2010 in Personal, Redhat

Installing latest MediaTomb on CentOS 5.x 32-bit

If I ever have to do it again.. since it turned out to be extremely easy (if you look a little longer and resists compiling it from source), here is how to install MediaTomb on CentOS (or in my case ”Installing MediaTomb on CentOS 5.4″);

“[MediaTomb is] an open source (GPL) UPnP MediaServer with a web user interface and AV transcoding support” (Wikipedia)

MediaTomb can be read about and downloaded (in source form) from

1. download MediaTomb RPM.

[root@mediatomb ~]# wget

2. download Required lib;

[root@mediatomb ~]# wget

3. Install the Library

[root@mediatomb ~]# rpm -ivh taglib-1.5-1.el5.kb.i386.rpm

[root@mediatomb ~]# rpm -ivh mediatomb-0.11.0-1.el5.kb.i386.rpm

4. Find out which netword card to use (most likely its ‘eth0′)

[root@mediatomb ~]# ifconfig -a|egrep "inet addr|eth|wlan"
eth0 Link encap:Ethernet  HWaddr 00:0F:EA:8A:F7:76
inet addr: Bcast:  Mask:
inet addr:  Mask:
wlan0     Link encap:Ethernet  HWaddr 00:0F:B5:4F:79:71
In my case you see the only card with an IP address is ‘eth0′

5. Change the config and select your network card;

[root@mediatomb ~]# vi /etc/mediatomb.conf
In my case, change FROM;

6. See which port it runs on;

[root@mediatomb ~]# grep MT_PORT /etc/mediatomb.conf

7. Start it;

[root@mediatomb ~]# /etc/init.d/mediatomb start

8. Make sure Mediatomb is up and running;

[root@mediatomb ~]# /etc/init.d/mediatomb status
[root@mediatomb ~]# cat /var/log/mediatomb
2010-02-23 22:15:55    INFO: MediaTomb configuration was created in: /etc/mediatomb/config.xml
2010-02-23 22:15:55    INFO: Loading configuration from: /etc/mediatomb/config.xml
2010-02-23 22:15:55    INFO: UUID generated: 384f1086-4063-4390-acdf-b79771c60b6d
2010-02-23 22:15:55    INFO: Checking configuration...
2010-02-23 22:15:55    INFO: Setting filesystem import charset to UTF-8
2010-02-23 22:15:55    INFO: Setting metadata import charset to UTF-8
2010-02-23 22:15:55    INFO: Setting playlist charset to UTF-8
2010-02-23 22:15:55    INFO: Configuration check succeeded.
2010-02-23 22:15:55 WARNING: Sqlite3 database seems to be corrupt or doesn't exist yet.
2010-02-23 22:15:55    INFO: no sqlite3 backup is available or backup is corrupt. automatically creating database...
2010-02-23 22:15:55    INFO: database created successfully.
2010-02-23 22:15:55    INFO: Initialized port: 50500
2010-02-23 22:15:55    INFO: Server bound to:
2010-02-23 22:15:56    INFO: MediaTomb Web UI can be reached by following this link:
2010-02-23 22:15:56    INFO:

9. You can see its available now on;

10. Go to that address above in a browser and have fun!

(remember if your firewall is enabled, you must open the port – do this in GNOME if you have the UI under “System” -> “Administration” -> “Security Level and Firewall”)