Install Spark under Mac

Source: Internet
Author: User

1.Homebrew

OS X is an indispensable suite manager, and it makes the best use of the various libraries available to the system to shorten the compilation time of the package, and the management of the package is much clearer and more flexible due to its almost no redundancy. Install: Open terminal window, paste the following script
Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

After installation, the homebrew path is/usr/local/share/doc/homebrew.

2.Scala

Download the Scala installation package and unzip the path at random.

Edit/etc/bash_profile Add $scala_home and modify the corresponding path

3.SSH No password login

Ssh-keygen-t Rsa-p "-F ~/.ssh/id_rsa

The Ssh-keygen represents the generated secret key;-T denotes the secret key type;-P is used to provide the cipher;-f Specifies the generated key file. This command is in the "~/.ssh/" file

The results show:

Generating public/private RSA key pair. Created directory '/var/root/.ssh '. Your identification has been saved In/var/root/.ssh/id_rsa. Your public key has been saved in/var/root/.ssh/id_rsa.pub.the key fingerprint IS:5F:1C:F4:EB:BA:A5:59:73:41:9A:04:CA: a4:6b:0f:32 [email protected]the key ' s randomart image is:+--[RSA 2048]----+|         . ..    ||        + ....   ||       . O .....  ...+. ||     E +s   oo ... | |      + O .....  |   |.. = .||             * o | |            =.   | +-----------------+

The secret key was generated successfully. and create two files in ~/.ssh Id_dsa and Id_dsa.pub, which is a pair of SSH private and public keys.

Next, append the public key to the authorized key and enter

Cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

4.Spark Installation

Install Spark under Mac

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.