首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >DCOS Cassandra -使用非根用户运行cassandraDemon

DCOS Cassandra -使用非根用户运行cassandraDemon
EN

Stack Overflow用户
提问于 2017-03-06 20:35:14
回答 1查看 87关注 0票数 0

我想用非根用户在dcos中运行cassandraDemon。就像在dcos上安装cassandra时,我想把service.user改成。我们该怎么做呢?

EN

回答 1

Stack Overflow用户

发布于 2017-04-06 06:13:43

假设代理上存在用户core,您可以这样做:

代码语言:javascript
复制
$ 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/issues
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42625827

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档