qileilove

          blog已經轉移至github,大家請訪問 http://qaseven.github.io/

          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按鈕進入就可以了。

          posted on 2012-04-16 18:26 順其自然EVO 閱讀(710) 評論(0)  編輯  收藏 所屬分類: defalut managerment system 缺陷管理系統

          <2012年4月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          導航

          統計

          常用鏈接

          留言簿(55)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 疏勒县| 延川县| 万源市| 永泰县| 阜康市| 洛宁县| 筠连县| 娱乐| 平邑县| 泽库县| 西盟| 沈阳市| 无为县| 伊春市| 宜兴市| 孙吴县| 阿荣旗| 平定县| 建德市| 五峰| 濮阳市| 巨鹿县| 普定县| 长沙市| 东丰县| 横山县| 安陆市| 宁蒗| 天等县| 宝山区| 东莞市| 奉贤区| 临邑县| 开平市| 巨鹿县| 阿荣旗| 阿巴嘎旗| 镇原县| 鞍山市| 西乌珠穆沁旗| 鱼台县|