Archive for the ‘Useful tools’ Category

Installing latest MediaTomb on CentOS 5.x 32-bit

Tuesday, February 23rd, 2010

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  http://mediatomb.cc/

(Found the right software packages from http://rpm.pbone.net)

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

[root@legoland mt]# wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/mediatomb-0.11.0-1.el5.kb.i386.rpm

2. download Required lib;

[root@legoland mt]# wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/taglib-1.5-1.el5.kb.i386.rpm
(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:10.1.1.90  Bcast:10.255.255.255  Mask:255.0.0.0
inet addr:127.0.0.1  Mask:255.0.0.0
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;
MT_INTERFACE="NOT_SET"
TO:
MT_INTERFACE="eth0"

6. See which port it runs on;

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

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: 10.1.1.90
2010-02-23 22:15:56    INFO: MediaTomb Web UI can be reached by following this link:
2010-02-23 22:15:56    INFO: http://10.1.1.90:50500/

9. You can see its available now on;

http://10.1.1.90:50500/

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”)

Marc Andreessen interview

Sunday, February 22nd, 2009

A moderately interesting (but admittedly too long and slightly boring in spots) interview with Netscape founder and VC Marc Andreessen. Topics are around social networks (including FaceBook, Ning, Google, LinkedIn etc.), the newspaper business (having a go at the NY Times in relation to future of the print edition), his new investment fund, historic tech trends and more.

Originally sourced from Charlie Rose: http://www.charlierose.com/view/interview/10093

Different Cache Implementations

Sunday, June 1st, 2008

Looking into different cache modules for high performance dynamic websites. Looks like many of the big sites (YouTube, Flickr, New York Times and many more) are using memcached which looks to be a very interesting and straight forward piece of software.. Then as I have the luxury of working in a pure J2EE environment I have looked into pure-java caching frameworks as well (like ehcache). This article is an interesting (but maybe not elaborate) example of the two; http://gregluck.com/blog/archives/2007/05/comparing_memca.html

Online Brainstorming made simple, efficient and beautiful

Sunday, April 13th, 2008

…and free! ;)

 Looks interesting and the demo page is nice to try;

http://bubbl.us

Test your website in all browsers easily

Thursday, August 9th, 2007

http://v04.browsershots.org/ Can provide screenshots of your website as it looks in all common browsers (and you can download the screenshot package). Makes life very easy for testing your weebsite. You can even select options for screen resolution, JS. Flash and more..

Who links to me?

Monday, April 24th, 2006

See the exposure of this website;

http://wholinkstome.com/

Great idea – find similar sites

Thursday, March 16th, 2006

This site is very interesting;

http://similicio.us