You need an interactive client CLI tool to start using the demo setup. Follow the steps mentioned below to be able to use the CLI tool:
- Extract the CLI tool from the following ZIP file to the home directory or a place of your choice.
wso2s2cli-1.0.0.zip
- Export the host and port of the SC as environment variables in your
bashrc
file before using the CLI Tool.
Example:
export
STRATOS_SC_HOST=192.168.92.10
export
STRATOS_SC_PORT=9445
- Export the following environment variables by adding them into your
bashrc
file.
exportJAVA_HOME=/opt/jdk1.6.0_24/
exportPATH=$JAVA_HOME/bin:$PATH
$ cd wso2s2cli-1.0.0 - Add execute permission to the script.
$ chmod 755 ./stratos.sh