Simple Installation for Centos
A step by step guide to installing ApTest Manager on a RedHat Enterprise Linux / Centos machine.
NOTE: Starting with RHEL / Centos 7 some packages are no longer maintained in the central repositories.
You will need to add the 'epel-release' package to your system BEFORE installing the required modules below. Also note that the system
version of the perl List::Util module on these machines is substantially out of date. You should replace this using a command like
cpan List::Util
before attempting to install ApTest Manager on these
machines. Finally, AND VERY IMPORTANTLY, be certain that your umask is set to 002
or 022 so that everything you install is readable and executable by other users - in
particular, the user that your web server runs as.
- Install the basic required modules with the commands:
yum groupinstall "Development tools" yum install httpd mod_perl mod_perl-devel db4-devel openssl-devel \ gd-devel libpng-devel libjpeg-devel freetype-devel
- Download the tgz file for the latest version of ApTest Manager and your ApTest Manager LICENSE file. You will need your ApTest Manager licensee username and password to do this.
- Open a shell window as the user 'root' and change directory to
/var/www/html
- Create the directory atm with the command
mkdir atm
- Copy the tgz file into /var/www/html/atm and 'cd' into that directory.
- Unpack the tgz file into
/var/www/html/atm
with the commandtar zxf atmSE_VERSION.tgz
where VERSION is the version of ApTest Manager that you downloaded. - Copy the LICENSE.dat file into
/var/www/html/atm/data
- Type the command
perl INSTALL.pl
- Answer 'Y' when asked if you want the installer to install the missing modules for you. Also answer 'Y' when asked if you want them installed locally. The INSTALL.pl script will then download whatever components are not already on your system and install them. There may be some questions asked during this process. The default answer is always correct.
- The system will ask "How will this copy of ATM be connected to your web server?" Answer '3' for mod_perl 2 mode.
- It will ask the name of the virtual directory. The default answer '/atm' is correct.
- It will ask what is the file system path to ATM. The default answer '/var/www/html/atm' is correct.
- It will ask for a password for the administrator account. The default pasword is 'admin'. You should change this to something unique and memorable.
- It will ask if you want passwords encrypted. The default answer is 'n'.
- It will ask the web server username. Answer 'apache'.
- It will ask the web server group. Answer 'apache'.
- It will ask about a network proxy server. If your server requires a proxy server to access the internet specify that address. If not, leave it blank.
- At this point, ApTest Manager is installed and ready to use.
However, we still need to tell Apache how to access it. Follow these
steps:
- cd to /etc/httpd/conf
- vi httpd.conf
- Toward the bottom of the file add:
<Directory /var/www/html/atm> AllowOverride All Order deny,allow Allow from all </Directory> PerlRequire /var/www/html/atm/ATMHandler.pm
- Restart Apache to enable ApTest Manager
- Point your browser to
http://atmServer/atm/checkSetup.pl
- this will examine your server and ensure that everything is set up correctly. If you have followed the instructions about, it should be perfect. If there are any warnings, you will need to resolve them before continuing. - If checkSetup.pl reports that everything is fine, go to http://atmServer/atm and log in as admin using the password you specified above. Once logged in you can create regular user accounts. Don't forget to go into the "Manage System Configuration" page and open the system to non-administrative users. It is the first option on that page.
If you have any questions, don't hesitate to contact support or ask your question in the forums at http://www.aptest.com/forum. Good luck!