setup script contains different parameters you can use. To see the usage guide, run
./setup.sh without parameters.
- --single-machine
- Triggers single machine installation.
- User1@HostName|IP User2@HostName|IP
- Triggers swarm installation on three defined machines (current machine plus additional supplied machines.)
- --temp-dir
- Specifies where the files are uploaded on the node machines. Optional. If omitted, the
/tmp directory is used by default.
- --hostname
- Full public host name of the Manager machine. For example,
foo.myorg.com. Optional. If omitted, you are prompted during setup.
- --port
- Desired SSL port. Optional. If omitted, you are prompted during setup. Defaults to
443.
- --certfile
- /path/to/your/file.crt. Optional. The installer supplies a self-generated certificate file. If omitted, you are prompted during setup.
- --keyfile
- /path/to/your/file.key. Optional. The installer supplies a self-generated key file. If omitted, you are prompted during setup.
- --eula-accepted
- Optional. If omitted, you are prompted to accept the End User License Agreement during setup.