安装好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. Spy++使用方法

    原文转自 http://jingyan.baidu.com/article/3a2f7c2e76584a26aed61174.html 1.Spy++ 是Visual Studio 自带的工具(菜单& ...

  2. Python学习杂记_10_三元运算符

    常用三元运算符来简化分支和循环的代码: 分支简化: a = 1b = 2c = a if a > 1 else bprint(c) # 以上几行等同于 a = 1b = 2if a >1: ...

  3. Web安全-XSS-SQL注入-CSRF

    一.XSS 跨站脚本攻击(Cross Site Scripting): 1.指攻击者在网页中嵌入客户端脚本(例如JavaScript), 当用户浏览此网页时,脚本就会在用户的浏览器上执行,从而达到攻击 ...

  4. Scala不使用null 而使用Option,None,Some的好处

    刚接触Scala时就很奇怪, 为什么Java已经有null了,却偏偏还要弄出个None 后来依然我行我素在Scala里使用null, 结果就是经常被NullPointerException折磨得阴魂不 ...

  5. 交换机的工作模式:IVL和SVL

    IVL(independent vlan learning)每个vlan建一个表,看起来好像有很多表,其实这里所说的表是指逻辑上的表,实际上在交换机中还是只有一个表.如果将VID相同的记 录都提取出来 ...

  6. BZOJ—— 3402: [Usaco2009 Open]Hide and Seek 捉迷藏

    http://www.lydsy.com/JudgeOnline/problem.php?id=3402 Description     贝茜在和约翰玩一个“捉迷藏”的游戏.     她正要找出所有适 ...

  7. WPS复制时删除超链接

    按Ctrl+A全选,之后再按Ctrl+Shift+F9,即可一次性全部删除超链接.

  8. 开篇有益:为什么选择MongoDB?

    为啥用MongoDB? 赶NoSQL时髦? Auto-shard等激动人心的特性? •No! 08年,还都是浮云. 最初的想法是寻找一个可靠的分布式K/V解决MySQL的问题. NoSQL(NoSQL ...

  9. 初始----python数字图像处理--:环境安装与配置

    一提到数字图像处理编程,可能大多数人就会想到matlab,但matlab也有自身的缺点: 1.不开源,价格贵 2.软件容量大.一般3G以上,高版本甚至达5G以上. 3.只能做研究,不易转化成软件. 因 ...

  10. AAuto如何设置定时器

    在设计视图中(一定要有个Form)点击左下角的功能组件   点击定时器即可切换到代码视图,并添加如下代码.其中我每隔一秒改变一下winform.static2.text的文本值