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, rich document (e.g., Word, PDF) handling, and geospatial search. 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.
#download source code from http://nodejs.org/dist/$ wget http://nodejs.org/dist/node-v0.4.5.tar.gz
$ tar -xf node-v0.4.5.tar.gz
$ cd node-v0.4.5
$ ./configure && make && sudo make install
install mongodb
1234567
#http://www.mongodb.org/downloads$ wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.1.tgz
$ tar -xf mongodb-linux-i686-1.8.1.tgz
$ cd mongodb-linux-i686-1.8.1
$ sudo mkdir -p /data/db
$ sudo chown `id -u` -R /data
$ bin/mongod # start mongodb server
install npm
123
$ git clone http://github.com/isaacs/npm.git
$ cd npm
$ sudo make install
#!/usr/bin/env rubyrequire'rubygems'require'eventmachine'moduleEchoServerdefpost_initputs"-- someone connected to the echo server!"enddefreceive_datadatasend_data">>>you sent: #{data}"close_connectionifdata=~/quit/ienddefunbindputs"-- someone disconnected from the echo server!"endendEventMachine::run{EventMachine::start_server"127.0.0.1",8081,EchoServer}