Installing and configuring Hadoop on Mac OS X

Source: Internet
Author: User
Keywords Install can after HTTP
Installing and configuring Hadoop blog categories on Mac OS X: Hadoop hadoopbrewxcodegccosx&http://www.aliyun.com/zixun/aggregation/37954.html " >nbsp; Since more and more people are using Mac book, the author has added the content of installing and configuring Hadoop on Mac OS X in this chapter for the readers ' reference of Mac.

2.2.1 Installation Homebrew

Homebrew on Mac OS X is a package manager similar to the one under Ubuntu, which allows you to automatically download and install software packages, and then install the homebrew automatically with homebrew. The steps for installing homebrew are as follows:

1 download and install the built-in GCC compiler-xcode from Apple (now version 4.2). The main reason for installing Xcode is that some software packages are installed on the local environment and need to compile the source code locally. Xcode's download address is https://developer.apple.com/xcode/.

2 Use the command line to install homebrew, enter the command:

/usr/bin/ruby-e "$ (curl-fssl https://raw.github.com/mxcl/homebrew/go)"

This command installs the homebrew in the USR directory to ensure that you do not use the sudo command when installing packages using homebrew. After the installation is complete, you can use the BREW–V command to see if the installation is successful.

After installing homebrew, you can enter the following command at the command line to automatically install Hadoop. Automatically installed Hadoop under/usr/local/cellar/hadoop path. Note that when you install software with brew, you automatically detect the dependencies of the installation package and install a dependency package, where brew automatically downloads jdk and SSH and installs it when you install Hadoop.

Brew Install Hadoop
Related Article

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.