Knowledge Base

How to install Mantis using the A2 QuickInstaller

This article describes how to use the A2 QuickInstaller to install Mantis Bug Tracker (also known as MantisBT).

The A2 QuickInstaller is no longer supported, and is only available on older VPS hosting packages. On newer VPS hosting packages, you can use Webuzo to quickly and easily install a wide range of applications and manage your server.

To check if the A2 QuickInstaller supports this application for your Linux distribution, please see this article.

When you install Mantis, the A2 QuickInstaller also installs a LAMP (Linux, Apache, MySQL, and PHP) stack on your server.

Installing Mantis Bug Tracker

To install Mantis Bug Tracker, follow these steps:

  1. Use SSH to log in to your system as the root user.
    To use the A2 QuickInstaller, you must log in as the root user using SSH. You cannot use the serial console in the VPS Control Panel to run the A2 QuickInstaller.
  2. To start the A2 QuickInstaller, type the following command, and then press ENTER:
    sh /usr/sbin/quickinstaller.sh
  3. Under Application Installers, type the option number for Bug Tracking, and then press ENTER.
  4. On the Bug Tracking Menu, type the option number for Mantis, and then press ENTER. The A2 QuickInstaller updates your system, and then begins the installation process.
    The installation process takes some time to complete. Do not interrupt the installation process.
  5. At the Please enter Mantis Database Name prompt, type the database name and then press ENTER.
  6. At the Please enter Mantis Database User prompt, type the database username and then press ENTER.
  7. At the Please enter Mantis Database Password prompt, type the database password and then press ENTER.
  8. When installation is complete, the A2 QuickInstaller provides configuration information about the Mantis installation.

Testing and configuring Mantis Bug Tracker

To test and configure Mantis, follow these steps:

  1. Use your web browser to go to the following URL, where xxx.xxx.xxx.xxx represents your server's IP address:
    http://xxx.xxx.xxx.xxx/mantis
    The Mantis Pre-Installation Check page  appears.
  2. Under Installation Options, make sure that the Type of Database is set to MySQL, and the Hostname (for Database Server) text box value is localhost.
  3. In the Username (for Database) text box, type the username that you used in step 6 of the previous procedure.
  4. In the Password (for Database) text box, type the password that you used in step 7 of the previous procedure.
  5. In the Database name (for Database) text box, type the database name that you used in step 5 of the previous procedure.
  6. In the Admin Username text box, type the username that you used in step 6 of the previous procedure.
  7. In the Admin Password text box, type the password that you used in step 7 of the previous procedure.
  8. Make sure that the Print SQL Queries instead of Writing to the Database check box is cleared.
  9. Click Install/Upgrade Database. Mantis creates the database tables.
  10. On the Check and Install Database page, all fields should indicate GOOD, and Install was successful should appear at the bottom of the page.
  11. Click Continue to view the login page.
  12. At the login page, type administrator in the Username text box.
  13. In the Password text box, type root.
  14. Click Login. The administration page appears. You can now configure Mantis users, projects, and more.
    You used the default administrator account to log in. You should immediately create a new administrator-level account, and disable or delete the default administrator account.

More Information

To view the online manual for Mantis Bug Tracker, please visit http://www.mantisbt.org/manual.