2.10. Data Grid Server cheatsheet
使用以下命令和示例作为用于 Data Grid 服务器的快速参考。
启动服务器实例
Linux
$ bin/server.sh
Microsoft Windows
$ bin\server.bat
启动 CLI
Linux
$ bin/cli.sh
Microsoft Windows
$ bin\cli.bat
创建用户
Linux
$ bin/cli.sh user create myuser -p "qwer1234!"
Microsoft Windows
$ bin\cli.bat user create myuser -p "qwer1234!"
停止服务器实例
单个服务器实例
[//containers/default]> shutdown server $hostname
整个集群
[//containers/default]> shutdown cluster
列出可用的命令选项
使用 -h
标志列出用于运行服务器的可用命令选项。
Linux
$ bin/server.sh -h
Microsoft Windows
$ bin\server.bat -h
7.x 到 8 参考
7.x | 8.x |
---|---|
|
|
|
|
|
|
|
|
|
|
其他资源