How to install Flyspray The Bug Killer on a CentOS 7 VPS

This tutorial will guide you through the steps of installing and configuring Flyspray The Bug Killer on a CentOS 7 VPS.

What is Flyspray?

Flyspray is an uncomplicated, web-based bug tracking system written in PHP for assisting with software development. It was designed primarily to suit everyone’s needs.

Flyspray is free software, released under the GNU GPL license. This essentially means that you can get Flyspray and use it free of charge. The source code is available and you are welcome to modify it according to your needs.


Some of the Flyspray features include:



Flyspray has very few external dependencies and this makes it easier to install and maintain than something like Bugzilla. The following stuff are required to get Flyspray up and running:



Before proceeding any further, ssh to your CentOS 7 SSD VPS, initiate a screen session and upgrade your system using yum:

## screen -U -S flyspray-screen
## yum update



## yum install wget unzip vim



In this tutorial we are going to use the LAMP (Linux, Apache, MariaDB and PHP) stack on one of our CentOS SSD VPS hosting plans. So install LAMP by following our great article on how to install LAMP on a CentOS 7 VPS.

Once LAMP is set-up on the system, install the following required packages and restart your webserver using:

## yum install php-xml openssl php-gd
## systemctl restart httpd



Flyspray requires a database to store its data. In this tutorial we are using MariaDB, which is a drop-in replacement for MySQL and it’s the default database server in CentOS 7.

## mysql -u root -p

MariaDB> create database flyspray;
MariaDB> grant all on flyspray.* to flyspray@localhost identified by 'STRONG_PASSWORD';
MariaDB> \q



First thing to do is to go at http://flyspray.org/ and download the latest Flyspray version available. At the time of writing this article, the latest stable version is OK, download Flyspray archive using the following wget command:

## wget -P /tmp http://flyspray.org/flyspray-

Once the zip archive is downloaded, extract it to /var/www/html/flyspray using the command below:

## unzip -d /var/www/html/flyspray /tmp/flyspray-

Next, set-up proper ownership using the chown command:

## chown apache: -R /var/www/html/flyspray

and navigate to http://yourserver/flyspray/setup/ and follow along with the set-up wizard. Once you complete installation, remove the /var/www/html/flyspray/setup directory using:

## rm -rf /var/www/html/flyspray/setup/



Optionally, you can set-up task dependency graphing using Graphviz. To achieve this, install the package using:

## yum install graphviz

and add the path to the graphviz binary in flyspray.conf.php

## vim /var/www/html/flyspray/flyspray.conf.php

dot_path = "/usr/bin/dot"

Enable the reminder daemon if you need reminders and background notifications by setting reminder_daemon to 1 in flyspray.conf.php:

## vim /var/www/html/flyspray/flyspray.conf.php

reminder_daemon = "1"




Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Flyspray and LAMP for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Categories: Tutorials