Stratos comes with a Command Line Interface (CLI) tool that provides you an interface to manage your applications in Stratos. You can run each command to carryout a range of actions in Stratos. To learn about all the available CLI commands, see the CLI Guide.
The CLI tool can be operated in two modes:
Note |
---|
You need to configure the CLI tool and log into the Stratos Manager via the CLI to be able to use the CLI tool. |
...
Log in
To log in by entering the following command. (In the interactive mode if you do not enter the username and password, the CLI tool will prompt you for it.)
./stratos.sh
For example:
Code Block |
---|
James:bin jameswest$ ./stratos.sh Username: admin Password: ***** Successfully authenticated |
For example:
Username: admin
Password: admin
If you have provided any wrong login parameters, the login help will appear.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
...
Code Block |
---|
James:bin jameswest$ ./stratos.sh -u admin -p admin list-cartridges Cartridges found: +------+----------+------+---------------+---------+--------------+ | Type | Category | Name | Description | Version | Multi-Tenant | +------+----------+------+---------------+---------+--------------+ | php | data | php | php Cartridge | 7 | false | +------+----------+------+---------------+---------+--------------+ |
...