Hi
I am trying to install Hadoop on C
$ tar xvfz archive_name.tar.gz
x means extract , z compressed , v verbose
f file name
There is no single directory that is the exact equivalent of Program Files folder. The way Linux arranges things is a lot different
than Windows.
In windows, every program that we install gets its own directory inside the Program Files directory. In that directory, further sub-
directories are created for different kind of files. There is no fixed structure for sub-directories. Programs decide for themselves
what they want to call each directory and where they want to put what.
But in Linux when a program is installed, different kind of files are copied to different locations. Executables are copied to
/usr/bin, library files to /usr/lib, documentation to one or more of /usr/man, /usr/info and /usr/doc. If there are configuration
files, they are usually in the user's home directory or in /etc.
Good link to install.You can always do apt-get install jdk but you wont know where teh files go its automatic.Manually downloading and
installing will give you a better idea
http://www.liberiangeek.net/2012/04/install-oracle-java-jdk-7-in-ubuntu-12-04-precise-pangolin/
to check if java working properly
file /etc/alternatives/java /etc/alternatives/javac
you will get
/usr/bin/java: symbolic link to `/etc/alternatives/java'
/usr/bin/javac: symbolic link to `/etc/alternatives/javac
By previous steps, it is expected that you have installed JDK 1.6 on your systems. The only remaining step is to set the class path of
Java by the following commands:
export JAVA_HOME=/usr/lib/jvm/java-6-sun
we know that if we dont have java_home correctly in windows then it will not allow to run programs which use jre.so i am assuming this
is also case in ubuntu
echo $JAVA_HOME
Installing Hadoop on Ubuntu
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
I am trying to install Hadoop on C
$ tar xvfz archive_name.tar.gz
x means extract , z compressed , v verbose
f file name
There is no single directory that is the exact equivalent of Program Files folder. The way Linux arranges things is a lot different
than Windows.
In windows, every program that we install gets its own directory inside the Program Files directory. In that directory, further sub-
directories are created for different kind of files. There is no fixed structure for sub-directories. Programs decide for themselves
what they want to call each directory and where they want to put what.
But in Linux when a program is installed, different kind of files are copied to different locations. Executables are copied to
/usr/bin, library files to /usr/lib, documentation to one or more of /usr/man, /usr/info and /usr/doc. If there are configuration
files, they are usually in the user's home directory or in /etc.
Good link to install.You can always do apt-get install jdk but you wont know where teh files go its automatic.Manually downloading and
installing will give you a better idea
http://www.liberiangeek.net/2012/04/install-oracle-java-jdk-7-in-ubuntu-12-04-precise-pangolin/
to check if java working properly
file /etc/alternatives/java /etc/alternatives/javac
you will get
/usr/bin/java: symbolic link to `/etc/alternatives/java'
/usr/bin/javac: symbolic link to `/etc/alternatives/javac
By previous steps, it is expected that you have installed JDK 1.6 on your systems. The only remaining step is to set the class path of
Java by the following commands:
export JAVA_HOME=/usr/lib/jvm/java-6-sun
we know that if we dont have java_home correctly in windows then it will not allow to run programs which use jre.so i am assuming this
is also case in ubuntu
echo $JAVA_HOME
Installing Hadoop on Ubuntu
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
No comments:
Post a Comment