mantis的安装配置过程

上传人:桔**** 文档编号:561066890 上传时间:2023-04-21 格式:DOC 页数:12 大小:70KB
返回 下载 相关 举报
mantis的安装配置过程_第1页
第1页 / 共12页
mantis的安装配置过程_第2页
第2页 / 共12页
mantis的安装配置过程_第3页
第3页 / 共12页
mantis的安装配置过程_第4页
第4页 / 共12页
mantis的安装配置过程_第5页
第5页 / 共12页
点击查看更多>>
资源描述

《mantis的安装配置过程》由会员分享,可在线阅读,更多相关《mantis的安装配置过程(12页珍藏版)》请在金锄头文库上搜索。

1、mantis的安装配置过程1.安装环境:mantis-1.0.0rc4 + EasyPHP-2.0b1-setup.exe;(1)这里建议使用EasyPHP,因为它集成了Apache,MySql和Php5。一个安装文件,安装也非常简单,用来搭建mantis很不错。如果对其中的Apache,Php作配置的话,只修改配置文件了,真的很easy。最新版本是EasyPHP 2.0 beta1,下载地址http:/www.easyphp.org/telechargements.php3。EasyPHP is a complete software package allowing to use all

2、the power and the flexibility that offers the dynamic language PHP and the effecient use of databases under Windows. Package includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications.(PHP自官方网)(2)Mantis is a free popul

3、ar web-based bugtracking system (feature list). It is written in the PHP scripting language and works with MySQL, MS SQL, and PostgreSQL databases and a webserver. Mantis has been installed on Windows, Linux, Mac OS, OS/2, and others. Almost any web browser should be able to function as a client. It

4、 is released under the terms of the GNU General Public License (GPL)mantis(螳螂)是一个免费且很受欢迎的bug跟踪管理系统。它是用php编写,并和MySQL, MS SQL, and PostgreSQL数据库协同使用,mantis已经被广泛的安装于Windows, Linux, Mac OS, OS/2等其它操作系统。几乎任何浏览器都可以作为客户端来使用。并且它是开源的哦。 mantis是最大特点是,便于使用,基于WEB,已经被翻译成68种语言,支持多个项目,为每一个项目设置不同的用户访问级别,跟踪缺陷 变更历史,定制

5、我的视图页面,提供全文搜索功能,内置报表生成功能(包括图形报表),通过Email报告缺陷,用户可以监视特殊的Bug,附件可以保存在 web服务器上或数据库中(还可以备份到FTP服务器上),自定义缺陷处理工作流,支持输出格包括csv、Microsoft Excel、 Microsoft Word,集成源代码控制(SVN与CVS ),集成wiki知识库与聊天工具(可选/可不选),支持多种数据库(MySQL、MSSQL、 PostgreSQ、Oracle、DB2),提供WebService(SOAP)接口,提供Wap访问。mantis的最新版本是1.1.0a3。下载地址是http:/www.mant

6、isbt.org/download.php。2.安装(1)EasyPHP的安装很简单,不断的next就ok了(2)mantis的安装,把mantis解压,我是解压到c:/mantis.也解压到easyphp的www目录下;3.配置(1)apache服务器 打开C:。apache下的conf目录下的httpd.conf文件,修改loadfile,LoadModule php5_module为 #PHP 5 LoadFile C:。/EasyPHP 2.0b1/php5/php5ts.dll LoadModule php5_module C:。/EasyPHP 2.0b1/php5/php5apa

7、che2.dll 并增加下面这句AddType application/x-httpd-php .php修改phpinidir的路径到你的php目录#PHP.ini pathPHPIniDir C:。/EasyPHP 2.0b1/php5并在文件的最后增加下面的语句Alias /mantis c:/mantis/Options IndexesAllowOverride NoneOrder allow,denyAllow from all设置字符AddDefaultCharset UTF-8修改duankou(因为我的80端口已经占用,默认为80端口)#Listen 12.34.56.78:80

8、Listen 127.0.0.1:8088(2)php配置打开 C:。EasyPHP 2.0b1php5目录下的php.ini-dist文件。并修改它的类型为ini,即(php.ini)修改include_path 为= .;C:/EasyPHP 2.0b1/php5/jpgraph-1.21b/src/去掉extension=php_mysql.dll和extension=php_gd2.dll前面的;号;修改SMTP为你向要的邮件协议例如我的( SMTP)修改extension_dir = c:./php5/ext(3)mysql启动easyphp;启动成功后会在状态栏右下角出现一个小方框

9、,打开命令行,cd到mysql的bin目录,运行mysqld,启动服务,然后以root登录命令为: mysql -uroot -p;密码为空。再创建名为bugtracker数据库。然后哦后创建user为用户名 mantis密码为xxx,之后授权给mnantis,grant all privileges on bugtracker.* to mantislocalhost identified by xxx;最后flush privileges; 在网上看到很多文章在创建bugtracker数据库之后,还要链接到mantis底下的sql下的的db_generate.sql文件,所以很多都很 疑惑

10、,发现在 mantis地下根本找不到这个文件夹。其实mantis在其新版本1.0以后就不需要用户自己创建数据表了,安装好mantis之后,第一次使用 mantis时它就会帮我们自动创建数据表了。是不是更方便了?嘿嘿!q退出mysql。(4)mantis隆重登场打开mantis地下的config_inc.php.samp文件。一样的改名为config_inc.php。 这个文件就是mantis的重量级文件了。我们的配置几乎都集中在这里了,里面的原貌是:# - database variables -# set these values to match your setup$g_hostname

11、 = localhost;$g_db_username = root;$g_db_password = ;$g_database_name = bugtracker;$g_db_type = mysql;# - email variables -$g_administrator_email = ;$g_webmaster_email = ;# the From: field in emails$g_from_email = ;# the return address for bounced mail$g_return_path_email = ;# - file upload settings

12、 -# This is the master setting to disable *all* file uploading functionality# The default value is ON but you must make sure file uploading is enabled# in PHP as well. You may need to add file_uploads = TRUE to your php.ini.$g_allow_file_upload = ON;接下来几乎要将其改的面目全非了:参照我的吧# - database variables -# set

13、 these values to match your setup$g_hostname = localhost;$g_db_username = mantis;$g_db_password = mantis;$g_database_name = bugtracker;$g_db_type = mysql;$g_default_language =chinese_simplified;$g_window_title = mantis BUG管理系统;$g_page_title = 欢迎使用Mantis BUG 跟踪管理系统 趣得网 无需注册 免费发布;$g_show_queries_count

14、 = OFF;# - email variables -$g_use_phpMailer = ON; #使用phpMailer$g_phpMailer_path = C:/EasyPHP 2.0b1/php5/phpmailer; /phpMailer路径$g_phpMailer_method = 2; #使用SMTP服务$g_smtp_host = ; #使用SMTP服务$g_smtp_username = fanxin1029;$g_smtp_password = XXXXXX;$g_administrator_email = ;$g_webmaster_email = ;$g_from_email = ;$g_return_path_email = ;# - file upload settings -$g_allow_file_upload = ON; /使用上传文件功能$g_file_upload_method = DISK;$g_max_file_size = 100000000; # 100 MB #设置文件空间# - jpgraph settings -$g_use_jpgraph = ON; 使用jpgraph$g_

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号