Bugzilla setup on Ubuntu step by step

  1. apt-get install mysql-server mysql-client apache2
  2. apt-get install sendmail
  3. download bugzilla-4.4.tar.gz
  4. tar xvzf bugzilla-4.4.tar.gz
  5. mv bugzilla-4.4 /usr/local
  6. ln -s /usr/local/bugzilla-4.4 /var/www
  7. ./checksetup.pl --check-modules
  8. perl install-module.pl --all
  9. ./checksetup.pl
  10. vi localconfig to modify $webservergroup, $db_user, and $db_pass
  11. vi /etc/apache2/envvars to modify APACHE_RUN_USER and APACHE_RUN_GROUP if need
  12. vi /etc/mysql/my.cnf to add allowed attachment size
  13. vi /etc/apache2/apache2.conf to add section [1]
  14. vi /var/www/bugzilla/data/params # modify urlbase
[1] :
<Directory /var/www/bugzilla>
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
Options +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride Limit FileInfo Indexes Options
</Directory>