
|
|
Linux Detailed Install
You will need to be running a linux distro (e.g. SuSE 9.3) or Unix release (e.g. Solaris 10) along with the following components in order to run QaTraq. Although these components usually come pre-installed with most Linux distros, we provide install, setup and check steps in the sections below to help you ensure that you are running with the right versions before installing QaTraq. If you are going to be installing on Solaris please contact us first as there are some points we can advise you on.
Please note that Apache processes and script names can differ between different unix and linux distributions. Some examples of these differences can be found below:
| |
Init Script |
App Location |
Deamon Name |
Document Root |
| Suse 9* |
/etc/init.d/apache2 |
/usr/sbin/httpd2 |
httpd2 |
/srv/www/htdocs/ |
| RedHat 8 |
/etc/init.d/apache |
/usr/sbin/httpd |
httpd |
/var/www/htdocs |
| Gentoo |
/etc/init.d/apache2 |
/usr/sbin/apache2 |
httpd2 |
/var/www/localhost/htdocs |
| Others |
|
|
|
/usr/local/apache/htdocs/ |
* - used in this document
We have stuck to the defaults present in Suse 9 for the purpose of this install document. If you are running a different distribution you may find you need to refer to a different set of Apache defaults given in the list above. Unfortunately It’s never quite as simple as it could be with Linux!
If you don't have Apache installed or you are having problems getting Apache running correctly the following should help.
| Download |
http://httpd.apache.org/download.cgi |
| Install |
http://httpd.apache.org/docs/ |
| Setup |
The following setup and configuration parameters are critical to QaTraq. Below you will find examples of configuration directives for both Apache 1.3 and Apache 2.x. Apache can seem like a small maze when it comes to configuration so we suggest you only make changes if you know what you are doing.
For example we suggest that you don’t make any changes to Php directives until you have installed Php. Installation of Php will automatically make changes to the necessary Apache configuration files. So it is worth waiting until you have completed the php install before modifying the httpd.conf file php parameters.
Apache 1.3 example: /etc/httpd/conf/httpd.conf
LoadModule php4_module modules/libphp4.so
DirectoryIndex index.php
AddType application/x-httpd-php .php
DocumentRoot "/srv/www/htdocs/qatraq"
<Directory "/srv/www/htdocs">
Options None
AllowOverride None
Order allow,deny
</Directory>
Apache 2.x example:/etc/apache2/sysconfig.d/loadmodule.conf
LoadModule php4_module /usr/lib/apache2-prefork/libphp4.so
/etc/apache2/conf.d/php4.conf
DirectoryIndex index.php
AddType application/x-httpd-php .php
/etc/apache2/httpd.conf
/etc/apache2/default-server.conf
DocumentRoot "/srv/www/htdocs/qatraq"
<Directory "/srv/www/htdocs">
Options None
AllowOverride None
Order allow,deny
</Directory>
DocumentRoot and Directory directives are dependent on your installation and set up.If you make changes to the Apache configuration files you will need to restart the daemon with:
/etc/init.d/apache2 restart
|
Again If you don't have Php installed or you are having problems the following should help.
Note: In order to avoid errors that are currently being reported with Php 5.3 we recommend using Php and Mysql versions: Php 5.2 / Mysql 5.1
| Download |
http://www.php.net/downloads.php |
| Install |
http://www.php.net/manual/en/install.php |
| Setup |
You will need to make sure the following setup and configuration parameters are configured for QaTraq to run. Whilst we only cover Php4 configuration here you should have no problems running Php5 with the following config.
Php 4.x: /etc/apache2/php.ini and /etc/httpd/php.ini
engine = On
short_open_tag = On
display_errors = Off
file_uploads = On
upload_max_filesize = 2M
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
Again, if you make changes to the Php configuration files you will need to restart the Apache daemon with:
/etc/init.d/httpd restart
or
/etc/init.d/apache2 restart
|
We recommend using MySQL version 4 on Linux/Unix platforms. Although it is possible to run with MySQL version 5 you may find some of the default configuration settings will need changing (possibly meaning a recompile of the source). Check the Troubleshooting section first if you plan to use MySQL5. If you don't have MySql installed or you are having problems the following should help.
| Download |
http://dev.mysql.com/downloads/mysql/4.1.html |
| Install |
http://dev.mysql.com/doc/refman/4.1/en/installing.html |
| Setup |
You will need to make sure the following setup and configuration parameters are configured for QaTraq to run.
MySQL 4: /etc/my.cnf and /var/lib/mysql/my.cnf
You should not need to change any MySQL settings
(we provide these details just for the sake of completeness)
If you do make changes to the Mysql configuration files you will need to restart the daemon with
/etc/init.d/mysql restart
|
|
|
St. Mary's Court, The Broadway,
Old Amersham, Buckinghamshire.
HP7 0UT United Kingdom
Telephone: +44 (0)1494 582037
|


|
|
|
|

|
|