[DEPRECATED] CentOS 6: Install WSO2 Data Services Server

Versions

  • CentOS 6.3
  • Oracle Java JDK 1.6
  • WSO2 Data Services Server 3.0.1

Prerequisties

Install

1. Download
Download Data Services Server from WSO2 website: http://wso2.com/products/data-services-server/
Note: can’t link directly since currently requires filling out a form to download.

2. Extract

Note: update version as required
2. Move

Configure

1. Create wso2 user if missing

2. Update permissions

3. Create service script /etc/init.d/wso2dss

Note: the script hard codes JAVA_HOME, but this can be deferred to the /etc/sysconfig/wso2<product> script (which you must create) if desired. Note that the normal /etc/profile.sh is *not* run for system accounts.
TODO: find better way of setting JAVA_HOME, can’t execute /etc/profile or /etc/profile.d/java.sh directly

4. Make it executable

5. Start service

6. Start service on boot

7. Open the following ports as required:

  • 9443 – carbon admin and https port used to access data services
  • 9763 – http port used to access data services

See Open a port for iptables

Verify

Watch wso2dss logs:

Should see the following:

Visit your new Carbon website: https://<hostname>:9443/carbon/
WSO2 Data Services Server - Google Chrome_006
Initial login:

  • Username: admin
  • Password: admin

Important Note: if are you going to want to configure API Manager to use LDAP for logins, don’t log in using the default admin account!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">