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/