How to install The Bug Genie Issue Tracker on a CentOS 7 VPS
What is The Bug Genie?
It is a beautiful issue tracking and project management system which has powerful workflows, separate project spaces, project timelines, project hierarchy, intelligent integrated wiki and much more.
The requirements for installing The Bug Genie are the following:
- Machine to act as a server (our SSD VPS hosting is perfect for this)
- Webserver with rewrite capabilities
- PHP 5.3+
- Database (MySQL. MariaDB or PostreSQL)
- PHP-GMP extension
- PHP-GD library
- PHP-MBSTRING library
UPDATE THE SYSTEM
Before going any further,
ssh to your CentOS 7 SSD VPS, initiate a
screen session and upgrade your system using
## screen -U -S buggenie-screen ## yum update
INSTALL SOME PACKAGES
## 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-gd gmp php-mbstring ## systemctl restart httpd
SETUP MARIADB (MYSQL) DATABASE
Since The Bug Genie requires a database to store its data, we would have to set-up a database using the commands below:
## mysql -u root -p MariaDB> create database the_bug_genie; MariaDB> grant all on the_bug_genie.* to [email protected] identified by 'STRONG_PASSWORD'; MariaDB> \q
SET-UP APACHE VHOST
It is recommended to set-up a virtual host directive in your webserver which will be used for accessing The Bug Genie. So, set-up the following in your Apache:
<VirtualHost 22.214.171.124:80> DocumentRoot /var/www/html/the-bug-genie/thebuggenie ServerName buggenie.mydomain.com ErrorLog "/var/log/httpd/error_log" CustomLog "/var/log/httpd/access_log" combined <Directory /var/www/html/the-bug-genie/thebuggenie/> DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted <IfModule mod_rewrite.c> RewriteEngine On </IfModule> </Directory> </VirtualHost>
make sure you replace some of the values to match your requirements and restart apache for the changes to take effect using:
## systemctl restart httpd
INSTALL THE BUG GENIE
First thing to do, is to go at http://www.thebuggenie.org/download and download the latest stable version of The Bug Genie. At the time of writing this article, the latest stable version is 126.96.36.199.
Download The Bug Genie archive using
wget as in:
## wget -P /tmp http://downloads.sourceforge.net/project/bugs-bug-genie/thebuggenie_188.8.131.52.zip
Once the zip archive is downloaded, extract it to
/var/www/html/the-bug-genie using the command below:
## unzip -d /var/www/html /tmp/thebuggenie_184.108.40.206.zip ## mv /var/www/html/thebuggenie-220.127.116.11 /var/www/html/the-bug-genie
Next, set-up proper ownership using the
## chown apache: -R /var/www/html/the-bug-genie
and navigate to http://buggenie.mydomain.com/index.php to initiate the installation of The Bug Genie. You should now follow along with the set-up wizard. If some of the pre-installation checks are not met, make sure you fix any issues before proceeding further. Use the database details in the database information step as shown on the picture below:
Once the installation is completed, an administrator account should have been created for you. Log in using the default credentials:
LET US DO THIS FOR YOU?
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 The Bug Genie 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.