Created
February 3, 2014 18:09
-
-
Save yashk/8789125 to your computer and use it in GitHub Desktop.
install jdk 7 on suse
This file contains 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
su su - | |
mkdir ~/tmp | |
cd ~/tmp | |
wget http://10.13.130.62:9999/jdk-7u51-linux-x64.rpm | |
rpm -ev jdk | |
rpm -ihv jdk-7u51-linux-x64.rpm | |
update-alternatives --remove-all java | |
update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 1 | |
update-alternatives --set java /usr/java/latest/bin/java | |
source /usr/lib64/cmf/service/common/cloudera-config.sh | |
locate_java_home | |
sudo service cloudera-scm-agent restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment