SVN server setup 2
bugzilla installation
6.1 bugzila installation
1)tar zxvf bugzilla-3.6.1.tar.gz
2)cd bugzilla-3.6.1
3)mv bugzilla-3.6.1 /usr/local/apache2/htdocs/bugs
4)cd /usr/local/apache2/htdocs/bugs
5)./checksetup.pl --check-module
6)install all required modules
6.2 Create bugs database
1)Launch the mysql service
#service mysqld start
2)Enter mysql enviroment
#mysql
3)Create database bugs
#Create database bugs
3)GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,LOCK TABLES,CREATE TEMPORARY TABLES,DROP,REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY 'bugs';
"bugs" is the password, You must keep the same password in localconfig for bugzilla's configure file.
4)FLUSH PRIVILEGES;
6.3 Rerun checksetup.pl to generate localconfig file
#./checksetup.pl
6.4 Update bugzilla configure file
#vim localconfig
Change $webservergroup ="" TO $webservergroup = 'daemon';*****The same group in Apache group*******
6.5 Rerun checksetup again to configure bugzilla
#./checksetup.pl
#input administrator Email account:
#Input the real name:
#Input the administrator password:
6.6 Change the privilege
#chown -R root:daemon bugs/
6.7 Intergrate with Apache
#vim httpd.conf
<Directory "/usr/local/apache2/htdocs/bugs">
Options ExecCGI FollowSymLinks
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
Order allow,deny
Allow from all
</Directory>
6.8 Check the installation