To setup WSO2 ESB do the following :
More details can be found at https://docs.wso2.com/display/ESB490/Installing+the+Product