我使用以下命令来更改端口
sudo ./bin/start --master local --zk zk://10.20.8.106:2181/marathon --http_port=7070
但它不起作用了,我要[scallop]错误:未知选项“http\u port=7070”。当我通过putty访问ubuntu时,有必要在命令中给出ubuntu机器的ip地址,而不是“local”。
t5fffqht1#
我想你应该把这本书扔掉 = 像这样的字符:
=
sudo ./bin/start --master local --zk zk://10.20.8.106:2181/marathon --http_port 7070
看一看https://mesosphere.github.io/marathon/docs/command-line-flags.html关于所有可用选项。关于 --master 标志:--master(必选):mesos主机的url。格式是以逗号分隔的主机列表,如zk://host1:port、host2:port/mesos。如果使用zookeeper,请特别注意前面的zk://和后面的/mesos!如果不使用zookeeper,标准URLhttp://localhost are 也可以接受。
--master
1条答案
按热度按时间t5fffqht1#
我想你应该把这本书扔掉
=
像这样的字符:看一看
https://mesosphere.github.io/marathon/docs/command-line-flags.html
关于所有可用选项。关于
--master
标志:--master(必选):mesos主机的url。格式是以逗号分隔的主机列表,如zk://host1:port、host2:port/mesos。如果使用zookeeper,请特别注意前面的zk://和后面的/mesos!如果不使用zookeeper,标准URLhttp://localhost are 也可以接受。