KEMBAR78
Linux Setup & Configuration Guide | PDF | Secure Shell | Ubuntu (Operating System)
0% found this document useful (0 votes)
43 views3 pages

Linux Setup & Configuration Guide

This document provides commands for installing Java, setting up an SSH server, editing profile files, and configuring Hadoop. It first shows commands to add the Java repository, update packages, and install Java. Next it demonstrates installing the OpenSSH server and using SSH. Profile files like .bashrc are then edited to export the Java path. Finally, startup commands and configuration directories for Hadoop are listed. The goal is to prepare a system with Java, SSH, and configured profile files and directories for using Hadoop.

Uploaded by

parvez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views3 pages

Linux Setup & Configuration Guide

This document provides commands for installing Java, setting up an SSH server, editing profile files, and configuring Hadoop. It first shows commands to add the Java repository, update packages, and install Java. Next it demonstrates installing the OpenSSH server and using SSH. Profile files like .bashrc are then edited to export the Java path. Finally, startup commands and configuration directories for Hadoop are listed. The goal is to prepare a system with Java, SSH, and configured profile files and directories for using Hadoop.

Uploaded by

parvez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

SNO.

Topic
1 JAVA Installtion
2 JAVA Installtion
3 JAVA Installtion
4 JAVA Installtion
5 OPEN SSH SERVER
6 OPEN SSH SERVER
7 OPEN SSH SERVER
8 OPEN SSH SERVER
9 File Editor
10 BashRC Profile
11 BashRC Profile
12 export java
13
14
15
16 All startup command
17 config files
18
19
20
Command use
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java - version
sudo apt-get install openssh-server
ssh localhost
ssh-keygen
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
Nano
nano ~/.bashrc_profile
source ~/.bashrc_profile
export JAVA_HOME=/usr/lib/jvm/java-8-oracle

/home/parvez/hadoop-2.7.3/sbin
/home/parvez/hadoop-2.7.3/etc/hadoop
Here we are adding java repository From PPA by using webupd8team
What is PPA - A Personal Package Archive Command (PPA) is a specialSignificant
software repository for uploading source
packages
In to be built we
above Command andadded
published as an
the java APT repository
package by Launchpad
in our system repository,orbya similar application.
using this command we are
updating
In above twothe our system package
commands we copy the package and update our system repository.
Now we are installing that package which we download from PPA by using webupd8team
use this command to check the java version
use
use this command
this
by using command
this commandinstall
to checkthewhether
you openssh
can server
your
generate so thatisyou
localhost
the keygen, canyou
use execute
connecting
when your localhost
without password
this command or not
system will ask
abyfile
default
nameitkindly
will ask password
press only enter key without any name. then it will ask password in
continutation
In above command with two enter keys.
we generate thekindly
keygen only
for press entetnow
localhost do not use any
by using thispassword.
command we are using adding
this keygen into our system authorized keys
we are using nano command, this "nano" nothing but a editor we are using this to edit any file by using
"nano <file_name>"
It will open an nano editor where we can append all the path of our hadoop eco system
the paths which we added in our bash profile by using source command we are executing it
by using this command we are exporting the java path which we install earlier in first 3 steps

this file has all start up commands


this location has all config/xml file for adding parameter

You might also like