6.4.4.1.
Debian 4.x and Ubuntu 7.xx, 8.xx, 9.04
Up one level
Install Apache 2.2
Install apache2.2 running the command: sudo apt-get install apache2. This command will try to install additionally the following packages:
- apache2-mpm-worker
- apache2-utils
- apache2.2-common
N.B. for Ubuntu 9.04 installations that use the distribution package for tomcat6, you must edit /etc/tomcat6/server.xml and uncomment the line that defines the AJP 1.3 Connector on port 8009, i.e.
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
After editing server.xml tomcat should be restarted:
$ sudo /etc/init.d/tomcat6 restart
Apache2.2 Configuration
Edit the default apache configuration as follows:
- Enable ssl and proxy_ajp modules by running
$ sudo a2enmod ssl $ sudo a2enmod proxy_ajp
-
Copy the sample gria5.3.1-services.conf file into /etc/apache2/sites-available, and edit it accordingly, i.e. provide the locations of the certificate files previously created using the following parameters:
- SSLCertificateFile
- SSLCertificateKeyFile
- SSLCACertificateFile*
- SSLCARevocationFile (if you have one)
*N.B.For Ubuntu 8.04 installations please change the name of parameter SSLCACertificateFile to SSLCertificateChainFile in gria-services.conf file.
In addition, according to the GRIA packages you are installing uncomment one or more of the following lines:
#ProxyPass /gria-basic-app-services ajp://localhost:8009/gria-basic-app-services #ProxyPass /gria-client-mgt ajp://localhost:8009/gria-client-mgt #ProxyPass /gria-service-provider-mgt ajp://localhost:8009/gria-service-provider-mgt
Save the changes.
- Enable the gria-services.conf virtual host:
$ sudo a2ensite gria-services.conf
- Check /etc/apache2/ports.conf file that includes the following line:
Listen 443
- Edit /etc/apache2/mods-enabled/proxy.conf file
and comment out the line:
Deny from all
- Restart apache
$ sudo /etc/init.d/apache2 force-reload
