Versions Compared

Key

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

Table of Contents
User Hosted PGA with SciGaP in Ubuntu OS

Prerequisites

  1. Requires a Unix or Unix like operating system
  2. Requires a web server (e.g apache web server) with PHP 5.4 or higher. Make sure have enabled mod_rewrite module in httpd.conf file and enable PHP SOAP extension
  3. Install Composer
  4. MYSQL database installation
  5. MCrypt PHP extension

...

Open the default vhost config file:

  1.  

...

  1. sudo nano /etc/apache2/sites-available/default
  2.  

...

  1. Now search for “AllowOverride None”  corresponding “DocumentRoot /var/www <Directory /var/www>” (which should be there TWO times) and change both to “AllowOverride All“. Search for these two lines.
  2.  

...

  1. Exit and save with CTRL+X, Y, ENTER.


Download Pga from GIT

  1. Download PGA from github to the document root of you web server /var/www.

...

  1.  
  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
      1. Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings

      ...

      1. NOTE: this file will be removed in the future. So this will not be needed

      ...

       

      1. Create a copy of app/config/app_config.ini.template file as app/config/app_config.ini

      ...

        1. sudo cp  app/config/app_config.ini.template file as app/config/app_config.ini
      1. Now issue composer install command

           

            1. sudo composer update
          1. Restart the web server

          ...

            1. sudo service apache2 restart