At the time of this writing MantisBT is not fully integrated with Gentoo meaning that it's Portage package is still masked. Mantis can still be installed and run but it requires a little help.
Like we said, not fully so do this first:
# ACCEPT_KEYWORDS="~x86" emerge -pv mantisbt
/usr/bin/mysql_install_db /etc/init.d/mysql start
Gentoo keeps these web apps in /var/www/localhost/htdocs/... Due to the non-standard manner in which Edoceo configures Apache it was necessary for us to symlink the mantisbt directory there into a path accessable on our server. This may be necessary in your environment.
Navigate to the Mantis Installation page, e.g. http://intranet.company.com/mantis/admin/install.php Follow the directions, very easy.
Login as administrator (default password: root) and then start creating projects and categories for bugs under projects. That's it! It's a good idea now to hide the admin/ directory from public view (we use `rm -fr`), create a new administator level user and then disable the old administrator user.
Users can sign themselves up and it's possible to delegate other tasks to other users for project creation and category creation and other such.