注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Package:Mantisbt
Revision as of 04:52, September 29, 2014 by Threesixes (talk | contribs) (import more documentation.... (still needs cleanup phase on web config section))
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