Package:Mantisbt

From Funtoo
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Mantisbt

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Mantis is a light web-server-stack bug tracking system.

Install

Emerge

root # emerge mantisbt

Database Setup

root # mysql -u root -p
mysql> CREATE DATABASE IF NOT EXISTS `bugtracker` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
mysql> CREATE USER 'mantisdbuser'@'localhost' IDENTIFIED BY 'changeme';
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `bugtracker`.* TO 'mantisdbuser'@'localhost' IDENTIFIED BY 'changeme';
mysql> \q

set the mysql users password in /var/www/localhost/htdocs/mantisbt/config_inc.php

   /var/www/localhost/htdocs/mantisbt/config_inc.php (php source code) - set the mysql users password in this file.
# --- Database Configuration ---
$g_hostname      = 'localhost';
$g_db_username   = 'mantisdbuser';
$g_db_password   = '';
$g_database_name = 'bugtracker';
$g_db_type       = 'mysql';

Web Config

mantisdbuser@localhost db:bugtracker

http://localhost/mantisbt/admin/install.php

again http://localhost/mantisbt/admin/install.php

http://localhost/mantisbt/login_page.php

default account is administrator / root