Created
April 20, 2014 18:05
-
-
Save phstudy/1890dc1f7af829976c5a to your computer and use it in GitHub Desktop.
hadoop-install-etu.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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