> curl -O http://downloads.mesosphere.com/marathon/v1.5.1/marathon-1.5.1.tgz
> tar xzf marathon-1.5.1.tgz
> ./bin/marathon --master zk://zk1.foo.bar:2181,zk2.foo.bar:2181/mesos --zk zk://zk1.foo.bar:2181,zk2.foo.bar:2181/marathon
报错:
java.lang.UnsatisfiedLinkError: no mesos in java.library.path
...
解决办法:
sudo vi /etc/profile
export MESOS_NATIVE_JAVA_LIBRARY=/usr/local/lib/libmesos.so
source /etc/profile //重启生效