Installing Solr + Tomcat on RHEL5

Installing JDK Download the latest Sun JDK RPM. Go to java.sun.com and navigate to the downloads page. As of this writing it is http://java.sun.com/javase/downloads/index.jsp If you are on a text console, you may want to use the “links” text browser rather than wget or curl. The Sun site requires you to accept a license agreement before it will allow you to access the download. Navigate to the downloads for a recent version of the JDK (e....

March 31, 2010 · 4 min · 649 words · Me

Listing all your blogposts

So here is a quick snapshot at how to get all your wordpress blogposts using python [or wordpresslib to be specific] – #!/usr/bin/env python import wordpresslib import tinyurl wordpress = raw_input(‘‘Wordpress URL:’’) user = raw_input(‘‘Username:’’) password = raw_input(‘‘Password:’’) prepare client object wp = wordpresslib.WordPressClient(wordpress, user, password) select blog id wp.selectBlog(0) posts = wp.getRecentPosts(100) for p in posts: if p.title.find(“p=”)<0: print p.title," - “,tinyurl.create_one(p.link) – Now that is real easy to use IMHO, i just started using this in one of my scripts....

March 30, 2010 · 1 min · 100 words · Me

Chuck : Season 3 episode 10

Well, chuck with his flashing is good fun … but his kung fu is not funny. I was okay with flashing about intelligence, but all this new flashing shit is irritating ! This episode revolved around the much in the background John Casey [good man blah blah] who at the end is relegated to civilian life [how tragic]. It finally goes into the machine he is, his patriotism and all that which we all already knew about....

March 18, 2010 · 1 min · 98 words · Me

Effy - Skins season 4 Episode 7

So i just finished watching skins 04E07 and it was okay, me and Maitrayee were not looking forward to it as Skins to be honest has become super dark [beats dexter] and painful to watch. But surprise it was good and they threw in the google about Freddie at the end. Effy Stonem is shown as a very dark character in this particular season, and with some help from her counselor has managed to get Freddie killed !...

March 18, 2010 · 1 min · 211 words · Me

RHEL5 : Yum to munin

So here are some dead easy ways of getting munin and munin-node installed on your RHEL5 server. First add RPM Forge repository rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm Then just fire yum install munin munin-node Now, you have your munin running. Lets turn our attention to monit. First add this new repo to you rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm Then go ahead and install monit using yum install monit Now this my friend was real easy !...

March 18, 2010 · 1 min · 77 words · Me