"Hadoop" 1, Hadoop Mountain chapter of Virtual machine under Ubuntu installation jdk1.7

Source: Internet
Author: User

1 access to Apache Hadoop website

http://hadoop.apache.org/

2.

2. Click image to download


We download the 2.6.0 third in the stable version of stable

Linux Download , here is an error, we download should be the bottom of the second, which I did not pay attention to download the above 17m .


3. Install a Linux in the virtual machine

For details see other

4. Installing the Hadoop environment in Linux

1. Installing the JDK

First check if the Linux machine has its own JDK


Download jdk1.7

0) go to the website under the JDK
Download JDK Instructions
Ubuntu
64 guests

wget--no-check-certificate--no-cookies--header "Cookie:oraclelicense=accept-securebackup-cookie"/HTTP/ download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.rpm

Download
Under Fedora



Extract

Input command

Tar zxf/home/sunev/desktop/vmwaretools-8.8.2-590212.tar.gz


Extract

Configuring the JDK Environment

First we cut into admin privileges


In/ etc/profile.d/development.sh

Export java_home=/home/cutterpoint/public/java/jdk/7/32/jdk1.7.0_79

Export Jre_home= $JAVA _home/jre

Exportclasspath=.: $JAVA _home/lib: $JRE _home/lib: $CLASSPATH

Exportpath= $JAVA _home/bin: $JRE _home/bin: $PATH

We first set up a good SH file on the desktop and then copy the past


Check if the installation is successful

Installation succeeded!!!!


"Hadoop" 1, Hadoop Mountain chapter of Virtual machine under Ubuntu installation jdk1.7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.