Wednesday, 3 June 2015

How to setup The Bug Genie v4.0.0 (thebuggenie) on Ubuntu using virtualbox virtual machine

Download Virtualbox and ubuntu 14.04.2. Install ubuntu into a fresh virtual machine. Then follow the following steps to setup thebuggenie.

Apache


 sudo apt-get install apache2 libapache2-mod-php5 
 a2enmod rewrite

thebugggenie


 wget https://github.com/thebuggenie/thebuggenie/archive/v4.0.0.tar.gz
 tar -xvzf v4.0.0.tar.gz 
 cd thebuggenie-4.0.0/

 sudo mv * /var/www/html
 sudo mkdir /var/www/html/files
 sudo chown -R www-data:www-data /var/www/html

To enable .htaccess overrides, open this file

 sudo nano /etc/apache2/sites-available/000-default.conf 

Search for this line

        DocumentRoot /var/www/html

And add these 3

        <Directory "/var/www/html">
            AllowOverride All
        </Directory>

service apache2 restart

MySql


sudo apt-get install mysql-server

Next you need to setup a user and a database. To do this, enter the following commands

  • Connect to mysql with mysql -u root -p
  • Create the database with CREATE DATABASE thebuggenie;
  • Create the user with CREATE USER thebuggenie@localhost IDENTIFIED BY 'password';
  • Grant privileges with GRANT ALL ON thebuggenie.* TO thebuggenie;
  • Flush privileges with FLUSH PRIVILEGES;
  • Logout from root - quit
  • Then test you can connect using mysql -u thebuggenie -p, and then enter the password. If you can connect successfully, then quit and continue


PHP


sudo apt-get install php5-cli php5-gd php5-curl php5-mysql git 

Composer and thebuggenie setup

curl -sS https://getcomposer.org/installer | php

php composer.phar install

Then access http:///public/index.php

nano /etc/php5/apache2/php.ini

add to end of file

extension=mysql.so
extension=imap.so

service apache2 restart

No comments:

Post a Comment