install and configure ubuntu for hadoop installation for beginners
TRANSCRIPT
![Page 1: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/1.jpg)
INSTALL AND
CONFIGURE UBUNTU
FOR HADOOP
INSTALLATION
Shilpa Hemaraj
![Page 2: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/2.jpg)
Install vmware workstation
I am using vmware Workstation 10.
![Page 3: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/3.jpg)
Create Virtual Machine
Select typical recommended option
![Page 4: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/4.jpg)
SELECT “I WILL INSTALL THE OPERATING SYSTEM LATER”
![Page 5: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/5.jpg)
SELECT OPERATING SYSTEM “LINUX”
![Page 6: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/6.jpg)
HIT “NEXT”
![Page 7: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/7.jpg)
SELECT “STORE VIRTUAL DISK AS A SINGLE FILE”
![Page 8: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/8.jpg)
WE ARE ALMOST NEAR!!!
HIT “FINISH”
![Page 9: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/9.jpg)
ITS TIME TO INSTALL UBUNTU IN VM (VIRTUAL MACHINE)
SELECT ON CD/DVD
![Page 10: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/10.jpg)
SELECT “USE ISO IMAGE FILE”
SELECT THE PATH WHERE “UBUNTU-14.04.3-SERVER-AMD64.ISO”
IS SAVED
![Page 11: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/11.jpg)
AFTER GIVING PATH ,HIT “OK”
![Page 12: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/12.jpg)
POWER ON THE VM
![Page 13: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/13.jpg)
SELECT FIRST OPTION
![Page 14: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/14.jpg)
SELECT ENGLISH
![Page 15: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/15.jpg)
SELECT THE LOCATION
![Page 16: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/16.jpg)
HIT ON “NO”
![Page 17: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/17.jpg)
SELECT LANGUAGE
![Page 18: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/18.jpg)
SELECT ENGLISH (FIRST OPTION)
![Page 19: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/19.jpg)
WAIT TILL IT LOADS ADDITIONAL COMPONENTS
![Page 20: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/20.jpg)
NOW WE NEED TO CONFIGURE THE NETWORK
GIVE HOSTNAME
![Page 21: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/21.jpg)
GIVE USERNAME
(I AM SELECTING HADOOP)
![Page 22: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/22.jpg)
GIVE USERNAME SAME AS WE HAVE GIVEN BEFORE (HADOOP)
![Page 23: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/23.jpg)
GIVE SIMPLE PASSWORD
(I GAVE ADMIN12345)
![Page 24: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/24.jpg)
GIVE SAME PASSWORD(ADMIN12345)
REMEMBER USERNAME AND PASSWORD. WE NEED IT FOR
FUTURE USE.
![Page 25: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/25.jpg)
WE DON’T NEED TO ENCRYPT HOME DIRECTORY.
NO NO!!!
![Page 26: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/26.jpg)
WAIT!!
![Page 27: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/27.jpg)
SELECT “YES”
![Page 28: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/28.jpg)
PARTITIONING METHOD:
WE ARE SELECTING “GUIDED-USE ENTIRE DISK”
![Page 29: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/29.jpg)
HIT IT
![Page 30: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/30.jpg)
OH!! “YES”
![Page 31: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/31.jpg)
WAIT!!
![Page 32: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/32.jpg)
DON’T GIVE ANYTHING
SELECT “CONTINUE”
![Page 33: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/33.jpg)
HMMMM…….
![Page 34: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/34.jpg)
HELL NO!! “NO AUTOMATIC UPDATES”
![Page 35: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/35.jpg)
DON’T FORGET TO SELECT
“OPENSSH SERVER”
![Page 36: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/36.jpg)
COFFEE BREAK.. HURRAY
![Page 37: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/37.jpg)
“YES”
![Page 38: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/38.jpg)
“CONTINUE”
![Page 39: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/39.jpg)
OOOFFFFF…
![Page 40: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/40.jpg)
GIVE LOGIN CREDENTIAL
(SAME AS WHAT WE HAVE GIVEN BEFORE)
(LOGIN:HADOOP PASSWORD:ADMIN12345)
![Page 41: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/41.jpg)
HURRAY!!
![Page 42: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/42.jpg)
NOW ITS TIME TO UPDATE
COMMAND: SUDO APT-GET UPDATE
![Page 43: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/43.jpg)
WAIT TILL IT UPDATES
![Page 44: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/44.jpg)
INSTALL OPENSSH SERVER
COMMAND: SUDO APT-GET INSTALL OPENSSH-SERVER
(INCASE MISSED DURING INSTALLATION)
![Page 45: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/45.jpg)
SELECT “Y”
![Page 46: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/46.jpg)
HMMM….
![Page 47: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/47.jpg)
NOW WE NEED TO INSTALL JAVA
COMMAND: SUDO APT-GET INSTALL OPENJDK-7-JDK
![Page 48: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/48.jpg)
SELECT “Y”
![Page 49: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/49.jpg)
WE SUCCESSFULLY INSTALL JAVA
![Page 50: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/50.jpg)
WE CAN CHECK JAVA VERSION INSTALLED JUST TO MAKE SURE.
COMMAND:
![Page 51: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/51.jpg)
COMMAND: IFCONFIG
IT IS VERY DIFFICULT TO WORK IN VMWARE SO WE WILL USE PUTTY
TO WRITE COMMANDS. IT IS MORE USER FRIENDLY.
GIVE SAME IP ADDRESS IN PUTTY. SELECT “YES” FOR NEXT POPUP.
GIVE SAME USERNAME AND PASSWORD.
© M
BH
Gro
up
s.com
![Page 52: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/52.jpg)
TO INSTALL HADOOP , WE NEED TO COPY HADOOP INSTALLATION
FILE TO OUR LINUX. WE WILL USE WINSCP TO COPY FILE FROM
WINDOWS MACHINE TO LINUX.
HOST NAME – GIVE IP ADDRESS
AND USERNAME AND PASSWORD IS SAME AS WHAT WE ARE
GIVING
SELECT “YES” FOR POPUP
![Page 53: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/53.jpg)
COPY HADOOP TAR FILE TO LINUX
MACHINE
![Page 54: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/54.jpg)
FROM NOW ON I WILL BE USING PUTTY FOR ANY LINUX
COMMAND.
NOW I CAN SEE MY TAR FILE.
![Page 55: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/55.jpg)
EXTRACT TAR FILE.
COMMAND: TAR –XVZF HADOOP-1.2.1.TAR.GZ
![Page 56: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/56.jpg)
COPY FOLDER TO /USR/LOCAL/HADOOP
COMMAND: SUDO CP –R HADOOP-1.2.1 /USR/LOCAL/HADOOP
![Page 57: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/57.jpg)
TIME TO EDIT BASH
COMMAND: SUDO VI /HOME/HADOOP/.BASHRC
ADD 2 LINES AT THE END.
TO EDIT FILE “ALT+I” OR “INSERT”
![Page 58: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/58.jpg)
EXPORT HADOOP_PREFIX=/USR/LOCAL/HADOOP
EXPORT PATH=$PATH:$HADOOP_PREFIX/BIN
UPDATE THE BASH SETTINGS
COMMAND:EXEC BASH
![Page 59: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/59.jpg)
WE NEED TO INFORM HADOOP ABOUT WHERE JAVA IS. EDIT
HADOOP-ENV.SH FILE
COMMAND: SUDO VI /USR/LOCAL/HADOOP/CONF/HADOOP-ENV.SH
![Page 60: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/60.jpg)
UNCOMMENT THE JAVA_HOME
EXPORT JAVA_HOME=/USR/LIB/JVM/JAVA-1.7.0-OPENJDK-
AMD64
![Page 61: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/61.jpg)
WE CAN CHECK HADOOP INSTALLATION.
GIVE COMMAND:”HADOOP” AND IF YOU GET OUTPUT LIKE THIS
THEN INSTALLATION IS GOOD
![Page 62: Install and Configure Ubuntu for Hadoop Installation for beginners](https://reader031.vdocument.in/reader031/viewer/2022021813/589c3a691a28abec478b5a39/html5/thumbnails/62.jpg)
HURRAY