mantis安装与使用
mantis是不错的Bug反馈系统,值得体验。
http://www.mantisbt.org/ 下载最新版本:mantis-1.1.1
http://www.mantisbt.org/manual/ 使用帮助
前提:apache+php4.4以上+mysql已经配置正确
cp config_inc.php.sample config_inc.php
vi config_inc.php
# — database variables ———
# set these values to match your setup
$g_hostname = “localhost”;
$g_db_username = “root”;
$g_db_password = “123456”;
$g_database_name = “bugtracker”;
$g_db_type = “mysql”;
$g_default_language = “chinese_simplified”;
# — email variables ————-
$g_administrator_email = ‘bugtracker@yourdomain.com’;
$g_webmaster_email = ‘bugtracker@yourdomain.com’;
# the “From: ” field in emails
$g_from_email = ‘noreply@yourdomain.com’;
#——— own email —-
$g_smtp_host = ‘mail.yourdomain.com’; # SMTP 服务器
$g_smtp_username = ‘bugtracker’; # 邮箱登录用户名
$g_smtp_password = ‘123456’; # 邮箱登录密码
$g_use_phpMailer = ON; # 使用 PHPMailer 发送邮件
$g_phpMailer_path =’.\core\phpmailer’; # PHPMailer 的存放路径
$g_phpMailer_method = 2; # PHPMailer 以 SMTP 方式发送 Email
# $g_path = “http://172.16.0.252/bugtest“;
# $g_icon_path = $g_path.”images/”;
# $g_absolute_path = “/home/mantis-1.1.1/”;
$g_use_iis = OFF; #我用的是linux
$g_show_version = ON;
# the return address for bounced mail
$g_return_path_email = ‘bugtracker@yourdomain.com’;
$g_allow_file_upload = ON;
apache的配置:
vi httpd.conf
Alias /bugtest “/home/mantis-1.1.1”
<Directory “/home/mantis-1.1.1”>
Options Indexes MultiViews Includes FollowSymLinks +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
http://172.16.0.252/bugtest/admin/install.php
after install , you can delete the admin’s dir
本文固定链接: https://www.2hei.net/2008/04/23/mantis_install/ | 2hei.net
最活跃的读者