1 2 3 4 5 6 7 | # cat > /etc/yum.repos.d/unicamp-misc.repo <<EOF [unicamp-misc] name=Unicamp Repo for Misc Packages baseurl=http://ftp.unicamp.br/pub/ppc64el/rhel/7_1/misc_ppc64el/ enabled=1 gpgcheck=0 EOF |
1 | # yum install mesos python-mesos zookeeper marathon |
1 2 3 | MESOS_ip=MESOS_MASTER_IP MESOS_ZK=zk://localhost:2181/mesos MESOS_QUORUM=1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # This file contains environment variables that are passed to mesos-master. # To get a description of all options run mesos-master --help; any option # supported as a command-line option is also supported as an environment # variable. # Some options you're likely to want to set: MESOS_log_dir=/var/log/mesos MESOS_work_dir=/var/run/mesos MESOS_port=5050 # For isolated sandbox testing #MESOS_ip=127.0.0.1 MESOS_ip=192.168.122.31 MESOS_ZK=zk://localhost:2181/mesos MESOS_QUORUM=1 |
1 2 | # service zookeeper start # service mesos-master start |
1 2 | # firewall-cmd --zone=public --add-port=5050/tcp --permanent # firewall-cmd –reload |
1 2 3 4 5 6 7 | # cat >/etc/sysconfig/marathon<<EOF MARATHON_MASTER=zk://localhost:2181/mesos MARATHON_ZK=zk://localhost:2181/marathon MARATHON_TASK_LAUNCH_TIMEOUT=600000 MESOS_NATIVE_JAVA_LIBRARY=/usr/lib64/libmesos.so.22 MESOS_NATIVE_LIBRARY=/usr/lib64/libmesos.so.22 EOF |
1 | # service marathon start |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |