Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Mantisbt"
Jump to navigation
Jump to search
Threesixes (talk | contribs) (initial commit) |
Threesixes (talk | contribs) m (import more documentation.... (still needs cleanup phase on web config section)) |
||
Line 8: | Line 8: | ||
== Install == | == Install == | ||
=== Emerge === | |||
<console>###i## emerge mantisbt</console> | <console>###i## emerge mantisbt</console> | ||
=== Database Setup === | |||
<console>###i## mysql -u root -p</console> | |||
<pre> | |||
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 | |||
</pre> | |||
set the mysql users password in <code>/var/www/localhost/htdocs/mantisbt/config_inc.php</code> | |||
{{file|name=/var/www/localhost/htdocs/mantisbt/config_inc.php|lang=php|desc=set the mysql users password in this file.|body= | |||
# --- 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 | |||
{{EbuildFooter}} | {{EbuildFooter}} |
Latest revision as of 04:52, September 29, 2014
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