...
- Requires RabbitMQ server running in our local machine.
- Download the RabbitMQ from https://www.rabbitmq.com/install-standalone-mac.html.
- Unzip the downloaded RabbitMQ tar file into a folder in your local machine. To unzip use;
tar -xvf rabbitmq-server-mac-standalone-3.4.1.tar.gz
Navigate to above unzipped folder (rabbitmq-server-mac-standalone-- Start the RabbitMQ server using;
./rabbitmq_server-3.4.1
) and start the RabbitMQ server;
.- /sbin/rabbitmq-server –detached
(For detailed information on getting RabbitMQ started, stooped, etc please visit https://www.rabbitmq.com/download.html)
- Requires maven (java based code building tool)
- http://maven.apache.org/download.cgi
- http://maven.apache.org/download.cgi#Installation
Start Airavata Server & XBAYA
- Clone the source (If you have not taken a clone prior) code from github (git clone https://github.com/apache/airavata). If you have already cloned go to next step.
- In your machine go to local folder where Airavata source code is cloned and then do a git pull to make sure you have the latest trunk.
- After the above is completed build the source code by executing following maven command;
mvn clean install
(Useful Hint: Use mvn clean install -Dmaven.test.skip=true to avoid tests and is recommended for first timers.) - Go to folder where Airavata server distribution zip or tar files are residing.
cd modules/distribution/server/target - Unzip either the tar or zip file of Airavata server distribution using
unzip apache-airavata-server-0.14-SNAPSHOT-bin.zip
OR
tar -xvf apache-airavata-server-0.14-SNAPSHOT-bin.tar.gz - Go to extracted folder
cd apache-airavata-server-0.14-SNAPSHOT - In folder apache-airavata-server-0.14-SNAPSHOT navigate to the bin and view the file airavata-server.properties
- Update ‘pubilsh.rabbitmq’ property to true in bin/airavata-server.properties file. File would then have;
publish.rabbitmq=true - In bin start the Airavata server;
(Useful Hint:This may require JAVA_HOME to be defined. Some configurations such as in bin/zoo.cfg and bin/airavata-server.properties may have to be adjusted if some ports are already in use. Ports need to be open as well.)
sh airavata-server.sh - Go to apache-airavata-server-0.14-SNAPSHOT/samples/ directory and register sample scripts and local host. by running
sh registerSample.sh - After starting the AIravata server and registering the sample applications, start XBAYA GUI. Navigate to modules/distribution/xbaya-gui/ and build xbaya
mvn clean install - Navigate to folder ‘target’ and then extract the xbaya using
unzip apache-airavata-xbaya-gui-0.14-SNAPSHOT-bin.zip - Go to bin folder in unzipped apache-airavata-xbaya-gui-0.14-SNAPSHOT and navigate to the the bin folder and start xbaya GUI
sh xbaya-gui.sh
...
{"serverDuration": 130, "requestCorrelationId": "b9f21c8660683f2a"}