Ubuntu16.04搭建bugzilla缺陷管理系统
来源:互联网 发布:淘宝海外买手 编辑:程序博客网 时间:2024/05/01 21:05
Bugzilla安装
参考链接:http://server.zol.com.cn/502/5028461.html
安装环境
Ubuntu 16.04Bugzilla 5.1.1
1、Apache
apt-get install apache2
2、MySql
apt-get install mysql-server mysql-client
# mysql -u root -p# password: (You'll need to enter your password)# mysql > create database bugs;# mysql > grant all on bugs.* to root@localhost identified by "mypassword";# mysql > quit
3、Bugzilla
cd /var/www/html/bugzillaperl checksetup.pl
* This is Bugzilla 5.1.1 on perl 5.22.1* Running on Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016Checking for CGI (4.09) ok: found v4.26 Checking for DBI (1.614) not found Checking for Date::Format (2.23) ok: found v2.24 Checking for DateTime (0.75) not found Checking for DateTime::TimeZone (1.64) not found Checking for Digest::SHA (any) ok: found v5.95 Checking for Email::MIME (1.904) not found Checking for Email::Sender (1.300011) not found Checking for ExtUtils::MakeMaker (6.55) ok: found v7.04_01 Checking for File::Slurp (9999.13) not found Checking for JSON::XS (2.01) not found Checking for List::MoreUtils (0.32) ok: found v0.413 Checking for Math::Random::ISAAC (v1.0.1) not found Checking for Template (2.24) not found Checking for URI (1.55) ok: found v1.71 Checking for perl (5.014000) ok: found v5.022001 *** Installation aborted. Read the messages above. ***
perl -MCPAN -e 'install "DBD::mysql"'
首次使用会配置cpan,选择no,不使用自动配置,
或使用 o conf init 配置cpan:
perl -MCPAN -e shell //进入perl shell环境nolock_cpan> o conf init
Looking for CPAN mirrors near you (please be patient).......................... done!//这一步寻找国内镜像
将所有not found
模块按照这种方式安装完毕,执行perl checksetup.pl
生成一个localconfig
文件
4、
vi localconfig修改db_driver db_name db_user.......
5、
vi /etc/appache2/appache2.conf<VirtualHost *:80> DocumentRoot /var/www/html/bugzilla/</VirtualHost><Directory /var/www/html/bugzilla> AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi AllowOverride Limit FileInfo Indexes</Directory>
ServerName localhostDirectoryIndex index.html index.htm index.php index.cgi
通过编辑.htaccess 文件并用“#”注释掉顶部“Options -Indexes”这一行,重启我们的apache服务并测试安装情况。
PS:出现过的问题:
1、mysql-config问题:
下载mysql dev工具:
apt-get install libmysqld-devapt-get install libmysqlclient-dev
2、Internal Server Error
cd /etc/apache2/mods-enabled/vi cgi.loadLoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
3、777权限
chmod 777 -R bugzilla
/etc/init.d/apache2 start/etc/init.d/apache2 stop/etc/init.d/apache2 restart/etc/init.d/mysql start/etc/init.d/mysql stop/etc/init.d/mysql restart
如果安装过程中有什么问题,请Email: 362409100@qq.com联系我。
0 0
- Ubuntu16.04搭建bugzilla缺陷管理系统
- Ubuntu12.04搭建bugzilla管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 搭建Mantis 缺陷管理系统
- 代码缺陷审查管理系统Apache+bugzilla+reviewboard+SVN之bugzilla安装配置
- (转)搭建Mantis 缺陷管理系统
- windows下搭建Mantis 缺陷管理系统
- 如何搭建Mantis 缺陷管理系统
- win7 64位系统bugzilla故障管理平台搭建过程
- 微信现金红包高级红包接口开发注意事项
- mono+jexus安装
- QT中qstring和char *的互相转换
- 接口和实现类
- 基于netty游戏服后台搭建
- Ubuntu16.04搭建bugzilla缺陷管理系统
- 使TableviewCell排序手势占满cell条
- 浅谈jquery.fn.extend与jquery.extend区别
- Centos 6.5 Zabiix 配置Mysql服务
- shuqian
- Integer.valueof(string)字符串转Integer 异常
- ArcGIS制图表达Representation-制图表达原理
- 混合编程系列
- redis 个人理解和常用命令以及应用场景