Table of Contents
...
NOTE: Plese refer documentation in Airavata Documentation: Prerequisites
Starting The following guide gives a sample installation starting from a fresh Ubunutu 12.04 installation.
sudo apt-get update
sudo apt-get upgrade
Install Apache
...
sudo apt-get install apache2
Install PHP 5.4
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5-oldstable
sudo apt-get update
sudo apt-cache policy php5
sudo apt-get install php5
You can check the installed versions of apache and php using following commands
apache2 -
...
v
php -v
...
...
Install the necessary php extensions
...
sudo apt-get install unzip
sudo apt-get install curl
sudo apt-get install openssl
sudo apt-get install php5-mcrypt
sudo apt-get install php-soap
Install Composer System Wide
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
Activate mod_rewrite
sudo a2enmod rewrite
sudo service apache2 restart
Open the default vhost config file:
sudo nano /etc/apache2/sites-available/default
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.
...
...
...
...
...
Please follow documentation in Airavata Documentation: PGA Installation on Cent OS 7
Navigate to directory; cd /Library/WebServer/Documents
git clone https://github.com/apache/airavata-php-gateway.git
After cloning is completed navigate to gateway directory: cd /Library/WebServer/Documents/airavata-php-gateway
sudo vim /etc/apache2/httpd.conf
uncomment #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
uncomment #LoadModule php5_module libexec/apache2/libphp5.so
Having an issue with installation? Maybe someone earlier faced and the answer could be in FAQs. Please try: Airavata Documentation: FAQ
Comments, clarifications most welcomed. Subscribe and contact us through http://airavata.apache.org/community/mailing-lists.html
[Note this file will be removed in the future. So this will not be needed]
Create a copy of app/config/app_config.ini.template file as app/config/app_config.ini
sudo cp app/config/app_config.ini.template file as app/config/app_config.ini
Now issue composer install command
sudo composer update
Restart the web server
...