Linux下安装mantis配置指南.doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《Linux下安装mantis配置指南.doc》由会员分享,可在线阅读,更多相关《Linux下安装mantis配置指南.doc(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Linux下安装mantis配置指南(全) Linux下安装mantis配置指南1 配置Linux下的Apache+Mysql+PHP作为缺陷管理工具,前段时间bugzilla比较流行,但bugzilla配置比较繁琐,使用起来也是相当的繁琐。而且非常占系统资源。使用perl编写的CGI程序,所以很明显的一个缺点就是:每建立一个连接就会开启一个服务器进程。所以最近企业使用mantis的是越来越多了。使用非常方便简洁而且可以定制工作流等优点。发现网上关于在Linux下配置mantis的资料非常之少。所以经过两天的研究:成功搭建Linux下mantis,下面是简要的配置指南。不太清楚的地方,大家多多
2、提出,我会进一步补充。一.安装配置Apache安装包的获取:http:/www.apache.org1.1.安装Apache(tar包)tar zxvf http-2.2.11.tar.gz./configure -prefix=/usr/local/apache -enable-modules=so -enable-rewritemake & make install1.2.配置Apachevi /usr/local/apache/conf/httpd.conf找到下面这行#ServerName :80修改为:ServerName :80保存退出。1.3.拷贝文件cp a /usr/loca
3、l/apache/bin/apachectl /etc/rc.d/init.d/httpdcp a /usr/local/apache/bin/apachectl /etc/httpd/conf/httpd将httpd加到系统服务中cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpdvi httpd /在/etc/rc.d/int.d/目录下编辑复制过去的httpd程序找到:#!/bin/sh /一般在第一行另起一行,增加:# chkconfig: 2345 70 30# description: Apache然后注册服务:chkc
4、onfig -add httpd启动:service httpd start停止:service httpd stop重新启动:service httpd restart重启apache1.4运行service命令Service httpd restart1.5检验配置是否成功IE地址栏输入:看到Its Work证明配置成功。或者使用 ps aux|grep httpd如果看到多行数据,也证明配置成功二.安装Mysql(rpm包)安装包的获取: 2.1.检查是否安装mysql输入命令:rpm -qa |grep i mysql如果有提示,证明mysql已经安装,那么使用rpm e mysql卸
5、载mysql包。2.3启动服务service mysqld restart创建数据库mysql;create database bugtracker character set=utf8; grant all on *.* to mantis% identified by mantis;grant all on *.* to mantislocalhost identified by mantis;grant grant option on *.* to mantis% identified by mantis;设置mantis密码set password for mantislocalhos
6、t=old_password(mantis);三安装GD库(tar包 让PHP支持GIF、PNG、JPEG)注意:不安装只会影响mantis的数据统计部分功能。安装包的获取:3.1安装GD库3.1.1.安装jpeg6(jpegsrc.v6b.tar.gz)ftp:/ mkdir -p /usr/local/jpeg6mkdir -p /usr/local/jpeg6/binmkdir -p /usr/local/jpeg6/libmkdir -p /usr/local/jpeg6/includemkdir -p /usr/local/jpeg6/manmkdir -p /usr/local/j
7、peg6/man1mkdir -p /usr/local/jpeg6/man/man1tar zxvf jpegsrc.v6b.tar.gz./configure -prefix=/usr/local/jpeg6/ -enable-shared -enable-staticMake &make install3.1.2.安装libpng(libpng-1.2.35-i486-1.gz) http:/www.libpng.org/pub/png/libpng.htmltar zxvf libpng-1.2.35-i486-1.gz./configure -prefix=/usr/local/li
8、bpng/Make &make install3.1.3.安装freetype(freetype-2.3.9.tar.gz) http:/freetype.fis.uniroma2.it/download.html注意:需升级make version到3.80以上:下载地址:http:/ftp.gnu.org/pub/gnu/make/tar zxvf freetype-2.3.9.tar.gzmkdir -p /usr/local/freetype./configure -prefix=/usr/local/freetypeMake &make install3.1.4.安装zlib (zl
9、ib-1.2.3.tar.gz) tar zxvf zlib-1.2.3.tar.gz./configure -prefix=/usr/local/zlibMake &make install3.1.5.安装GD库 (gd-2.0.35.tar.gz) http:/www.libgd.org/Downloads注意:需要对m4升级到1.4.12. 下载地址:http:/ftp.gnu.org/pub/gnu/m4/注意:需要对autoconf升级到2.58或者更高下载地址:http:/ftp.gnu.org/pub/gnu/autoconf/tar zxvf gd-2.0.35.tar.gzm
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Linux 安装 mantis 配置 指南
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内