testlinktool.yolasite.comtestlinktool.yolasite.com/resources/Configure TestLink... · Web...

Post on 27-Feb-2020

11 views 0 download

transcript

Configure TestLink with Apache, PHP and MySQL –

MySql Installation

1) Double Click on the mysql-essential-6.0.3-alpha-win32.msi and follow the instructions:-

2) Click on the Next button.

3) Click on the Next button.

4) Click on the Install button.

5) Click on the Next button.

6) Click on the Next button.

7) Click on the Finish button.

8) Click on the Next button.

9) Click on the Next button.

10)Click on the Next button.

11)Click on the Next button.

12)Click on the Next button.

13)Click on the Next button.

14)Click on the Next button.

15)Click on the Next button.

16)Click on the Next button.

17)Enter the password and Click on the Next button.

18)Click on the Next button.

19)Click on the Next button.

Installation and Configuration of Apache

1) Download Apache from http://httpd.apache.org/download.cgi site.2) Run the installer apache_2.2.x-win32-x86-openssl-0.9.8i.msi.3) Click on Next button.

4) Accept the License agreement and click on Next button.

5) Click on Next button.

6) Fill all the details and click on Next button.

7) Click on Next button.

8) Click on Next button.

9) Click on Install button.

10) The installation will start.

11) Click on Finish button.

12) Stop Apache service.

13) Go to Apache installation directory (C:\Program Files\Apache Software Foundation\Apache2.2\). Now go to conf directory. Open the httpd.conf file. Search the DirectoryIndex and update the line as follows – # DirectoryIndex: sets the file that Apache will serve if a directory# is requested.#<IfModule dir_module> DirectoryIndex index.html index.html.var index.htm index.php</IfModule>

14) Restart the Apache services.

PHP Installation

1) Download PHP (php-5.2.5-Win32.zip) from http://www.php.net/downloads.php .2) Extract all the files from zip file.3) Copy php-5.2.5-Win32 directory into C:\ drive and rename it to PHP.4) Go to the C:\PHP directory. Locate the file php.ini-dist and rename it to php.ini5) Open this php.ini file. 6) Locate the “doc_root” and set the value of this variable is “C:\Program Files\

Apache Software Foundation\Apache2.2\htdocs”.7) Locate the “extension_dir” and set the value of this variable is “C:\PHP\ext\”8) Uncomment the module extension=php_mysql.dll and extension=php_mysqli.dll9) Save the php.ini file and close it. Copy this php.ini file into C:\Windows

directory.10) Copy the file “php5apache2_2.dll” and “php5ts.dll” and paste into the “C:\

Program Files\Apache Software Foundation\Apache2.2\bin” directory.11) Go to “C:\Program Files\Apache Software Foundation\Apache2.2\conf” directory.

Open the file httpd.conf.12) Locate the “AddType application/x-gzip .gz .tgz” and add the following lines

below this – LoadModule php5_module C:\PHP\php5apache2_2.dllAddType application/x-httpd-php .php

13) Restart the Apache Web Server.

TestLink 1.8 Installation

1) Download Testlink 1.8 from http://sourceforge.net/project/showfiles.php?group_id=90976&package_id=270236 site.

2) Extract all the files from testlink_1.8.RC1.zip file.3) Rename the directory “testlink_18RC1” to “testlink”.4) Open the Internet Explorer and navigate the link

“http://localhost/testlink/install/index.php”.

5) Click on the New Installation link.

6) Enter the TestLink database name. Enter the database username or password. Enter the TestLink username and password. Click on Setup TestLink button.

7) Accept the license agreement. Click on Proceed button.