Wednesday, 8 July 2015

Migrating Bugzilla to a new Ubuntu 14.04 server

Today I have had to move our bugzilla instalation from an old Ubuntu 10.04 server to a new Ubuntu 14.04 server. I used the following Process:

I used THIS site as a reference for the migration process:

Backup the original bugs database:

Buzilla was stopped by using the following process:

Shut down your Bugzilla by loading the front page, going to Administration | Parameters | General and putting some explanatory text into the shutdownhtml parameter.

The database was then backed up:

#mysqldump -u root -p bugs > bugs.sql

THIS site was used to install bugzilla on the new server:

The required software was then installed:

apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev lynx-cur python-sphinx git

The new version of bugzilla was downloaded using GIT:

#cd /var/www/
#git clone --branch release-5.0-stable https://git.mozilla.org/bugzilla/bugzilla html






No comments:

Post a Comment