Saturday, 10 August 2013

Hadoop Installation on Ubuntu 12.04 LTS

Enabling the root user:-

1. After Installation of Ubuntu 12.04 LTS , an account will be created with the role of Administrator.
2. Log In into Ubuntu using the credentials which are given while installing the Ubuntu software.
3. Till this step we don't created the root user. We can create the root user by entering the following              commands in the terminal prompt.
   
sudo passwd root
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
4. After executing the above commands root user created in our system.
5. From UI Login using the root user credentials.
Installing the java(JDK7 ):-
1. Login using root user and execute the below commands
Installing the JDK7 IN ubuntu

sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*

sudo apt-get update

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer
2. After executing the above commands jdk
7 will install automatically and the class path will also set automatically.
Creating UserGroup and User :-
1. Command for creating the UserGroup and User

For More Information (UserGroups): https://help.ubuntu.com/community/AddUsersHowto
Downloading Hadoop :-
1. download hadoop from the apache site
2. after enting the the url :   http://www.apache.org/dyn/closer.cgi/hadoop/common/
select the any url from this page in that you can see list of files in that select file which have the extension end  like .tar.gz
Ex: 
select : [   ] hadoop-1.2.1.tar.gz 22-Jul-2013 18:27 61M 

Configuring Hadoop :-
1. copy the downloaded hadoop in your newly created User(Ex: hduser)
     in the path  '/usr/local/ '   with the folder name hadoop

need to prepare............
to be continue..............

No comments:

Post a Comment