Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PGA Installation Prerequisites 

NOTE: Plese refer refer documentation in Airavata Documentation: Prerequisites

Installing PGA in Ubuntu OS

  1. Download PGA from github to the document root of you web server /var/www. 
  2. Use git clone https://github.com/apache/airavata-php-gateway.git or download the zip from the github web page.
  3. Go inside the PGA directory (e.g /var/www/airavata-php-gateway)
  4. Make sure the storage folder is writable
    1. sudo chmod -R 777 app/storage
  5. Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings
  6. Now issue composer update command
    1. sudo composer update
  7. Restart the web server
    1. sudo service apache2 restart

Installing PGA on

...

  1. $ sudo pacman -S polkit apache php php-apache php-mcrypt php-composer

...

  1. $ sudo vim /etc/php/php.ini
    Uncomment the following extensions: mcrypt.so, openssl.so, and soap.so

  2. $ sudo vim /etc/httpd/conf/httpd.conf
    Uncomment the following extension: rewrite_module modules/mod_rewrite.so
    Replace the mpm_event_module modules/mod_mpm_event.so with mpm_prefork_module modules/mod_mpm_prefork.so
    Add the following line: LoadModule php5_module modules/libphp5.so
    Add the following line: Include conf/extra/php5_module.conf

...

  1. $ sudo systemctl start polkit
    $ sudo systemctl start httpd
    $ sudo systemctl enable httpd

  2. Note: you may need to reboot to start polkit

...

  1. $ cd /srv/http
    $ sudo git clone https://github.com/apache/airavata-php-gateway.git
    $ sudo chown -R $USER airavata-php-gateway

...

  1. $ cd airavata-php-gateway
    $ cp app/config/pga_config.php.example app/config/pga_config.php
    $ vim app/config/pga_config.php
  2. Note: make sure to make the directory pointed to by 'experiment-data-root' in pga_config.php and chmod 777 it. By default, this is /srv/http/experimentData

...

  1. $ chmod -R 777 app/storage 

Cent OS

Please follow documentation in 

...

Installing PGA in MAC OS

Installing Prerequisites

  1. To install MCrypt for PHP on MAC please follow the steps in http://coolestguidesontheplanet.com/install-mcrypt-php-mac-osx-10-9-mavericks-development-server/
  2. Once above is completed follow the steps given in http://sangatpedas.com/20140219/installing-laravel-osx-mavericks/ for
    1. Configuring Apache
    2. Installing Composer 

Download and Configure PGA

...