Pages

Wednesday, September 29, 2010

Sunday, September 26, 2010

Mounting Windows folder in Ubuntu running inside Oracle VirtualBox

I have been using Free Oracle Virtual Box since quite a while and I take back up of the hard disk file (Lucid Lynx.vdi) regularly so that I don’t loose any installation and configuration I have done in Ubuntu in case of any OS crash.

Host OS :- Windows XP

Guest OS :- Ubuntu 10.04

1.Install the Guest Additions. (Make sure from command line that its successful )

2.Share a windows folder at Settings –> “Shared folders ”  -> Add machine folder eg.  “dev”  as name and  path D:dev

3.Boot the guest OS and go to terminal

4 make folder to be the destination of the mount mkdir ~host

5. sudo mount -t vboxsf dev ~/host

6.For mounting automatically everytime you boot add the above line at /etc/rc.local

Now the folder ~host gives me access to all the contents of D:dev directory in windows drive.

Courtesy http://forums.virtualbox.org/viewtopic.php?t=15868

You can follow them http://twitter.com/virtualbox 
and If you see problems feel free to ask at http://forums.virtualbox.org/index.php

Mounting Windows folder in Ubuntu running inside Oracle VirtualBox

I have been using Free Oracle Virtual Box since quite a while and I take back up of the hard disk file (Lucid Lynx.vdi) regularly so that I don’t loose any installation and configuration I have done in Ubuntu in case of any OS crash.

Host OS :- Windows XP

Guest OS :- Ubuntu 10.04

1.Install the Guest Additions. (Make sure from command line that its successful )

2.Share a windows folder at Settings –> “Shared folders ”  -> Add machine folder eg.  “dev”  as name and  path D:\dev

3.Boot the guest OS and go to terminal

4 make folder to be the destination of the mount mkdir ~host

5. sudo mount -t vboxsf dev ~/host

6.For mounting automatically everytime you boot add the above line at /etc/rc.local

Now the folder ~host gives me access to all the contents of D:\dev directory in windows drive.

Courtesy http://forums.virtualbox.org/viewtopic.php?t=15868

You can follow them http://twitter.com/virtualbox 
and If you see problems feel free to ask at http://forums.virtualbox.org/index.php

Tuesday, September 21, 2010

Setting JAVA_HOME Environment variable in Ubuntu

I know this is a very tiny problem but we often tend to forget and start googling till we find an working example

We can use the following to set the $JAVA_HOME environment variable on an Ubuntu Linux system where there is no specific JDK installation directory and we want to point it to the default JDK location.This happens when JDK is installed from update manager.

export JAVA_HOME=/usr/lib/jvm/default-java

This entry can be made in the file ~/.bashrc to have it executed every time we log in and set the env variable automatically from the next log in onwards.

Setting JAVA_HOME Environment variable in Ubuntu

I know this is a very tiny problem but we often tend to forget and start googling till we find an working example

We can use the following to set the $JAVA_HOME environment variable on an Ubuntu Linux system where there is no specific JDK installation directory and we want to point it to the default JDK location.This happens when JDK is installed from update manager.

export JAVA_HOME=/usr/lib/jvm/default-java

This entry can be made in the file ~/.bashrc to have it executed every time we log in and set the env variable automatically from the next log in onwards.

Friday, September 17, 2010

HBase Resources

Todd Lipcon gives a brief introduction to HBase, Hadoop's database. Todd goes on to explain HBase usage scenarios, how HBase compare to an RDBMS, and how HBase complements Hadoop.

http://player.vimeo.com/video/14068552

Introduction to HBase (Ch1) - Todd Lipcon from Cloudera on Vimeo.

Also there is a nice beginners article by Jim Wilson

HBase Resources

Todd Lipcon gives a brief introduction to HBase, Hadoop's database. Todd goes on to explain HBase usage scenarios, how HBase compare to an RDBMS, and how HBase complements Hadoop.

http://player.vimeo.com/video/14068552

Introduction to HBase (Ch1) - Todd Lipcon from Cloudera on Vimeo.

Also there is a nice beginners article by Jim Wilson

Tuesday, September 7, 2010

Hadoop Resources

I thought of putting Hadoop recourses together in this post

Apache
--------

MapReduce Tutorial ||Quick Start setup [Versions keeps increasing , see the URL for latest]

API Docs || Wiki || Source Control

Yahoo
-------

Hadoop Blog || Yahoo Hadoop Tutorial 

Cloudera Video Training

Books
-------

Hadoop: The Definitive Guide / Pro Hadoop

Blogs:

What Hadoop is good at

Mailing list : common-user@hadoop.apache.org

IRC : irc.freenode.net   room : #hadoop

Hadoop Resources

I thought of putting Hadoop recourses together in this post

Apache
--------

MapReduce Tutorial ||Quick Start setup [Versions keeps increasing , see the URL for latest]

API Docs || Wiki || Source Control

Yahoo
-------

Hadoop Blog || Yahoo Hadoop Tutorial 

Cloudera Video Training

Books
-------

Hadoop: The Definitive Guide / Pro Hadoop

Blogs:

What Hadoop is good at

Mailing list : common-user@hadoop.apache.org

IRC : irc.freenode.net   room : #hadoop