About me
Services
Projects
Design Patterns
Archive
Contact
home > Archive > Installing Mantis
Installing Mantis on your Linux server.

Mantis is a php / mysql based bug tracking software. Download the source from the mantis site at http://www.mantisbt.org

Once you have downloaded the mantis zip, extract it into the Apache root, /var/www/html. From here, browse to the mantis main page by going to http://localhost/mantis/ The index page will be presented to you, which will ask you a number of questions regarding the setup of mantis on your machine.

Define a new user for the mantis database, ensure you have created this user, the mantis scripts WILL NOT create this user for you.

GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON bugtracker.*
TO 'mantisuser'@'localhost'
IDENTIFIED BY 'pray';

Once you have run the install / setup, you will need to create / edit the config_inc.php file. The Mantis install comes with a config_inc.php.sample file, copy it and edit it. You will need to modify the default username, password, database, etc. if you have changed any of these values.

The install creates a default user administrator, password root. Login as this user. Immediately go to Manage User and create at least one administrator level account. Immediately after that DISABLE or DELETE the administrator account. You can recreate it but you should delete the account to prevent the cookie_string from being used to trick the package. It would be even better to rename the account or delete it permanently. REMEMBER: After setting up the package, REMOVE the default administrator account.

Good luck!
Copyright 2008 Graham Lange All rights reserved
SUBSCRIBE