Mindmajix

Installation of Hadoop

Installation of Cent OS:-

Capture 15   Log on to vsphere

Screenshot_1821   Select your operating system.

Screenshot_1821   Right click and select open console

Screenshot_1821   noof from CD-ROM

Screenshot_1821   Select Install and upgrade option

Screenshot_1821   Click on Enter key

Screenshot_1821   Click on skip

Screenshot_1821   Next

Screenshot_1821   Select the language English

Screenshot_1821   Next

Screenshot_1821   Provide the Host name and click on next

 Screenshot_1821  Select the time zone and click on next

 Screenshot_1821    Provide the Password for root and click on next

 Screenshot_1821  Select create custom layout button

Screenshot_1821   Select free and click on create

Screenshot_1821   Select standard portion and click on create

Screenshot_1821   Select Mount point as/and file system type as exit and size zoogb

Screenshot_1821  Click on OK

Screenshot_1821   Click on OK

Screenshot_1821    Again select free and click on create

Screenshot_1821   Select file system as swap and size 30GB(RAM X3)

Screenshot_1821   Click on OK

Screenshot_1821   Click on Next

Screenshot_1821   Click on Next

Screenshot_1821   Select basic server and customize now

Screenshot_1821   Click on Next

Screenshot_1821   Select Applications as required.

Screenshot_1821   Select base system and disable Java platform

 Screenshot_1821  Select Development and Select eclipse and default

Screenshot_1821   Select Desktops as required

Screenshot_1821   Click on Next

  Screenshot_1821 After Installation, click on Reboot.

Screenshot_1821   To login, select other and enter password

Screenshot_1821   OS is ready to install Hadoop.

Setting IP Address:-

Screenshot_1821   After login as root,

Screenshot_1821   Go to system Capture 15 preferences Capture 15 Network connections

Screenshot_1821   Click on add and provide connection name and IP Address, Network, gateway and DNS Servers.

Screenshot_1821   Click on OK

Adding EFC hostname:-

Screenshot_1821   Login as root user

Screenshot_1821   Open the terminal

  Cmd: cd/
  Cmd: cd/etc/init.d/
  Cmd: :/network restart
  Cmd: host name

 Screenshot_1821  To check host name

Disable the fire wall:-

Cmd: service ip tables save

Screenshot_1821   Cmd: service ip tables stop

Screenshot_1821   Cmd: service ip tables save

Screenshot_1821   Cmd: service ip tables stop

Screenshot_1821   Cmd: chk config ip tables off

Screenshot_1821   Cmd: chk con fig ip tables off

Screenshot_1821   Cmd: set enforce o

Cmd: java

Cmd: javac                    ae used to check Java version

Cmd: java-version

Installation of Hadoop

Creation of user:-

Screenshot_1821   Login as root user

Screenshot_1821   Go to system Capture 15 Administrator Capture 15 Users and groups

Screenshot_1821   Click on add user

Screenshot_1821   Provide the name and click on OK

Screenshot_1821   Click on add group

Screenshot_1821   Provide the name and click on OK

Screenshot_1821   Add the user to the group

Configuration of SSH:-

Screenshot_1821   Login as root user(i.e object)

Screenshot_1821   Open terminal

Cmd: ssh-key gen-t vsa-f~/.ssh/id-rsa
Cmd: cat~/.ssh/id-rsa.pub>>~/.ssh/ autorised-keys

Installation of Hadoop

Capture 15   Download CDH3 repository from Hadoop cloudera

Screenshot_1821   Cmd: ls
  Screenshot_1821  Cmd: ehmod R 777 cldh3 repository -1.0-1. Noarch. Rpm.

Screenshot_1821   Cmd: sudo yum –nog pg check location stall cdh3-tepositors-1.0-1.noarch.rpm

Capture 15   Adding the user (object ) in sudo eras.

Screenshot_1821   Cmd: vi/etc/sudo

Screenshot_1821   In the file add the object user next to the root.

Screenshot_1821   Install Hadoop

Screenshot_1821   Cmd: sudo yum Install Hadoop=0.20 no arch

Screenshot_1821   Cmd: sudo yum Install Hadoop=0.20 –conf-pseudo.noarch

Screenshot_1821   Now, the hadoop and its daemons are installed.

Installation of Java:-

Capture 15   Download the jdk 1.6.0-26 java version. For Unix,

Screenshot_1821   Login as root user

Screenshot_1821   Cmd: chmod –R 777 jdk-6426-linux- X64-rpm.bin

Screenshot_1821   Giving the permissions.

Screenshot_1821  To extract the bin

Cod:./jdk- 6426-linux-x64-rpm.bin

Screenshot_1821   Java will be installed.

Screenshot_1821   To set the environmental variables

Cmd: export JAVA-HOME=/Usr/java/jdk1.6.0-26/
Cmd: export PATH=$ JAVA-HOME/bin:$ PATH

Screenshot_1821   To check the Java version

Cmd: java-version

Screenshot_1821   Cmd:/etc/profile[to make permant]

Screenshot_1821   Copy the above commands in this file and save.

 

 

 


 

0 Responses on Installation of Hadoop"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.
Course Adviser

Fill your details, course adviser will reach you.