Mesos installation details (RedHat6.1)

Source: Internet
Author: User
Tags svn client hypertable apache mesos
ApacheMesos is a cluster manager that provides effective resource isolation and sharing across distributed applications or frameworks and can run Hadoop, MPI, Hypertable, and Spark. System preparation: g ++ 4.1orhiger installation command: sudoyuminstallgcc-c ++ Python2.6 (fortheMesoswebUI). The system generally comes with it. Python2.6developerp

Apache Mesos is a cluster manager that provides effective and cross-distributed application or framework Resource isolation and sharing, and can run Hadoop, MPI, Hypertable, and Spark.

System preparation:

G ++ 4.1 or higer
Installation command: sudo yum install gcc-c ++
Python 2.6 (for the Mesos web UI ).
The system generally comes with it.
Python 2.6 developer packages
Installation command: yum install python-devel
Cppunit (for building zookeeper)
Installation command: sudo yum install cppunit-devel
Java JDK 1.6 or higher.
The system generally comes
Libtool)
Installation command: sudo yum install libtool
Unset JAVA_HOME: The system variable; otherwise, JAVA_HOME cannot be found during installation.
Shell Command: unset JAVA_HOME
Copy files from other aclocal versions to aclocal. Otherwise, the macro definition cannot be found during installation.
Shell Command: cp-r/usr/share/aclocal-1.11 // usr/share/aclocal
Install the svn client or git
Installation command: yum install subversion (svn client) yum install git (git)
Download Code:

Svn co https://svn.apache.org/repos/asf/incubator/mesos/trunk mesos-trunk (for svn)

Git clone git: // git.apache.org/mesos.git (for git)

Installation:

Go to the mesos home directory
Run./bootstrap
Run./configure -- with-webui -- with-modified ded-zookeeper (for 32-bit hosts, add CXXFLAGS = "-march = ich ")
Run make
Compile demo:

Run make check in the make directory.
Run demo:

Run bin/mesos-master.sh to start master
Remember the master url such as: mesos: // master@192.168.0.1: 5050
Open port 8080 of the master url in a browser, for example, http: // 192.168.0.1: 8080. At this time, you can see the master homepage, where the master information is displayed.
Run bin/mesos-slave.sh -- master = mesos: // master@192.168.0.1: 5050 start slave refresh the page just now, you can see the slave Information
Run src/test-framework mesos: // master@192.168.0.1: 5050, start the test framework, refresh the page, and you will see the framework information.

Reference page: https://github.com/mesos/mesos/wiki/

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.