75b6c3e
= Fedora specific installation notes =
75b6c3e
75b6c3e
== Database ==
5be44d7
005224d
Mantis requires a database to function; use the following steps to
5be44d7
configure mantis to work with MySQL:
5be44d7
5be44d7
1. install MySQL packages
75b6c3e
    yum install mysql-server php-mysql
5be44d7
5be44d7
2. start MySQL server 
75b6c3e
    service mysqld start
5be44d7
5be44d7
WARNING: the default MySQL configuration has a "root" account with no password.
5be44d7
         Please have a look to the MySQL documentation to add a proper password
5be44d7
         and/or a separate account for mantis usage.
5be44d7
75b6c3e
156bac0
== Configuration files ==
156bac0
156bac0
The mantis configuration file is /etc/mantis/config_inc.php.
156bac0
156bac0
Be sure to check the file /usr/share/mantis/config_defaults_inc.php for the 
156bac0
full list of available configuration options.
156bac0
156bac0
156bac0
== First time operations ==
75b6c3e
75b6c3e
1. allow yourelf to access the admin directory
005224d
    Please note that the provided configuration file for Apache 
005224d
    (/etc/httpd/conf.d/mantis.conf) by default prevents access to the mantis
005224d
    administration area. 
156bac0
    Find the section:
156bac0
        <Directory /usr/share/mantis/admin>
156bac0
156bac0
    and change the "None" in:
156bac0
        Allow from None
005224d
    
156bac0
    to the machine IP you will be connecting from. For instance:
156bac0
        Allow from 127.0.0.1
156bac0
156bac0
    allows localhost access to the admin area
005224d
    
156bac0
    then restart apache with:
005224d
      service httpd restart
005224d
75b6c3e
2. point your browser to:
156bac0
      https://localhost/mantis/admin/install.php
5be44d7
   to create an empty DB.
5be44d7
005224d
BIG FAT WARNING: when you are done with the installation, be sure to revert the 
156bac0
         modifications you've done in step 1.
005224d
         Otherwise you will leave the administration area unprotected with
005224d
         critical system information and database update capabilities open to 
005224d
         any unauthorized person.
005224d
5be44d7
WARNING: A DEFAULT ADMINISTRATOR level account is created.  The account name
005224d
         and password are administrator / root.  Use this when you first login 
005224d
         to Mantis. Immediately go to Manage and create at least one
005224d
         administrator level account.  Immediately after that, DISABLE or DELETE
005224d
         the administrator account. You can recreate it but you should delete
005224d
         the account to prevent the cookie_string from being used to trick the
75b6c3e
         package. REMEMBER: After setting up the package, REMOVE the
005224d
         default administrator account.
156bac0
156bac0
== Upgrades ==
156bac0
156bac0
After a version upgrade that involves changes to the DB schema, you will need
156bac0
to run again the installer steps as outlined above. The installer is able to
156bac0
recognize which modifications are needed and apply them to the DB.
156bac0
156bac0
Albeit the upgrade routine is usually well tested and safe, please 
156bac0
consider doing a complete backup of the database before attempting the
156bac0
procedure.
156bac0
156bac0
156bac0
== SELinux ==
156bac0
156bac0
The default SELinux configuration prevents the httpd process (hence mantis)
156bac0
from sending emails. This is easily fixed with:
156bac0
156bac0
    setsebool -P httpd_can_sendmail=1