Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.
  2. Execute one of the following commands, where <PRODUCT_HOME> is the directory where you installed the product distribution:

    • On Windows: <PRODUCT_HOME>/bin/wso2server.bat --run
    • On Linux/Solaris: sh <PRODUCT_HOME>/bin/wso2server.sh

    Info
    titleStarting the server as a Worker Node:

    If you want to provide access to the production environment without allowing any user group (including admin) to log into in to the management console, execute one of the following commands.you must start the product as a worker node. You can enable the worker node for your product in two ways:

    1. Use the -DworkerNode startup command when you start the product as shown below:

    • On Windows: <PRODUCT_HOME>\bin\wso2server.bat --run -DworkerNode
    • On Linux/Solaris: sh <PRODUCT_HOME>/bin/wso2server.sh -DworkerNode

    2.You can set permanently set the -DworkerNode system property to 'true' in your product startup script. When you execute the product startup script, the worker profile will be started automatically.

    Code Block
    '-DworkerNode=false'

    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"When a WSO2 product server starts, it starts all features and related artifacts bundled in the product. If you want to start only a subset of features (e.g., only the backend features), see Running the product on a Preferred Profile.

...

Accessing the Management Console
Anchor
run
run

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:

...