...
- Open a command prompt by following the instructions below:
- On Windows: click Click Start -> RunRun, type
cmd
at the prompt, and then press Enter. - On Linux/Mac OS: establish Establish an SSH connection to the server, log on to the text Linux console, or open a terminal window.
- Navigate to the
<EMM_HOME>/bin/
directory using the Command Prompt. - Execute one of the following commands:
- To start the server in a typical environment:
- On Windows:
wso2server.bat --run
On Linux/Mac OS:
sh wso2server.sh
- On Windows:
To start the server in the background mode of Linux:
sh wso2server.sh start
To stop the server running in this mode, you will enter:sh wso2server.sh stop
To provide access to the production environment without allowing any user group (including admin) to log into the Management Console:
- On Windows:
wso2server.bat --run -DworkerNode
- On Linux/Mac OS:
sh wso2server.sh -DworkerNode
- On Windows:
- To check for additional options you can use with the startup commands, type
-help
after the command, such as:
sh wso2server.sh -help
(see the related topics section at the end of this page). The operation log appears in the command window. When the product server has successfully started, the log displays the message "WSO2 Carbon started in 'n' seconds".
...