Skip to content

Instantly share code, notes, and snippets.

Last active October 25, 2016 17:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
#install basic development tools
apt-get update
apt-get upgrade
apt-get install build-essential ssh lzop git rsync curl
apt-get install python-dev python-setuptools
apt-get install libcurl4-openssl-dev
easy_install pip
pip install virtualenv virtualenvwrapper python-dateutil
#create a hadoop user
addgroup hadoop
adduser --ingroup hadoop hadoop
usermod -a -G hadoop nabeel
#isntall openjdk 8
apt-get install openjdk-8-*
java -version #check version
#install Hadoop
cd ~
curl -O
tar -xzvf hadoop-2.7.3.tar.gz
mv hadoop-2.7.3 /srv/
chown -R hadoop:hadoop /srv/hadoop-2.7.3
chmod g+w -R /srv/hadoop-2.7.3
ln -s /srv/hadoop-2.7.3 /srv/hadoop
chown -R hadoop:hadoop /srv/hadoop
chmod g+w -R /srv/hadoop
mkdir -p /var/app/hadoop/data
chown hadoop:hadoop -R /var/app/hadoop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment