Redhat 搭建bugzilla步骤:

搭建本地yum(步骤略)

# yum install httpd

# yum install mod_perl

# yum install perl-LDAP

# yum install gcc

# service httpd start

# yum install mysql-server

# service mysqld start

# mysql -u root  (默认密码为空,登进后需改)

> use mysql;

> update user set password=password('123456') where user='root';  (真实环境切不可设为123456)

> flush privileges;

> quit

bugzilla下载网址

https://www.bugzilla.org/download/

# tar zxfv bugzilla-4.5.2.tar.gz -C /var/www/html/

# cd /var/www/html/

# mv bugzilla-4.5.2  bugzilla

# chown -R aa bugzilla   (如果是用其它账号执行需给下该账号权限,修改apache运行账号是修

改/etc/httpd/conf/httpd.conf   user处)

# mysql -u root -p123456

> create database bugzilla_DB default character set utf8 collate utf8_general_ci;

> grant all on bugzilla_DB.* to bugzilla@'localhost' identified by '123456';

> flush privileges;

> quit;

# /var/www/html/bugzilla/checksetup.pl  (check下是否缺失perl模块,DBD-Oracle可无)

# cd /var/www/hmtl/bugzilla/      (install-module.pl在该目录下)

# perl -MCPAN  -e shell

# cpan YAML

# perl install-module.pl --all

# vi /var/www/html/bugzilla/localconfig

按a或i进入编辑模式

$db_name = 'bugzilla_DB';

$db_user = 'bugzilla';

$db_pass = '123456';

$db_port = 3306;

按Esc键退出编辑模式

:wq  (保存并退出)

# /var/www/html/bugzilla/checksetup.pl

输入邮箱和管理员账号

输入两次密码

如果出现下面输出就说明没问题了

# ./checksetup.pl

* This is Bugzilla 4.4.9 on perl 5.10.1

* Running on Linux 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011

Checking perl modules...

Checking for               CGI.pm (v3.51)     ok: found v3.51

Checking for           Digest-SHA (any)       ok: found v5.47

Checking for             TimeDate (v2.23)     ok: found v2.24

Checking for             DateTime (v0.28)     ok: found v0.53

Checking for    DateTime-TimeZone (v0.71)     ok: found v1.08

Checking for                  DBI (v1.54)     ok: found v1.609

Checking for     Template-Toolkit (v2.22)     ok: found v2.26

Checking for           Email-Send (v2.04)     ok: found v2.201

Checking for           Email-MIME (v1.904)    ok: found v1.929

Checking for                  URI (v1.37)     ok: found v1.67

Checking for       List-MoreUtils (v0.32)     ok: found v0.412

Checking for    Math-Random-ISAAC (v1.0.1)    ok: found v1.004

Checking available perl DBD modules...

Checking for               DBD-Pg (v2.7.0)    ok: found v2.15.1

Checking for            DBD-mysql (v4.001)    ok: found v4.013

Checking for           DBD-SQLite (v1.29)     ok: found v1.46

Checking for           DBD-Oracle (v1.19)     not found

The following Perl modules are optional:

Checking for                   GD (v1.20)     ok: found v2.53

Checking for                Chart (v2.1.0)    ok: found v2.4.10

Checking for          Template-GD (any)       ok: found v1.56

Checking for           GDTextUtil (any)       ok: found v0.86

Checking for              GDGraph (any)       ok: found v1.49

Checking for           MIME-tools (v5.406)    ok: found v5.506

Checking for          libwww-perl (any)       ok: found v5.833

Checking for             XML-Twig (any)       ok: found v3.34

Checking for          PatchReader (v0.9.6)    ok: found v0.9.6

Checking for            perl-ldap (any)       ok: found v0.40

Checking for          Authen-SASL (any)       ok: found v2.13

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67, line 522.

at /usr/share/perl5/IO/Socket/INET6.pm line 21.

Checking for         Net-SMTP-SSL (v1.01)     ok: found v1.02

Checking for           RadiusPerl (any)       ok: found v0.24

Checking for            SOAP-Lite (v0.712)    ok: found v1.14

Checking for          XMLRPC-Lite (v0.712)    ok: found v0.717

Checking for             JSON-RPC (any)       ok: found v1.06

Checking for              JSON-XS (v2.0)      ok: found v3.01

Checking for           Test-Taint (any)       ok: found v1.06

Checking for          HTML-Parser (v3.40)     ok: found v3.64

Checking for        HTML-Scrubber (any)       ok: found v0.14

Checking for               Encode (v2.21)     ok: found v2.35

Checking for        Encode-Detect (any)       ok: found v1.01

Checking for          Email-Reply (any)       ok: found v1.203

Checking for HTML-FormatText-WithLinks (v0.13)     ok: found v0.15

Checking for          TheSchwartz (v1.07)     ok: found v1.12

Checking for       Daemon-Generic (any)       ok: found v0.84

Checking for           File-Slurp (v9999.13)  ok: found v9999.13

Checking for             mod_perl (v1.999022) ok: found v2.000006

Checking for     Apache-SizeLimit (v0.96)     ok: found v0.96

Checking for        File-MimeInfo (any)       ok: found v0.27

Checking for           IO-stringy (any)       ok: found v2.111

Checking for          mod_headers (any)       ok

Checking for          mod_expires (any)       ok

Checking for              mod_env (any)       ok

Reading ./localconfig...

OPTIONAL NOTE: If you want to be able to use the 'difference between two

patches' feature of Bugzilla (which requires the PatchReader Perl module

as well), you should install patchutils from:

http://cyberelk.net/tim/patchutils/

Checking for            DBD-mysql (v4.001)    ok: found v4.013

Checking for                MySQL (v5.0.15)   ok: found v5.1.52

WARNING: You need to set the max_allowed_packet parameter in your MySQL

configuration to at least 3276750. Currently it is set to 1048576.

You can set this parameter in the [mysqld] section of your MySQL

configuration file.

Removing existing compiled templates...

Precompiling templates...done.

Fixing file permissions...

Now that you have installed Bugzilla, you should visit the 'Parameters'

page (linked in the footer of the Administrator account) to ensure it

is set up as you wish - this includes setting the 'urlbase' option to

the correct URL.

checksetup.pl complete.

# vi /etc/httpd/conf.d/bugzilla.conf

按a或i进入编辑模式

AddHandler cgi-script .cgi

Options +Indexes +ExecCGI

DirectoryIndex index.cgi index.html

AllowOverride Limit FileInfo Indexes Options

按Esc键退出编辑模式

:wq  (保存并退出)

# vi /etc/httpd/conf.d/perl.conf

按a或i进入编辑模式

PerlSwitches -w  (默认是注释的)

PerlSwitches -T   (默认是注释的)

PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl  (新加的,用到Apache2::SizeLimit模块)

按Esc键退出编辑模式

:wq  (保存并退出

# service httpd restart

访问:

http://ip/bugzilla

注:

bugzilla和mysql在不同服务器:

需在bugzilla端执行如下命令(这是redhat或centos上httpd连接远程mysql必须的):

# setsebool -P httpd_can_network_connect=1  (该命令在服务器重启后依然起作用)

vi /etc/selinux/config

按a或i进入编辑模式

SELINUX=disabled   (默认为SELINUX=enforcing)

按Esc键退出编辑模式

:wq (保存并退出)

bugzilla dbd-mysql_Redhat 搭建bugzilla平台相关推荐

  1. 如何搭建Bugzilla

    今天由于工作需要搭建了一个Bugzilla. Bugzilla是软件测试的利器,是一款优秀的开源的Bug Tracking System:由于是专门为Unix定制开发的,因此要想在Windows平台下 ...

  2. Centos6.5搭建bugzilla

    一.安装httpd. mod_ssl. mysql-server . mysql .php-mysql . gcc . perl* . mod-perl-devel [root@localhost ~ ...

  3. RHEL6.5/Centos6.5 搭建bugzilla

    一.安装httpd. mod_ssl. mysql-server . mysql .php-mysql . gcc . perl* . mod-perl-devel [root@localhost ~ ...

  4. 6 步搭建数据平台—从指标体系到相关技术 | 周四话数据

    在开始介绍数据平台搭建的流程之前,先简单说说为什么企业需要搭建数据平台. 互联网与智能移动设备的迅速发展,使记录并保存用户的每一次日常行为及交易行为成为可能,这些信息以数据的形式保存下来,实现了各行业 ...

  5. prometheus连续查询_Grafana + Prometheus快速搭建监控平台

    随着业务的越发复杂,软件系统也越来越庞大,对软件系统的要求越来越高,意味着我们需要随时掌控系统的运行情况.因此,系统的实时监控以及可视化展示,就显得非常重要. 今天来介绍下使用Grafana + Pr ...

  6. Serverless 工程实践 | 快速搭建 Kubeless 平台

    简介:Kubeless 是基于 Kubernetes 的原生无服务器框架.其允许用户部署少量的代码(函数),而无须担心底层架构. 快速搭建 Kubeless 平台 Kubeless 简介 Kubele ...

  7. gitbook安装与使用之windows下搭建gitbook平台

    最近需要在GitBook中去阅读电子书 安装nodejs cnpm安装gitbook 解压书籍文件,并cd到书籍文件目录 gitbook serve 浏览器访问localhost:4000 先在win ...

  8. Centos7.0上搭建LAMP平台安装discuz后无法访问

    Centos7.0上搭建LAMP平台安装discuz后无法访问,出现500错误.解决方式:centos7.0上的php程序是5.4的,编译安装一个5.3版本的就可以访问了. 转载于:https://b ...

  9. 爬虫 spider10——搭建elk平台,开发服务提供者

    第一步:爬取指定数据,去重复,并存储到mysql. Springboot+ssm+定时(定时器)爬取+redis去重+mybatis保存. 详情请看爬虫 spider09--爬取指定数据,去重复,并存 ...

  10. windows平台下基于QT和OpenCV搭建图像处理平台

        在之前的博客中,已经分别比较详细地阐述了"windows平台下基于VS和OpenCV"以及"Linux平台下基于QT和OpenCV"搭建图像处理框架,并 ...

最新文章

  1. Python重现创业板指数行情
  2. git 回退上一个版本_Git小白使用教程:详细、显现、真正手把手教!
  3. [SDOI2016]排列计数
  4. android纹理存储,Android:OpenGL存储纹理多长时间?
  5. 浅谈OpenCL之 应用程序总体步骤思路
  6. mac 显示隐藏文件的命令行和快捷键
  7. struts2随笔(一)Action、struts.xml、Interceptor细节
  8. windows 根据端口杀死进程
  9. memcached的安装(server、client)、magent整合
  10. HTML基本标签和一些注释的问题
  11. EF入门 IQueryable和IEnumberable的区别
  12. 用EViews做时间序列SARIMA模型的傻瓜操作小记
  13. visio绘图固定图形位置
  14. 智慧工厂应用系统建设方案
  15. H3C-H3CNE 华三网络工程师从入门到精通 自学视频课程[肖哥]-肖宗鹏-专题视频课程...
  16. 影响国债收益率的因素
  17. php 如何添加备案号,wordpress如何添加备案信息
  18. Processing入门简介
  19. 网游线上活动的类型及特点
  20. lnmp下nginx出现5xx问题解决汇总

热门文章

  1. 论文阅读《Camera pose voting for largescale image-based localization》
  2. 什么是噪声,白噪声,加性噪声,乘性噪声
  3. Unix风雨五十年:老兵远去,新秀崛起
  4. 如何恢复计算机隐藏的文件夹,win10系统隐藏或取消隐藏文件夹的还原方案
  5. 几何与导数——微分几何初步(二)
  6. java安装cab破损,Visual Studio 2005 Professional Edition损坏的CAB文件
  7. 办公室购买计算机会计分录,购买办公用品属于什么会计科目
  8. snort:Packet结构体详解(留坑)
  9. java 颜色渐变算法_颜色渐变的RGB计算
  10. 【Keil变量定义】定义extern类型变量