Repository: airavata-docs
Updated Branches:
  refs/heads/master eed63a29f -> 3fd4bb9fb


Added WSO2 IS related configurations in pga_config.php


Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/3fd4bb9f
Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/3fd4bb9f
Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/3fd4bb9f

Branch: refs/heads/master
Commit: 3fd4bb9fbeee3e07fe4767927823d1dbc448d1ad
Parents: eed63a2
Author: Eroma Abeysinghe <[email protected]>
Authored: Thu Mar 3 14:02:40 2016 -0500
Committer: Eroma Abeysinghe <[email protected]>
Committed: Thu Mar 3 14:02:40 2016 -0500

----------------------------------------------------------------------
 PGA-Installation.md | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/3fd4bb9f/PGA-Installation.md
----------------------------------------------------------------------
diff --git a/PGA-Installation.md b/PGA-Installation.md
index 8776a4c..003debe 100644
--- a/PGA-Installation.md
+++ b/PGA-Installation.md
@@ -29,28 +29,30 @@
 6. Install php-mcrypt <pre><code>yum install php-mcrypt</code></pre>
 
 ### Download and Configure PGA
-1. Take the git clone https://github.com/apache/airavata-php-gateway.git
-<br> Needs to take the clone in the document root. in centOS7 its var/www/html
+1. As the document root (var/www/html) take the git clone 
https://github.com/apache/airavata-php-gateway.git 
 2. Change the cloned folder name to your desired folder name(e.g.: 
php-gateway). This will carry sub folders for the gateway
 <pre><code>cp - R airavata-php-gateway /* .</code></pre>
 3. In the gateway folder do a <pre><code<composer update</code></pre>
-4. Give permission to user data folder
-<pre><code>chmod -R 777 
/var/www/portals/gateway-user-data/php-gateway</code></pre>
+4. Create a directory in var/www/ for user data (E.g.:gateway-user-data). Give 
permission to user data folder
+<pre><code>chmod -R 777 /var/www/portals/gateway-user-data</code></pre>
 5. Copy pga_config.template and make  pga_config.php
 6. In pga_config.php change airavata server, change;
        -  Airavata Client Configurations
                - 'airavata-server' => 'localhost’,
                - 'gateway-id' => 'airavata_test_gateway',
-               - 'experiment-data-absolute-path' => 
'/var/www/experimentData',(Here user has to create the experimentData folder in 
var/www)
-               - 'gateway-data-store-resource-id' => ''
+               - 'experiment-data-absolute-path' => 
'/var/www/gateway-user-data',(Here user has to create the experimentData folder 
in var/www)
+               - 'gateway-data-store-resource-id' => '' (This is the ID of the 
gateway preferred storage resource)
        - Portal Related Configurations
                - 'super-admin-portal' => false, (User has one gateway and need 
to use it to configure the compute resources, storage resources, etc...)
                - 'admin-emails' => ['[email protected]'],
                - 'portal-email-username' => '[email protected]',
                - 'portal-email-password' => '&airavaxxxxxx',
        - WSO2 Identity Server Related Configurations
-               - Add WSO2 IS related details URL, username, password, etc…
-
+               - 'tenant-domain' => 'prod.airavata', (Provided by the Gateway 
Admin to WSO2 IS at tenant creation)
+               - 'admin-username' => 'Gateway-Admin', (Provided by the Gateway 
Admin to WSO2 IS at tenant creation)
+               - 'admin-password' => 'Gateway-Admin-Password', (Provided by 
the Gateway Admin to WSO2 IS at tenant creation)
+               - 'oauth-client-key' => 'G1khg0I0Xf444rereggrteret', (Generated 
by WSO2 IS at tenant creation)
+        - 'oauth-client-secret' => 'G1khg0I0Xf444rere', (Generated by WSO2 IS 
at tenant creation)
 7. Give writing permission chmod -R g+rwx app/storage/
 <br>in the http config file add URL information for the gateway file path 
(this is in w54 pga server) vi /etc/httpd/conf/httpd.conf
 8.  Make sure SElinux comparability of airaveata_php_gateway folder. for that 
give chcon -Rv --type=httpd_sys_content_t airavata-php-gateway/ - this is to 
make sure this folder is readable by http

Reply via email to