In this article, we'll run you through how to installing and configuring prerequisite applications before you install qTest Manager 8.4.4 on Windows machine. There are 3 required applications: PostgreSQL, Redis, RabbitMQ.
1. Install PostgreSQL 9.5
Follow this here to install Postgres
2. Configure PostgreSQL
Once PostgreSQL is installed, follow steps below to enable remote access to PostgreSQL database server:
2.1 Open file C:\Program Files\PostgreSQL\9.5\data\pg_hba.conf.
2.2 Edit the file and append the following line to specify the IP of the server which will remotely connect to your PostgreSQL. This should be the server where qTest packages are installed.
host all all [IP_Address] md5
2.3 Open file C:\Program Files\PostgreSQL\9.5\data\postgresql.conf. Append the following line:
listen_addresses = '*'
1. Download Redis 2.8.19
Download Redis 2.8.19 from this link
2. Configure Redis
After you have downloaded the package, extract it to a folder on your machine. For example: C:\redis-2.8.17.
In the extracted folder, open file redis.windows.conf. Search for and update the following line:
2.1 # maxheap
2.2 # heapdir
heapdir "D:\Redis Heap"
2.3 Install Redis
C:\redis-2.8.17>redis-server --service-install redis.windows.conf --loglevel verbose
To check if Redis has been installed successfully on your machine:
RabbitMQ is required to be installed in case you want to deploy qTest Manager with load balancing. Otherwise, please skip this section.
1. Install RabbitMQ 3.5.4
Download RabbitMQ 3.5.4 here
2. Configure RabbitMQ
Once RabbitMQ is installed, follow steps below to configure it:
2.1 Open command prompt and navigate to [RabbitMQ_Installation_Directory]\sbin\. For example: C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.4\sbin
2.2 Execute these 2 commands:
rabbitmq-plugins enable rabbitmq_stomp rabbitmq-plugins enable rabbitmq_management
2.3 Open your browser and navigate to http://localhost:15672.
Login with username and password as guest/guest.
2.4 Navigate to Admin tab and select Users panel.
Expand Add a user section and add a new user.
2.5 Select Virtual Hosts panel.
2.6. Expand All virtual hosts section.
Click on the virtual host which you have created in the above step to grant users the access.
2.7. Expand Permissions section.
2.8 Navigate to Overview tab.