安装好mysql
yum install gcc perl* mod_perl-devel -y
mv bug
create database bugzilla_db;
//root用户不用授权,如果是其它用户,需要授权
GRANT ALL PRIVILEGES ON bugzilla_db.* TO root@localhost IDENTIFIED BY 'password';
check for all required bugzilla modules before the install:
./checksetup.pl
After the check is done, we will see some missing modules that needs to be installed:
Type the command below to install all missing modules automatically:
/usr/bin/perl install-module.pl --all
Lets do a check again to make sure all the modules did install
./checksetup.pl
If all is good, we will get a message to edit the localconfig file for installation.
./localconfig
Make sure you input the correct database name, user, and password we created earlier
Run ./checksetup.pl again
./checksetup.pl
If all is well, checksetup.pl should now successfully configure Bugzilla.
用httpd吧,用其它端口即可
附:
配置mysql
increase the maximum attachment size and make it possible to search for short words and terms:
  • Alter on Line 52: max_allowed_packet=100M
  • Add as new line 32, in the [mysqld] section: ft_min_word_len=2
Add the following to the end of httpd.conf file
<Directory /var/www/html/bugzilla> AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi AllowOverride Limit FileInfo Indexes </Directory>
At this point we are nearly done. Execute the following line to comment out a line in the .htaccess file that the Bugzilla installation script created:
[root@localhost bugzilla]# sed -i 's/^Options -Indexes$/#Options -Indexes/g' ./.htaccess
403 Forbidden
SELinux
配置:
  • urlbase: http://<servername>/bugzilla/ or http://<ip address>/bugzilla/
nginx:
用gmail作邮箱
  • mail_delivery_method: SMTP
  • mailfrom: new_gmail_address@gmail.com
  • smtpserver: smtp.gmail.com:465
  • smtp_username: new_gmail_address@gmail.com
  • smtp_password: new_gmail_password
  • smtp_ssl: On
Can't locate object method "quit" via package "Net::SMTP::SSL" at Bugzilla/Config/Common.pm line
解决:
按如下步骤安装Net::SMTP::SSL再配置邮箱后OK!
1、cpan -i MIME::Base64
2、cpan -i Net::SSLeay
3、cpan -i Net::SMTP::SSL
再附个连接:http://blog.sina.com.cn/s/blog_53a91ae30100ry4i.html
如果cpan安装找不到资源的话,修改仓库地址
$vi /usr/share/perl5/CPAN/Config.pm
'urllist' => ["ftp://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/"],
The new value for smtpserver is invalid: Cannot connect to smtp.gmail.com using port 465.
解决:
Can't locate object method "message" via package "To use SSL please install IO::Socket::SSL with version>=2.007 at lib/Net/SMTP.pm line 70. " (perhaps you forgot to load "To use SSL please install IO::Socket::SSL with version>=2.007 at lib/Net/SMTP.pm line 70. "?) at Bugzilla/Mailer.pm line 179, <DATA> line 1.
解决:
yum install 'perl(IO::Socket::SSL)'
cpan -i  IO::Socket::SSL
According to 'perldoc perllocal', I have version 1.967 of IO::Socket::SSL installed.
QQ
smtp.qq.com后面不加:25等其它端口参数
密码处填授权码:
使用:
1,添加products和Components就可以添加了
参考:

bugzilla 系列1安装的更多相关文章

  1. Robotframework-Appium系列:安装配置

    1.   Robotframework-android系列:安装配置 1.1. 安装环境 64位win10家庭中文版 1.1. 安装说明 网上robotframework-appium安装资料也不少, ...

  2. [转]gitlab cicd (二)系列之安装git-runner rpm安装方式

    本文转自:https://blog.csdn.net/qq_21816375/article/details/84308748 本编是继gitlab cicd (一)系列之安装gitlb之后,基于安装 ...

  3. 开源一款强大的文件服务组件(QJ_FileCenter)(系列二 安装说明)

    系列文章 1. 开源一款强大的文件服务组件(QJ_FileCenter)(系列一) 2. 开源一款强大的文件服务组件(QJ_FileCenter)(系列二 安装说明) 3. 开源一款强大的文件服务组件 ...

  4. Docker入门系列2 安装

    可以从 Docker 社区直接下载可用的模版或镜像. Docker容器的启动可以在秒级实现,这相比传统的虚拟机方式要快得多. 其次,Docker对系统资源的利用率很高,一台主机上可以同时运行数千个Do ...

  5. Xbin-Store(分布式商城)项目所用Linux服务系列 FastDFS安装(五)

    系列 Xbin-Store(分布式商城)项目所用Linux服务系列 MySQL安装(一) Xbin-Store(分布式商城)项目所用Linux服务系列 Redis集群安装(二) Xbin-Store( ...

  6. Windows玩转Kubernetes系列2-Centos安装Docker

    接上一章,Windows玩转Kubernetes系列1-VirtualBox安装Centos,我们开始学习如何在Centos中安装Docker 准备 关闭防火墙 防火墙一定要提前关闭,否则在后续安装K ...

  7. Windows玩转Kubernetes系列3-Centos安装K8S

    以往文章参考: Windows玩转Kubernetes系列1-VirtualBox安装Centos Windows玩转Kubernetes系列2-Centos安装Docker 安装K8S yum in ...

  8. Docker 技术系列之安装多版本Mysql5.6和Mysql5.7

    大家好,后面的就不是关于MAC专有的内容,基本是跟Java环境,基础技术方面有关.所以这个教程对于在linux系统还是macOS都是通用的,不用担心. 上一篇,我们安装好对应的Docker之后,感受到 ...

  9. Docker 技术系列之安装Docker Desktop for Mac

    终于要进入到Docker技术系列了,感谢大家的持续关注. 为什么要选择Docker?因为Docker 轻巧快速,提供了可行.经济.高效的替代方案.举个例子,安装Nginx,Mysql,Redis等常用 ...

随机推荐

  1. Day 20 Object_oriented_programing(摘)

    面向对象变成介绍 面向过程编程 核心是过程(流水线式思维),过程即解决问题的步骤,面向过程的设计就好比精心设计好一条流水线,考虑周全什么时候处理什么东西.主要应用在一旦完成很少修改的地方,如linux ...

  2. DB2数据库用 With语句分隔字符

    SELECT T1.REPAIRNO, T1.UNDERTAKER10, T3.FULLNAME AS RECEIVERNAME, T1.WALKDISTANCE, T1.STATUSCODEDATE ...

  3. HDU 6229 Wandering Robots(2017 沈阳区域赛 M题,结论)

    题目链接  HDU 6229 题意 在一个$N * N$的格子矩阵里,有一个机器人. 格子按照行和列标号,左上角的坐标为$(0, 0)$,右下角的坐标为$(N - 1, N - 1)$ 有一个机器人, ...

  4. usaco-Subset Sums

    题意: 给出一个1-n的数列,求把它分为两组数使得两组数的和相等的方案数. 分析: 如果可能分成两组,那么(n+1)n/2一定为偶数,且n%4=2或3.可以设dp[i][j]表示从1-i中的数拼出的方 ...

  5. POJ 3264 Balanced Lineup RMQ ST算法

    题意:有n头牛,编号从1到n,每头牛的身高已知.现有q次询问,每次询问给出a,b两个数.要求给出编号在a与b之间牛身高的最大值与最小值之差. 思路:标准的RMQ问题. RMQ问题是求给定区间内的最值问 ...

  6. Andriod Atom x86模拟器启动报错

    用Inter Atom模式的Android模拟器启动报一下错误: Starting emulator for AVD 'new' emulator: ERROR: x86 emulation curr ...

  7. ASIHTTPRequest 问题总结

    1, ASIHttpRequest与30秒超时 今天在项目中发现一个ASIHttpRequest的Bug.这个Bug可能会导致你Http请求延时至少在timeout设置时间结束之后.更可怕的是,为了找 ...

  8. 键盘弹出后上提view隐藏后下拉view还原并修改scroll过程中旋转屏幕到竖屏view显示错误

    1,注册键盘相应事件 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillSho ...

  9. 【spring boot】application.properties官方完整文档【参考使用】

    官方地址: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/ 进入搜索: Appendice ...

  10. Scut游戏服务器引擎6.0.5.0发布-支持C#脚本

    1. 增加C#脚本支持2. 增加Pay和Sns中间件对Mysql数据库支持3. 精简布署步骤,取消Redis写入程序,将其移到游戏底层运行4. 修正Mysql对中文可能会出现乱码的BUG 点击下载:S ...