Deploying Mesos in OS X Yosemite

Source: Internet
Author: User
Tags automake

1) Download the latest stable version of Mesos from Mesos's official website: http://mesos.apache.org/downloads/, this is the mesos-0.22.1 version.

2) Move to the directory you like (you have 777 permissions in this directory), this article is placed under ~/desktop; Unzip:

tar -zxf mesos-0.22. 1. tar. gz

The build directory is named ~/desktop/mesos-0.22.1.

3) Install command line tools and homebrew:

xcode-Select -Install
Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

4) Use Brew to install mesos necessary dependent software:

Install autoconf automake libtool subversion maven

During the installation process due to certain network limitations, some software could not download properly, the following error occurred:

At this time, please enter the following URL from the browser via VPN or proxy Fanqiang (different versions may have different filenames, whichever is the error information during installation):

HTTPS://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.bottle.tar.gzhttps://  homebrew.bintray.com/bottles/subversion-1.8.13.yosemite.bottle.1.tar.gzhttps://  homebrew.bintray.com/bottles/scons-2.3.5.yosemite.bottle.tar.gzhttps://serf.googlecode.com/ SVN/SRC_RELEASES/SERF-1.3.8.TAR.BZ2

Move the downloaded four files to the/library/caches/homebrew/directory and run again

Install autoconf automake libtool subversion maven

After the installation is successful as shown.

5) Compile Build Mesos

In the ~/desktop/mesos-0.22.1 directory, create a new build directory under which Mesos is generated:

mkdir BUILDCD Build : /configure
Make

6) Running Mesos

Configure without error and make successful, Mesos installation is complete. After installation, the hard drive was eaten up to 5 more grams of space. Start master and slave separately under the build directory:

./bin/mesos-master. sh --ip=127.0. 0.1 --work_dir=./mesos_work_dir. /bin/mesos-slave. sh --master=127.0. 0.1:5050

Enter http://127.0.0.1:5050/#/in the browser to display the Mesos interface as follows, then the configuration is successful.

Deploying Mesos in OS X Yosemite

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.