in Installations, Operating Systems, Posts, Useful tools

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

(Found the right software packages from
Instructions are as follows….

1. download MediaTomb RPM – you don’t want to build from source;

[root@legoland mt]# wget

2. download Required lib;

[root@legoland mt]# wget
(note I installed my CentOS with all the readily available development tools and libraries from DVD)

3. Install the sucker;

[root@legoland mt]# rpm -i taglib-1.5-1.el5.kb.i386.rpm
[root@legoland mt]# rpm -i mediatomb-0.11.0-1.el5.kb.i386.rpm

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

[root@legoland log]# 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@legoland mt]# vi /etc/mediatomb.conf
In my case, change FROM;

6. See which port it runs on;

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

7. Start it;

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

8. Make sure Mediatomb is up and running;

[root@legoland mt]# /etc/init.d/mediatomb status
[root@legoland mt]# 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”)