Sysadmin Documentation/cadmium/Bugzilla

From UGCS
Jump to: navigation, search

We follow the guide https://www.bugzilla.org/docs/4.2/en/html/installation.html#install-bzfiles


install some deps

sudo apt-get install libdatetime-perl libemail-sender-perl libemail-mime-perl libfile-slurp-perl libjson-xs-perl libmath-random-isaac-perl libtemplate-perl

check em

./checksetup.pl --check-modules


set up the mysql (also update the localconfig settings)

   mysql> GRANT SELECT, INSERT,
          UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,
          CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugzilla.*
          TO bugzilla@localhost IDENTIFIED BY ;
   mysql> FLUSH PRIVILEGES;

We're gonna use cgid for bugzilla since it's ancient shit that barely even

   <Directory /var/www/bugzilla>
       Options +ExecCGI
       AddHandler cgi-script .cgi
   </Directory>


then just set up ldap