To run WSO2 products, you start the product server at the command line. You can then run the Management Console application to configure and manage the product. The following sections on this page describes how to run the product:
...
Table of Contents | ||||
---|---|---|---|---|
|
Before you begin
Before you start the server, note the following:
...
- 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
<PRODUCT_HOME>
is the directory where you installed the product distribution:OS Command On Windows <PRODUCT_HOME>\bin\wso2server.bat --run
On Linux/Solaris sh <PRODUCT_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
If you want to check any additional options available to be used with the startup commands, type
-help
after the command, such as:sh <PRODUCT_HOME>/bin/wso2server.sh -help
. The description of each startup option is given here.The operation log appears. When the product server is running, the log displays the message "WSO2 Carbon started in 'n' seconds."
- On Windows:
Anchor | ||||
---|---|---|---|---|
|
...
Accessing the Management Console
Once the server has started, you can run the Management Console by opening a Web browser and typing in the management console's URL. The URL is displayed as the last line in the start script's console and log. For example:
...