Page 1 of 1

Installation and Configuring Mantis

Posted: 06 Jan 2009, 16:27
by Treikayan
Hello,

I am a newer Linux User and new to Mantis. I am having a problem configuring Mantis. I am reading through the installation PDF file; I was able to extract the Mantis files to a directory in Linux and rename (mv) as seen in the steps below.
1. First, transfer the file to your webserver using whatever method you likebest (ftp,
scp, etc). You will need to telnet/ssh into the server machine forthe next steps.

2. Next, untar/gunzip it to the directory that you want.The usual command is (1
step): tar zxvf <filename.tar.gz> OR (2 steps): gunzip <filename.tar.gz> tar
xvf <filename.tar> Winzip, Stuffit, and other programs should also be able to
handledecompression of the archive.At this point you may want to rename the
directory to something simpler like ’mantisbt’. You will use the mv command to
rename a directory (Windows users substitute the "ren" command or use explorer).
mv <directoryname> mantisbt

3. Next we will create the necessary database tables and a basic configurationfile.From
your web server, access http://yoursite/mantisbt/admin/install.php. This page will
walk through the following steps:
I am stuck on step 3. I cannot access http://yoursite/mantisbt/admin/install.php. I am assuming I need to edit the httpd.conf file. If so, how? I have Mantis extracted to /opt/mantistb. And, I'm a newer Linux User. I'm using CentOS 5.1 (RHEL). Thank you for any assistance.

Re: Installation and Configuring Mantis

Posted: 07 Jan 2009, 16:12
by Treikayan
I was able to fix this by adding a *.conf file to the /etc/httpd/conf.d directory. By doing this, I kept the default settings for httpd.conf.

Example:

Code: Select all

#
# Mantis Bug Tracker
#
Alias /mantisbt /opt/mantisbt/
Alias /mantisbt /opt/mantisbt
<Directory "/opt/mantisbt">
   AllowOverride None
   Options None
   Order allow,deny
#   Allow from all
   Allow from 172.16.3.0/24 172.16.5.0/24
</Directory>