歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu中輕松安裝配置bug管理系統bugzilla

Ubuntu中輕松安裝配置bug管理系統bugzilla

日期:2017/2/28 17:07:44   编辑:Linux教程

我們需要在Ubuntu中建一個自己的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 添加
ServerNmae 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
#
# 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;

Copyright © Linux教程網 All Rights Reserved