用户工具

站点工具


linux:mantis

1.2.15 1.2.17

    tar zxvf mantisbt-1.2.15.tar.gz
    mv mantisbt-1.2.15 mantis
    chown -R nobody:nobody mantis   #或者nginx:nginx

    create database mantis;
    grant all privileges on mantis.* to mantis@'localhost' identified by 'mantis123';

server {
        listen 443 ssl http2;
        server_name mantis.xlongwei.com;
        include https.conf;
        root /soft/mantis;
        index index.php;
        location ~ .*\.php$ {
                if ( $http_user_agent ~* .*(spider|heimdall).* ) { return 403; }
                proxy_set_header Host $host;
                fastcgi_pass   bbs;
                fastcgi_index  index.php;
                fastcgi_intercept_errors on;
                fastcgi_keep_conn on;
                fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
                fastcgi_split_path_info ^(.+\.php)(.*)$;
                fastcgi_param   PATH_INFO       $fastcgi_path_info;
                fastcgi_read_timeout 600;
                include        fastcgi.conf;
        }
}
https://mantis.xlongwei.com/admin/install.php   //install
https://mantis.xlongwei.com/admin/test_email.php   //email test
https://mantis.xlongwei.com/api/soap/mantisconnect.php  //eclipse mantis repository server
  • vi mantis/config_inc.php,administrator/root
$g_default_language = 'chinese_simplified';

$g_phpMailer_method             = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.exmail.qq.com';
$g_smtp_port = '465';
$g_smtp_connection_mode = 'ssl';
$g_smtp_username = 'noreply@xlongwei.com';
$g_smtp_password = 'Xlongwei123_';
$g_administrator_email = 'noreply@xlongwei.com';
$g_webmaster_email = 'noreply@xlongwei.com';
$g_from_email = 'noreply@xlongwei.com';
$g_return_path_email = 'noreply@xlongwei.com';
  • 角色和权限
复查员:查看状态,不参与BUG流程
报告员:测试人员,提交和分派BUG
修改员:测试经理,修改BUG
开发员:开发人员,分派BUG
经理:处理未分派的BUG
linux/mantis.txt · 最后更改: 2021/03/29 15:02 由 admin