ssh connection: port 22 problem

Hi friends,

Since today morning also i tried to learn about to “set up a centralized git repository”. I got many good links about this. But when i tried to do the “ssh”, i faced many obstacles. Then, i posted a mail to the “ILUGC” mailing list.( I got many suggestions/answers like,

* Disable the SElinx
* Flush the iptables using “$ iptables -F”
* nmap
* netstat -ltnp | grep 22

But still, i can’t resolve my problem. 😦  i’ve to “set up the centralized git up repo” At least by tomo


Learning about “Centralized git repository”

Hi friends,
Today from morning i searched about creating centralized git repo” in goggle. Finally i got some links with example, in which i couldn’t understand some of them.

But when i tried workout those example, at some point of place i didn’t get the output/response
Tomo also have to study about this and i’ll create the repo.

Errors that i’ve got:
* Connection timed out
* fatal error port22 (But i can establish connection with the other system)

HTML5 “video” tag

Hi friends,

Today i learnt about HTML 5 “video” tag. This tag is new to HTML 5 🙂

About “video” tag:

The <video> tag specifies video, such as a movie clip or other video streams.

A Simple HTML5 video:

Here the simple html5 code for on-line video,

<!-- The simple is the HTML5 program. Here we were using the new
"video" tag.The program 'll run the video on the web browser.
Program Name: html5_video_tag.html
Date written: 25.03.11
Date Modified: 30.03.11
Author: Tha.Suresh


<video width="320" height="240" controls="controls">
<source src="" type="video/ogg" />

Your browser does not support the video tag.


Running Notes:

  • Any text inside the between <video> and </video> will be displayed in browsers that does not support the video element.
  • The “control” attribute is for adding play, pause, and volume controls.
  • Currently HTML5  supports  “ogg, mp4 and webm” formats only.

Various Browser Supports HTML5:

Format IE Firefox Opera Chrome Safari
Ogg No 3.5+ 10.5+ 5.0+ No
MPEG 4 9.0+ No No 5.0+ 3.0+
WebM No No 10.6+ 6.0+ No


If you want fun just cop y the code and save as “html” file and open it your firefox browser. This video won’t run in IE and safari. Because its “ogg” format file. 😛

Preview of video running in browser via HTML5 Prog.,

Download Tons of GNOME-Specific Wallpapers With One Command

First you need to create a directory in your home directory, lets call it Wallpapers

$ mkdir ~/Wallpapers

$ cd Wallpapers

Now you need to connect to ftp servers
$ ftp
Next you will be asked to enter a username and password. “anonymous” will be your username and just press enter when prompted for the password.
Now lets navigate to the wallpapers on their servers
> cd /pub/GNOME/teams/
You will also need to turn prompting off, if you want to download each single file
> prompt off
Now lets download all 1280*1024  resolution wallpapers (assuming thats your resolution)
> mget * 1280×1024.jpg


Installing Apache Solr 1.4.1 on ubuntu 10.04

Hi friends,

Let’s see How to install this on ubuntu 10.04

Installing Tomcat 6 in Ubuntu 10.04 and Libmysql-java:

$ sudo apt-get update && apt-get upgrade
$ sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user tomcat6-docs tomcat6-examples

$ sudo apt-get install libmysql-java

Download apache-solr-1.4.1.tgz from and extract it:
$ cd <to path of extracted solr>
$ sudo cp apache-solr-1.4.1/dist/apache-solr-1.4.1.war /usr/share/tomcat6/webapps/solr.war
$ sudo cp -R apache-solr-1.4.1/example/solr/ /usr/share/tomcat6/solr/

note : we copy solr folder into /usr/share/tomcat6 and it will pointed as solr home in next step.

Create new Solr configuration in Tomcat6:

$ sudo vim /etc/tomcat6/Catalina/localhost/solr.xml

Paste this into file :

<Context docBase="/usr/share/tomcat6/webapps/solr.war" debug="0" privileged="true" allowLinking="true" crossContext="true">
<Environment name="solr/home" type="java.lang.String" value="/usr/share/tomcat6/solr" override="true" />
Enable MultipleCore in Solr 1.4.1:

$ sudo cp apache-solr-1.4.1/example/multicore/solr.xml /usr/share/tomcat6/solr/solr.xml
$ sudo cp -R apache-solr-1.4.1/example/multicore/core0 /usr/share/tomcat6/solr/
$ sudo cp -R apache-solr-1.4.1/example/multicore/core1 /usr/share/tomcat6/solr/
$ sudo mkdir /usr/share/tomcat6/solr/core0/data
$ sudo mkdir /usr/share/tomcat6/solr/core1/data
$ sudo chown -R tomcat6:tomcat6 /usr/share/tomcat6/solr/core0/data/
$ sudo chown -R tomcat6:tomcat6 /usr/share/tomcat6/solr/core1/data/
Finally, restart your Tomcat and check it out!

$ sudo service tomcat6 restart

Go to http://localhost:8080/solr/


Now, i got the screen like this,

This slideshow requires JavaScript.

I don’t know how to use this and  how to configure.xml file.  B’coz when i search something, i didn’t get anything, i got some errors ly  😦

Apache solr ==> search platform

Hi friends,

Today my room-mate Mr.Thanigai told about “apche solr” and he told try to install “Apache Solr” on his ubuntu 10.04. Then, i searched abt it in google. Finally i got a small idea abt “solr”.

[From solr main page]

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world’s largest internet sites.

Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. Solr’s powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.


  • Uses the Lucene library for full-text search
  • Faceted navigation
  • Hit highlighting
  • Query language supports structured as well as textual search
  • JSON, XML, PHP, Ruby, Python, XSLT, Velocity and custom Java binary output formats over HTTP
  • HTML administration interface
  • Replication to other Solr servers – enables scaling QPS
  • Distributed Search through Sharding – enables scaling content volume
  • Search results clustering based on Carrot2
  • Extensible through plugins
  • Pluggable relevance – boost through formula
  • Caching
  • Embeddable in a Java Application.

Install “Apache slor” on ubuntu 10.04