Friday, July 15, 2011

Setting up Stratos locally in your home computer is just a few steps away ..

Now you can check out the trunk code of Carbon from the repository, build, and configure WSO2 Stratos in a few steps.
Check out
mvn clean install from carbon directory

Set up the following in ~/.bashrc (change the values accordingly for the email addresses, carbon directory, the transport sender, and the other information given below.)
# Stratos setup constants
export stratos_local_ip=""

export CARBON_DIR="/home/pradeeban/trunk/stratos/carbon"
export STRATOS_DIR=$CARBON_DIR/stratos_home
export SSO_ENABLED=true
export CREATE_DB=true
export STRATOS_MAIL_TRANSPORT=' ********.***.***25 false false '

If you are going to use the stratos binaries, you can use the downloaded packs, usually available from the builders online, as of the trunk or development branch version or from the download area, for a released version.

Place the downloaded zips in to a location and also define that location in bashrc profile.
export PACKS_DIR="/home/pradeeban/Downloads"

Now you may run the set up script as above.

Running Stratos Set up script - carbon/build/

Add the following lines to your /etc/hosts file

Start all the Stratos services
from $stratos_home
sh start all

Stop all the Stratos services
form $stratos_home
sh stop all

Also you can start and stop the services individually or as a chosen subset of all the available services.

Here by pointing the browser to, you can access Stratos Manager. Pls note that in the configuration we have enabled SSO. You can also set up the Stratos services with SSO disabled instead, by setting export SSO_ENABLED=false,above in .bashrc profile. 

No comments:

Post a Comment