How to install Zephyr test management tool on CentOS 7.x

Source: Internet
Author: User

How to install Zephyr test management tool on CentOS 7.x

Test Management refers to everything that testers need. Test Management tools are used to record test execution results, plan test activities, and report on quality control activities. In this article, we will show you how to configure the Zephyr test management tool, which includes everything required to manage test activities, you do not need to install the applications required for the test activity separately to reduce the unnecessary troubles of testers. Once you have installed it, you can use it to track bugs and defects and collaborate with your team members on project tasks, because you can easily share and access data of multiple project teams during the test.

 

Zephyr requirements

The following minimum conditions are required to install and run Zephyr. Resources can be increased based on your infrastructure. We will install Zephyr on a 64-bit CentOS-7 system, with the available Zephyr binary distributions in almost all Linux operating systems.

Note: Table

Zephyr test management tool
Linux OS CentOS Linux 7 (Core), 64-bit  
Packages JDK 7 or higher, Oracle JDK 6 update No pre-installed Tomcat and MySQL
RAM 4 GB 8 GB recommended
CPU 2.0 GHZ or higher
Hard Disk 30 GB, at least 5 GB

To install Zephyr, you must have the root permission and make sure that you have correctly configured the static IP address of the network. The default port must be available and allow access through the firewall. Specifically, tomcat uses ports 80/443, 8005, 8009, and 8010, while flex using the RTMP protocol inside Zephyr uses ports 443 and 2099.

 

Install Java JDK 7

To install Zephyr, you must first install Java JDK 7. If you have not installed Zephyr on your system, follow the steps below to install Java and set the JAVA_HOME environment variable.

Run the following command to install Java JDK 7.

  1. [root@centos-007~]#yum install java-1.7.0-openjdk-1.7.0.79-2.5.5.2.el7_1
  2. [root@centos-007~]#yum install java-1.7.0-openjdk-devel-1.7.0.85-2.6.1.2.el7_1.x86_64

After installing java and all its dependencies, run the following command to set the JAVA_HOME environment variable.

  1. [root@centos-007~]#export JAVA_HOME=/usr/java/default
  2. [root@centos-007~]#export PATH=/usr/java/default/bin:$PATH

Run the following command to check the java version to verify the installation.

  1. [root@centos-007~]# java –version
  2. java version "1.7.0_79"
  3. OpenJDKRuntimeEnvironment(rhel-2.5.5.2.el7_1-x86_64 u79-b14)
  4. OpenJDK64-BitServer VM (build 24.79-b02, mixed mode)

The output shows that the OpenJDK Java version 1.7.0 _ 79 has been correctly installed.

 

Install MySQL 5.6.x

If there are other MySQL instances on the machine, we recommend that you uninstall them and install the version, or upgrade their Schema (schemas) to the specified version. Because Zephyr requires the specified MySQL version 5.6.x to have the root user name.

Follow these steps to install MySQL 5.6 On the CentOS-7.1:

Download the rpm package, which will create a yum library file for the MySQL server.

  1. [root@centos-007~]#yum install wget
  2. [root@centos-007~]#wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

Then run the rpm command to install the downloaded rpm package.

  1. [root@centos-007~]# rpm -ivh mysql-community-release-el7-5.noarch.rpm

After installing this package, you will have two new MySQL-related yum libraries. Then run the yum command to install MySQL Server 5.6. It automatically installs all required dependencies.

  1. [root@centos-007~]#yum install mysql-server

After the installation is complete, run the following command to start the mysqld service and check whether its status is activated.

  1. [root@centos-007~]# service mysqld start
  2. [root@centos-007~]# service mysqld status

For newly installed MySQL servers, the password of the MySQL root User is blank. To ensure security, we should reset the password of the MySQL root User. Use an automatically generated empty password to connect to MySQL and change the root user password.

  1. [root@centos-007~]# mysql
  2. mysql> SET PASSWORD FOR 'root'@'localhost'= PASSWORD('your_password');
  3. mysql> flush privileges;
  4. mysql> quit;

Now we need to configure the required database parameters in the default MySQL configuration file. Open the file in the "/etc/" directory and update it as follows.

  1. [root@centos-007~]#vi/etc/my.cnf
  1. [mysqld]
  2. datadir=/var/lib/mysql
  3. socket=/var/lib/mysql/mysql.sock
  4. symbolic-links=0
  5. sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
  6. max_allowed_packet=150M
  7. max_connections=600
  8. default-storage-engine=INNODB
  9. character-set-server=utf8
  10. collation-server=utf8_unicode_ci
  11. [mysqld_safe]
  12. log-error=/var/log/mysqld.log
  13. pid-file=/var/run/mysqld/mysqld.pid
  14. default-storage-engine=INNODB
  15. character-set-server=utf8
  16. collation-server=utf8_unicode_ci
  17. [mysql]
  18. max_allowed_packet =150M
  19. [mysqldump]
  20. quick

Save the updates in the configuration file and restart the mysql service.

  1. [root@centos-007~]# service mysqld restart

 

Download the Zephyr installation package

We have installed the required software package for installing Zephyr. Now we need to obtain the Zephyr binary release package and its license key. Go to Zephyr official download link http://download.yourzephyr.com/linux/download.php enter your email ID and click Download.

Download Zephyr

Then confirm your email address and you will get the Zephyr download link and its license key link. Click the provided link to download the binary installation package and license file from the server in a version suitable for your operating system.

We downloaded it to the home directory and changed its permissions to executable.

Zephyr Binary Package

 

Start installing and configuring Zephyr

Now we start to install Zephyr by executing its binary installation script.

  1. [root@centos-007~]#./zephyr_4_7_9213_linux_setup.sh –c

Once you run the preceding command, it checks whether Java environment variables are correctly configured. If the configuration is incorrect, you may see errors similar to the following.

  1. testing JVM in/usr ...
  2. StartingInstaller...
  3. Error:Either JDK isnot found at expected locations or JDK version is mismatched.
  4. Zephyr requires OracleJavaDevelopmentKit(JDK) version 1.7or higher.

If you configure Java correctly, it will start to install Zephyr and ask you to enter "o" to continue or enter "c" to cancel the installation. Let's press "o" and enter the Enter key to start installation.

Install zephyr

The next option is to check all requirements for installing Zephyr. Press enter to enter the next option.

Zephyr requirements

Enter "1" and press enter to agree to the license agreement.

  1. I accept the terms of this license agreement [1], I donot accept the terms of this license agreement [2,Enter]

We need to select the appropriate target location and default port for installing Zephyr. If you want to use another port other than the default port, you can also configure it here.

Installation folder

Then, customize mysql database parameters and provide the correct path of the configuration file. In this step, you may see errors similar to the following.

  1. Please update MySQL configuration.Configuration parameter max_connection should be at least 500(max_connection =500)and max_allowed_packet should be at least 50MB(max_allowed_packet =50M).

To eliminate this error, make sure that the "max_connection" and "max_allowed_packet" parameters are correctly configured in the mysql configuration file. Run the following command to connect to the database to confirm these settings.

Connect to mysql

When you configure the mysql database correctly, it extracts the configuration file and completes the installation.

Configure mysql

The installation process has successfully installed Zephyr 4.7 on your computer. To start the Zephyr desktop, enter "y" to complete the Zephyr installation.

Start zephyr

 

Start Zephyr Desktop

Open your web browser and start the Zephyr desktop with your local IP address. You will be directed to the Zephyr desktop.

  1. http://your_server_IP/zephyr/desktop/

Zephyr Desktop

Click "Test Manager" from the Zephyr dashboard and log on with the default username and password "test. manager.

Test Manage Logon

After you log in, you can configure your management settings. Select the settings you want based on your environment.

Test Manage Management

After the management settings are completed, save the settings. resource management and project configuration are similar. Then, use Zephyr as your test management tool. Check and edit the Management settings in Department Dashboard Management.

Zephyr dashboard

 

Summary

Okay! We have installed Zephyr on CentOS 7.1. We hope that you will have a better understanding of the Zephyr test management tool, which provides simplified testing procedures, allows quick access to data analysis, collaboration tools, and communication between multiple project members. If you have any problems in your environment, contact us.

Via: http://linoxide.com/linux-how-to/setup-zephyr-tool-centos-7-x/

Author: kasconditioned Siddique Translator: ictlyh Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.