Skip to content

Instantly share code, notes, and snippets.

@phstudy
Created April 20, 2014 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phstudy/1890dc1f7af829976c5a to your computer and use it in GitHub Desktop.
Save phstudy/1890dc1f7af829976c5a to your computer and use it in GitHub Desktop.
hadoop-install-etu.sh
# enable eth0
cd /etc/sysconfig/network-scripts/
sed -i -e 's@^ONBOOT="no@ONBOOT="yes@' ifcfg-eth0
ifup eth0
# update repository (may not required.)
# yum update
# install openjdk
yum install java-1.7.0-openjdk.x86_64
#yum install java-1.7.0-openjdk-devel.x86_64 #may not required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment