Thursday, April 23, 2015

Install and configure Testlink 1.9.13 (Stormbringer) In Ubuntu - Azure


In this guide i will go through the steps in the configuring Testlink ( 1.9.13 (Stormbringer)in Azure.

  • I have already configured the virtual machine and the name as testlink.cloudapp.net

  • ·        Connect to the server using Putty. (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
  • Then install updates.
§ sudo apt-get update
§ sudo apt-get upgrade
  •  Install Apache , Mysql , Phpmyadmin ,
§ sudo apt-get install apache2 mysql-client mysql-server phpmyadmin
  • Create a database and create a user and give full access to that user to that database.
          Install Java  
§ sudo apt-get install default-jdk
  • Install PHP
§ sudo apt-get install php5 libapache2-mod-php5 php5-mysql
  •  Next need to open the http port form the azure portal.

    • login to the azureportal
    • select Virtual machine and select Endpoints
    • Click add to new rule.
    • add a Add a stand-alone endpoint click
    • select following values Specify the details of the endpoint


  •   Download Testlink

  •  Extract the files
             §  sudo tar xvzf testlink-1.9.13.tar.gz

  • ·        Move the extracted files to /var/www/
             §  sudo mv testlink /var/www


              change the /etc/apache2/sites-available/ 000-default.conf
             §  sudo nano /etc/apache2/sites-available/ 000-default.conf
eg: 

    
  • ·        Create a following  folders
             §  sudo mkdir /var/testlink
             §  sudo mkdir /var/testlink/logs/
             §  sudo mkdir /var/testlink/upload_area
  • Give writable permission to the fodders
             § sudo chmod 777 /var/www/testlink/gui/templates_c
   § sudo chmod 777 /var/testlink/logs
             § sudo chmod 777 /var/testlink/upload_area

  • Edit the following settings in the /x and set the following parameters:
             §  max_execution_time = 120
             §  session.gc_maxlifetime = 2700

  •  Restart the apache server
                 §  sudo /etc/init.d/apache restart

  • Then follow the onscreen instructions.
  • When Finish it will show following massage
  • Create a file in name with config_db.inc.php in /var/www/testlink folder.

  • And copy the document to there.

  • All done Now you can log in with the Default Username and Password.
               §  User Name : admin
               § Password : admin

6 comments: