...
$ sudo pacman -S polkit apache php php-apache php-mcrypt php-composer mariadb
$ sudo vim /etc/php/php.ini
Uncomment the following extensions: mcrypt.so
, openssl.so
, pdo_mysql.so
, and soap.so
$ 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
$ sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
$ sudo systemctl start polkit
$ sudo systemctl start httpd
$ sudo systemctl enable httpd
$ sudo systemctl start mysqld
$ sudo systemctl enable mysqld
Note: you may need to reboot to start polkit
$ sudo mysql_secure_installation
$ mysql -u root -p
> CREATE USER 'forge'@'localhost';
> GRANT ALL PRIVILEGES ON * . * TO 'forge'@'localhost';
> CREATE DATABASE 'forge';
> FLUSH PRIVILEGES;
> exit
$ cd /srv/http
$ sudo git clone https://github.com/apache/airavata-php-gateway.git
$ sudo chown -R $USER airavata-php-gateway
$ cd airavata-php-gateway
$ cp app/config/pga_config.php.example app/config/pga_config.php
$ vim app/config/pga_config.php
$ chmod -R 777 app/storage
$ sudo composer install
...
...
...