To run WSO2 products, you start the product server at the command line.
Note | ||
---|---|---|
| ||
It is recommended to disable hot deployment of assets in all production deployments. To disable it, change the value of the
|
You can then run the Management Console application to configure and manage the product. This page describes how to run the product in the following sections:
Table of Contents | ||||
---|---|---|---|---|
|
...
- Open a command prompt:
- On Windows, choose Start -> Run, type
cmd
at the prompt, and press Enter. - On Linux/Solaris, establish a SSH connection to the server or log in to the text Linux console.
- Execute one of the following commands, where
<GREG_HOME>
is the directory where you installed the product distribution: - On Windows:
<GREG_HOME>/bin/wso2server.bat --run
On Linux/Solaris:
sh <GREG_HOME>/bin/wso2server.sh
Info If you want to provide access to the production environment without allowing any user group (including admin) to log into the management console, execute one of the following commands.
- On Windows:
<PRODUCT_HOME>\bin\wso2server.bat --run -DworkerNode
- On Linux/Solaris:
sh <PRODUCT_HOME>/bin/wso2server.sh -DworkerNode
For additional options you can use with these startup commands, type
-help
after the command, such as:sh <PRODUCT_HOME>/bin/wso2server.sh -help
- On Windows:
...