安装dcos cli

控制台查看



bootstrap节点执行命令

[root@ip-172-31-40-253 ~]# curl https://downloads.dcos.io/binaries/cli/linux/x86-64/dcos-1.13/dcos -o dcos &&
> chmod +x ./dcos &&
> sudo mv dcos /usr/local/bin &&
> dcos cluster setup http://18.177.76.161 &&
> dcos
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32.8M  100 32.8M    0     0  11.0M      0  0:00:02  0:00:02 --:--:-- 11.0M
Username: bootstrapuser
Password:
dcos-core-cli [==============================================================================] 28.9 MiB / 28.9 MiB
dcos-enterprise-cli [==============================================================================] 27.0 MiB / 27.0 MiB
New commands available: backup, diagnostics, job, license, marathon, node, package, quota, security, service, task
Usage:
  dcos [command]

Commands:
  auth
      Authenticate to DC/OS cluster
  backup
      Access DC/OS backup functionality
  cluster
      Manage your DC/OS clusters
  config
      Manage the DC/OS configuration file
  diagnostics
      Create and manage DC/OS diagnostics bundles
  help
      Help about any command
  job
      Deploy and manage jobs in DC/OS
  license
      Manage your DC/OS licenses
  marathon
      Deploy and manage applications to DC/OS
  node
      View DC/OS node information
  package
      Install and manage DC/OS software packages
  plugin
      Manage CLI plugins
  quota
      Manage DC/OS quotas
  security
      DC/OS security related commands
  service
      Manage DC/OS services
  task
      Manage DC/OS tasks

Options:
  --version
      Print version information
  -v, -vv
      Output verbosity (verbose or very verbose)
  -h, --help
      Show usage help

Use "dcos [command] --help" for more information about a command.
原文地址:https://www.cnblogs.com/syavingcs/p/12059975.html