ubuntu下安装和配置bugzilla
2023-09-11 14:20:54 时间
我们需要建一个自己的bug管理系统,我就自己动手自己安装bugzilla了,在安装之前我在网上google了一下,看了一个网友的安装心得,不过基本上没有在ubuntu/debian上安装的。我就自己试着开始了。
不多说了:
sudo apt-get install mysql-server注意:需要设置mysql的root 用户的密码,注意要和以后的bugzilla的管理员密码一致
sudo apt-get install bugzilla按照需要输入管理员帐号,密码
ubuntu把需要的apache,sendmail,还有那些依赖的perl模块都一起安装了.
开始配置bugzilla
配置apache2
vi /etc/apache2/httpd.conf 添加
ServerName localhost:80
//网上人坑爹把单词拼错了
sudo /etc/init.d/apache2 restart
配置bugzilla
vi /etc/bugzilla/localconfig
修改相应的配置:
$webservergroup = "www-data";
#
# How to access the SQL database:
#
$db_host = "localhost"; # where is the database?
$db_port = 3306; # which port to use
$db_name = "bugs"; # name of the MySQL database
$db_user = "bugs"; # user to attach to the MySQL database
//不用改数据库 你安装bugzallia的时候会让你配置的 很简单
#
# Some people actually use passwords with their MySQL database ...
#
$db_pass = "1234";
#
# Should checksetup.pl try to check if your MySQL setup is correct?
# (with some combinations of MySQL/Msql-mysql/Perl/moonphase this doesn"t work)
#
$db_check = 1;
$index_html = 1;
配置数据库:
mysql -u root -p1234
Create database bugs;
GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY "1234";
Flush privileges;
quit;
退出数据库;
重新生成bugzilla数据库;
cd /usr/share/bugzilla/lib/
sudo perl checksetup.pl
根据提示输入
不多说了:
sudo apt-get install mysql-server注意:需要设置mysql的root 用户的密码,注意要和以后的bugzilla的管理员密码一致
sudo apt-get install bugzilla按照需要输入管理员帐号,密码
ubuntu把需要的apache,sendmail,还有那些依赖的perl模块都一起安装了.
开始配置bugzilla
配置apache2
vi /etc/apache2/httpd.conf 添加
ServerName localhost:80
//网上人坑爹把单词拼错了
sudo /etc/init.d/apache2 restart
配置bugzilla
vi /etc/bugzilla/localconfig
修改相应的配置:
$webservergroup = "www-data";
#
# How to access the SQL database:
#
$db_host = "localhost"; # where is the database?
$db_port = 3306; # which port to use
$db_name = "bugs"; # name of the MySQL database
$db_user = "bugs"; # user to attach to the MySQL database
//不用改数据库 你安装bugzallia的时候会让你配置的 很简单
#
# Some people actually use passwords with their MySQL database ...
#
$db_pass = "1234";
#
# Should checksetup.pl try to check if your MySQL setup is correct?
# (with some combinations of MySQL/Msql-mysql/Perl/moonphase this doesn"t work)
#
$db_check = 1;
$index_html = 1;
配置数据库:
mysql -u root -p1234
Create database bugs;
GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY "1234";
Flush privileges;
quit;
退出数据库;
重新生成bugzilla数据库;
cd /usr/share/bugzilla/lib/
sudo perl checksetup.pl
根据提示输入
注意:在ubuntu上安装的bugzilla的主登录窗口有点bug,需要从页面地下的login按钮进入就可以了。
本文出自seven的测试人生公众号最新内容请见作者的GitHub页:http://qaseven.github.io/
相关文章
- Ubuntu下手动安装jdk及配置
- 【Ubuntu】ubuntu物理机安装方法:U盘安装
- 通过yum安装nginx-mysql-php-fastcgi配置LNMP
- SVN的安装以及配置,包括myeclipse的SVN插件安装
- php手册总结《安装与配置》
- ubuntu下mysql的安装与配置
- VMware ESXi 6.7 安装及群集配置介绍
- linux(fedora30):安装/配置maven(maven3.6.1)
- Ubuntu下安装配置redis
- Nginx源码安装及调优配置
- Zookeeper安装和配置详解
- 【转】wsl2-kali基础配置(换源、切换中文、安装完整版、包含无法打开Windows商店的情况下安装wsl等)
- Centos7安装ansible自动运维
- CentOS用yum安装、配置MariaDB
- tomcat的安装及配置
- [ELK] Elasticsearch 安装/配置、启动/停止、加节点/重启
- ubuntu软件配置安装
- Windows下Subversion和Apache的安装及配置(一)
- Cocos2d-Java安装和配置跨平台游戏引擎以及相关的开发工具
- 在linux(ubuntu )上安装配置weka
- 遇到问题之-centos安装配置hadoop超详细过程(含故障排除)
- windows10下安装Mujoco 详细安装教程 + 附安装包