January 13th, 2010Steps to install red5 on linux

How to install red5 on Linux

Some Cool tips to install red5 on Linux.

Prerequisite
1. Subversion (To checkout latest source from red5)
2. Java – jdk
3. Ant 1.7 – currently not in debian etch repositories so I m compiling it from source.

1) apt-get install subversion (This will install latest subversion package)

2) Install Java developing environment

Download the latest JDK version of Linux from Sun official website. Here we use the version 1.5.0.11 and its downloaded file name is jdk-1_x_x_-linux-i586.bin. (Get the latest java version to get run red5)

Add the executable permission to the file: chmod +x jdk-1_x_x_-linux-i586.bin
Execute the following command to start installation:
./jdk-1_x_x_-linux-i586.bin

According to the reference install information, it recommends the installation path: /usr/java

3) Install Apache Ant Ant 1.7:x
wget http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
=>tar -zxf apache-ant-1.7.0-bin.tar.gz
=>sudo mv apache-ant-1.7.0 /opt/ant # you dont need this
=>export ANT_HOME=/opt/ant

Input command directly through Terminal:
export JAVA_HOME=/usr/java
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

Red5

svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk red5
cd red5
now we have red5 directory containing red5 sources.
next step is compilation

cd red5
/opt/ant/bin/ant prepare
/opt/ant/bin/ant build

now directory “dist” contains compiled and ready to run server

cd dist
sh red5.sh

Run red5 from dist directory other wise it will not run.
red5 should now run http server on port 5080 and rtmp service on port 1935

so lets navigate to:

http://localhost:5080/demos/port_tester.swf

Need any help: Feel free to ask….
pankaj.dangi@gmail.com

Cheeerrrrrsssss

January 9th, 2010Google's new Caffeine

New architecture appears to include crawling, indexing, and ranking changes.
Caffiene will likely present Google results faster and make its search offering more real-time.

Caffeine won’t change the look or feel of Google’s popular search engine but will work under the hood to improve its performance, reportedly delivering faster, better, and more flexible results.

Google specifically states that its goal for the new version of Google Search is to improve its

Some features which will effect search engine. Have a look

  • Indexing speed
  • Accuracy
  • Size
  • Comprehensiveness.

Speed: They doubled the speed! If we search a category or word. Old google will takes time .25 seconds but Caffine will only take .12 sec.
Accuracy: You’ll notice that many of the blended search options, like image search and news, don’t appear in the new version.
Sets are very accurate, but subjectively, The new Google search more accurately reflect what a user would be looking for.

Index Size: Newgoogle claims 359,000,000 for dog word compared to old 51,900,000.

Say Goodbye To Duplicate Content Issues On Multiple Product Pages

What: Google’s new feature, Parameter Control, lets you list up to 15 parameters for Google’s search bots to ignore.

Why: Benefits
Can improve your site’s crawl efficiency
Gives you better display URLs

Is an excellent way to control duplicate content on your site – Telling Google that these pages contain the same content will allow them to index only one version in their search results. For example, if you specify that the parameter session id should be ignored, Google will consider these URLs to be the same page.

Enjoyyyyy….

December 29th, 2009How to Create Ubuntu Live USB

Create a Ubuntu 9.10 Live USB Flash Drive from the running Live CD

In the following tutorial, we explain how we installed Ubuntu 9.10 to a Flash Drive from the running Live CD.
This Ubuntu USB Flash Drive creation process is accomplished using the built in USB Disk Creator.

We did find that Ubuntu 9.10 boots super fast compared to Ubuntu 9.04 Live USB Flash Drive we created using the same process.

Ubuntu 9.10 Desktop Screenshot
Ubuntu Desktop After boot from Live cd

Minimum Flash Drive Capacity: 1GB ( but use a 2GB or larger)

Persistent Feature: Yes

Ubuntu 9.10 USB Flash Drive creation via CD essentials

  • Working CD Drive and an Ubuntu 9.10 CD
  • 1GB or larger USB flash drive

Install Ubuntu to a Flash Drive via USB:

  1. Download the Ubuntu 9.10 torrent, then proceed to download the ISO using your favorite torrent client and finally, burn the ISO to a CD
  2. Restart your computer, booting from the Live CD
  3. Insert a 1GB or larger USB flash drive
  4. Navigate to System > Administration > USB Startup Disk Creator:
  5. Launch the Ubuntu USB Startup Disk Creator

  6. Next, (1) Select the USB disk to use, (2) Select the option Stored in reserved extra space and adjust the slider to set capacity to use, (3) Click the Make Startup Disk button:
  7. Proceed to make your Ubuntu 9.10 USB Disk

  8. A progress bar will indicate the progress of your USB Ubuntu installation:
  9. USB Ubuntu Installation process

  10. Once the installation is complete, remove the CD, restart your computer and set your boot menu or BIOS to boot from the USB device

You should now be booting from your Startup Disk created USB Ubuntu 9.10 Flash Drive,
Check your bios setting to boot from flash drive. Automatically saving changes as you go to the casper-rw loop file.

Cheeers Enjoy your portable Operating System



© 2009-10 @pankajdangi.com | by pankajdangi.com