Cool Solution - Setting up Bugzilla with LDAP authentication

From Univention Wiki

Revision as of 11:47, 8 March 2016 by Rehberg (talk | contribs) (Created page with "{{Cool Solutions Disclaimer|Repository=yes|UCS=4.1}} {{Review-Status}} <pre>univention-install mysql-server univention-install make gcc libapache2-mod-perl2</pre> <pre>mysql -ur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Produktlogo UCS Version 4.1

Note: Cool Solutions are articles documenting additional functionality based on Univention products. Packages provided by a Cool Solutions Repository are built by Univention, but will not be maintained. Not all of the shown steps in the article are covered by Univention Support. For questions about your support coverage contact your contact person at Univention before you want to implement one of the shown steps.

Also regard the legal notes at Terms of Service.
Note: This article is not yet reviewed.
univention-install mysql-server
univention-install make gcc libapache2-mod-perl2
mysql -uroot -p$(cat /etc/mysql.secret)
mysql> CREATE USER 'bugs'@'localhost' IDENTIFIED BY  'your_own_passwd';
mysql> CREATE DATABASE `bugs`;
mysql> GRANT ALL PRIVILEGES ON  `bugs` . * TO  'bugs'@'localhost';
mysql> exit

vim /etc/apache2/sites-available/bugzilla
<Directory /var/www/bugzilla/>
               AddHandler cgi-script .cgi
               Options +Indexes +ExecCGI
               DirectoryIndex index.cgi
               AllowOverride All
a2ensite bugzilla
service apache2 reload
tar xfz bugzilla-5.0.2.tar.gz
mv bugzilla-5.0.2 bugzilla
chown -R www-data.www-data bugzilla
mv bugzilla /var/www/
cd /var/www/bugzilla
./ --check-modules
/usr/bin/perl --all

vim ./localconfig
$webservergroup = 'www-data';
$db_driver = 'mysql';
$db_host = 'localhost';
$db_name = 'bugs';
$db_user = 'bugs';
$db_pass = 'your_own_passwd';
vim /etc/mysql/my.cnf

 # Allow small words in full-text indexes
cd /var/www/bugzilla

Enter the e-mail address of the administrator:
Enter the real name of the administrator: mmuster
Enter a password for the administrator account:
Personal tools