with the help of apt-get, we can easily cut it down to 15 mins
1. apt-get install mysql-server (if it's not already there)
2. then follow on screen instructions
3. mysql -u - root -p (we need to create a new user called bugzilla)
4. GRANT ALL PRIVILEGES ON *.* TO 'bugzilla'@'localhost' IDENTIFIED BY 'password';
5. \q
6. apt-get install bugzilla (we are half way done already lol)
7. follow on screen instructions
and you are done! goto http://yourserver/bugzilla and start using it.
the package we just installed is version 2.2, for those who want the latest and greatest, please keep reading, I need another 15 minutes of your time.
1. goto /var/www/ and wget the latest tarball from bugzilla
2. tar -zxvf the_file_you_just_downloaded.tar.gz
3. log back into mysql and create a 'bugs' account (step 3 and 4 from previous section)
4. cd into the newly extracted bugzilla folder
5. cp -pr ../bugzilla/data .
6. sudo ./checksetup.pl
7. sudo chmod -R 755 .
8. sudo chomd -R 755 /var/lib/bugzilla/data
9. open /etc/apache2/httpd.conf
add the following line to the bottom (if it's not there)
J10. restart the server : sudo /etc/init.d/apache2 restart<Directory /var/www/bugzilla>
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
</Directory>
11. rename the newly extracted folder to bugzilla
12. enjoy
No comments:
Post a Comment