我想用非根用户在dcos中运行cassandraDemon。就像在dcos上安装cassandra时,我想把service.user改成。我们该怎么做呢?
发布于 2017-04-06 06:13:43
假设代理上存在用户core,您可以这样做:
$ cat options.json
{
"service": {
"user": "core"
}
}
$ dcos package install --options=options.json cassandra
DC/OS Cassandra Service default configuration requires 3 nodes each with 1.5 CPU shares, 5376MB of memory and 11264MB of disk for running Cassandra Nodes. And, 1 node with 0.5 CPU shares, 2048MB of memory for running the service scheduler.
Continue installing? [yes/no] yes
Installing Marathon app for package [cassandra] version [1.0.25-3.0.10]
Installing CLI subcommand for package [cassandra] version [1.0.25-3.0.10]
New command available: dcos cassandra
DC/OS Apache Cassandra has been successfully installed!
Documentation: https://docs.mesosphere.com/current/usage/service-guides/cassandra/
Issues: https://dcosjira.atlassian.net/projects/CASSANDRA/issueshttps://stackoverflow.com/questions/42625827
复制相似问题