[Bugzilla] 第一次架BUGZILLA 3.6.9 / Bugzilla 4.4

晚上10:31

首先 先選擇一個LINUX 系統 我選了Fedora 15 for Bugzilla 3.6.9 /Fedora 18 for Bugzilla 4.4/Ubuntu9.04 for Bugzilla


1. 先檢查 perl -v

2. 安裝DB, 我選擇 Mysql -v

3. 下載 bugzilla 4.x版本 copy 到 /var/www/html

4. 解壓縮 tar -zxvf bugzilla-4.4.tar.gz

5. 將folder 名子改成bugzilla

6. 檢查modules ./checksetup.pl --check-modules

7. ./checksetup.pl --all

8. 開一個mysql id 'bugs' 並設定密碼
9. /etc/init.d/mysqld restart

10. ./checksetup.pl => 設定bugzilla administrator 帳密
11. 設定

# Allow packets up to 4MB

max_allowed_packet=4M

12. 設定 Apache

# grep webserver group localconfig 
$webservergroup = 'apache'; 

 # grep Group /etc/httpd/conf/httpd.conf 
Group apache

11. 設定參數, 參考下面設定

12. 最後service httpd restart

13. 開browser 連 http://127.0.0.1/bugzilla



重裝了一次4.4 然後就出來了= =


Tip for Fedora:
set group as 'apache'
webservergroup = 'apache';

500 internal server error:
:chcon -t httpd_bugzilla_script_exec_t /var/www/html/bugzilla/index.cgi

重裝了一次在 Ubuntu 9.04上, 然後又出來了= =

Tip for Ubuntu:
set group as 'www-data'
webservergroup = 'www-data';

The directory had rw permissions
:sudo chown -R www-data:www-data /var/www/bugzilla

[Reference]
Bugzilla Configure setting
http://www.bugzilla.org/docs/tip/en/html/parameters.html

Linux command related
Copy folder
http://linux.about.com/od/commands/l/blcmdl1_cp.htm

MySql related
http://www.cyberciti.biz/faq/mysql-change-user-password/
http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html
http://emn178.pixnet.net/blog/post/87659567-mysql%E4%BF%AE%E6%94%B9%E5%AF%86%E7%A2%BC%E8%88%87%E5%BF%98%E8%A8%98%E5%AF%86%E7%A2%BC%E9%87%8D%E8%A8%AD

Apache related
http://www.cyberciti.biz/faq/starting-restarting-stopping-apache-server-on-fedora/

Configure related
http://letitknow.wordpress.com/2012/05/08/bugzilla-install-apache-sizelimit/


PostlfixMail server setup related
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://ubuntuforums.org/archive/index.php/t-1448858.html

GCC install related
http://stackoverflow.com/questions/15856288/gcc-installation-on-fedora-18-x86-64

Error 500 problem
Use chcon to fix *.cgi permission
http://forums.fedoraforum.org/showthread.php?t=248812
http://www.cnblogs.com/vipsoft/archive/2013/06/06/3121302.html

Bugzilla on Liunx setting up
http://www.thegeekstuff.com/2010/05/install-bugzilla-on-linux/
http://asingh.com.np/blog/how-to-install-bugzilla/
http://kevin-deleon.com/2010/07/tutorial-installing-bugzilla-on-fedora-11-centos-5/
http://ravindrasinghgohil.blogspot.in/2012/02/steps-to-install-bugzilla-42-on-centos.html
http://blog.codylab.com/install-bugzilla-centos-6-3-step-step/

You Might Also Like

0 意見