Step 2 - $ sudo su -i ( To Give Root Permission )
Step 3 - # apt-get update ( To update you machine up to date )
Step 4 - # apt-get install git nano
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
Step 5 - Download Bugzilla
http://ftp.mozilla.org/pub/mozilla.org/webtools/
( From URL choose the Version and Copy Link)
# wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.2.tar.gz
Step 6 - # tar xvzf bugzilla-4.4.2.tar.gz ( under the /var/www/html/)
Step 7 - # ./checksetup.pl --check-modules
Step 8 - # /usr/bin/perl install-module.pl --all
Step 9 - # ./checksetup.pl --check-modules
Step 10 - # vim /etc/mysql/my.cf
- Alter on Line 52: max_allowed_packet=100M
- Add as new line 31, in the [mysqld] section: ft_min_word_len=2
Step 11 - # mysql -u root -p -e "GRANT ALL PRIVILEGES ON bugs.* TO bugs@localhost IDENTIFIED BY '$db_pass'"
Replace $db_pass with a strong password you have generated
Step 12 - # Service mysql restart
Step 13 - # vim /etc/apache2/sites-available/bugzilla.conf
a2ensite bugzilla
a2enmod cgi headers expires
service apache2 restart
Step 14 - #cd /var/www/html
./checksetup.pl
Step 15 - # vim localconfig
- Line 29: set $webservergroup to www-data
- Line 67: set $db_pass to the password for the bugs user you created in MySQL a few steps ago
Step 16 - #./checksetup.pl
Step 17 - #./testserver.pl http://localhost/
Step 18 - # http://localhost/
No comments:
Post a Comment