![]() Now you’ll need to edit the localconfig file to setup the variables. #Bugzilla tutorial installIf you have trouble (as I did), make sure you have the =mod_perl-devel= package installed in order to install Apache2::SizeLimit. I know that out of the above, if you don’t have Apache2::SizeLimit then there will be a problem when restarting the httpd server, which (per the above instructions) includes a reference to the mod_ script in the bugzilla folder, which in turn uses Apache2::SizeLimit. I installed these extra modules: /usr/bin/perl Net::LDAP /usr/bin/perl GD /usr/bin/perl Chart::Lines /usr/bin/perl Email::Reply /usr/bin/perl Apache2::SizeLimit /usr/bin/perl GD::Graph /usr/bin/perl PatchReader /usr/bin/perl Email::MIME::Attachment::Stripper Running these: /usr/bin/perl Module::Build /usr/bin/perl DateTime Which got me Archive::Tar 1.76, which stopped the complaints in DateTime. I upgraded with the following: /usr/bin/perl Archive::Tar I noticed that DateTime complains that I only have Archive::Tar 1.3901 which it found in the Run the cpan install: /usr/bin/perl DBD::mysql The perl-DBD-MySQL package is 3.07 which is too old (4.0 is needed) so I had to be sure to Or just simply: /usr/bin/perl -allĭateTime won’t build so I’m trying this: yum install mysql-devel gd gd-devel perl-DBD-MySQL mod_perl-devel I was told to run these: /usr/bin/perl Digest::SHA /usr/bin/perl Date::Format /usr/bin/perl DateTime /usr/bin/perl DateTime::TimeZone /usr/bin/perl Template /usr/bin/perl Email::Send /usr/bin/perl Email::MIME /usr/bin/perl List::MoreUtils You will be told you should run several commands to install all the perl modules. #Bugzilla tutorial downloadRestart the service to ensure any changes above are loaded: service mysqld restartĬreate the directories and download Bugzilla: cd /var/ cd /var/bugz cd /var/www/bugz/bugzilla-4.0 This ensures that uploaded attachments to bugs is now 4MB instead of the default 1MB. # Allow small words in full-text indexes ft_min_word_len=2 These instructions assume that you followed the above instructions for exporting your bugzilla database from Bugzilla cd gunzip mysql -u root -pXXXX bugs grant all on bugs.* to MySQL Defaults in /etc/my.cnfĮdit the /etc/my.cnf file and add these lines under the section: # Allow packets up to 4MB max_allowed_packet=4M Once logged into mysql as root, create the bugs user and the database: mysql> create user IDENTIFIED BY 'XXXpasswordXXX' mysql> create database bugs mysql> show databases #Bugzilla tutorial passwordInstall MySQL, set the service to start on boot, and set the mysql root password: yum groupinstall "MySQL Database" chkconfig -levels 2345 mysqld service mysqld restart /usr/bin/mysqladmin -u root password 'XXXX' Add these lines to the end of your nf file: PerlSwitches -w -T PerlConfigRequire /var/Restart Apache service httpd restart Setup MySQL Open the /etc/httpd/conf/nf file in your favorite editor. Try the main site to ensure that apache is setup correctly by browsing to your site name or to You should see the default apache site showing that the webserver is installed properly. Install the Web Server, set the run levels, and start the service: yum groupinstall "Web Server" yum chkconfig -levels 2345 httpd on service httpd restart These directions all assume that you have a Bugzilla 3.0 database that you’ve backed up with teh following commands: sudo mkdir /data/backups/mysql-bugzilla-3.0 sudo chown mysqldump -u bugs -password=XXXXXXXXX bugs | gzip -9v > `date '+/data/backups/mysql-bugzilla-3.0/bugs_%Y%m%d.sql.gz'` Backup Your Current Bugzilla 3.0 Database I tried to arrange all of these in an order that will work, but if you have to install the bugzilla folder first and continually re-run. script over and over throughout the process to check myself and figure out what needed to occur next. I know that I had to periodically go back the the. You may find that some of these instructions may need to be run in a slightly different order, but this is a pretty complete account of what it took to get this going on the new server. Since I was already writing these down as I went, I thought that I would share these instructions with the greater Linux community. I recently did a migration from Bugzilla 3.0 running on one server to Bugzilla 4.0 running on a new server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |