ubuntu下安裝和配置bugzilla
我們需要建一個自己的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
根據提示輸入
注意:在ubuntu上安裝的bugzilla的主登錄窗口有點bug,需要從頁面地下的login按鈕進入就可以了。
不多說了:
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按鈕進入就可以了。
posted on 2012-04-16 18:26 順其自然EVO 閱讀(710) 評論(0) 編輯 收藏 所屬分類: defalut managerment system 缺陷管理系統