You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 18
Next »
User Hosted PGA with SciGaP in Ubuntu OS
Prerequisites
- Requires a Unix or Unix like operating system
- 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
- Install Composer
- MYSQL database installation (Required if the user is hosting Airavata on his own. To communicate with SciGaP this step is not relevant)
- MCrypt PHP extension
- Follow instructions given in links to install the prerequisites based on the OS ;
- On Ubunutu: http://www.dev-metal.com/install-laravel-4-ubuntu-12-04-lts/
- On Centos: https://www.digitalocean.com/community/tutorials/how-to-install-laravel-4-on-a-centos-6-vps
- On MAC OS: http://sangatpedas.com/20140219/installing-laravel-osx-mavericks/
- Important: Do not need to install Laravel. You can skip the steps given on the links
Download PGA from GIT
- Download PGA from github to the document root of you web server /var/www.
- Use git clone https://github.com/apache/airavata-php-gateway.git or download the zip from the github web page.
- Go inside the PGA directory (e.g /var/www/airavata-php-gateway)
- Make sure the storage folder is writable
- sudo chmod -R 755 app/storage
- Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings
- Now issue composer install command
- sudo composer install
- Restart the web server
- sudo service apache2 restart
User Hosted PGA with SciGaP in MAC OS
Installations
- 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/
- Once above is completed follow the steps given in http://sangatpedas.com/20140219/installing-laravel-osx-mavericks/ for
- Configuring Apache
- Installing Composer
Download and Configure PGA
cd /Library/WebServer/Documents
git clone https://github.com/apache/airavata-php-gateway.git
cd /Library/WebServer/Documents/airavata-php-gateway
- Make sure the storage folder is writable
sudo chmod -R 755 app/storage
- (optional) Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings
- Enable Apache extensions (mod_rewrite module and PHP SOAP extension)
sudo vim /etc/apache2/httpd.conf
uncomment #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
uncomment #LoadModule php5_module libexec/apache2/libphp5.so
- Now issue composer install command
sudo composer install
- Restart the web server
sudo apachectl restart