Bugzilla on Sheeva Plug/Fedora-ARM
From PlugWiki
Steps to be followed to setup Bugzilla
Information about downloading the RFS, using the RFS, booting up through NFS and getting to the console is found here
To start with you need to install two packages - bugzilla and mysql-server.
* yum install bugzilla * yum install mysql-server
Next you will need to start web server - httpd. It will be installed through the dependency of bugzilla itself.
* /etc/init.d/service httpd start
Edit the file /etc/bugzilla/localconfig. The $db_pass variable is set to null by default. However null passwords are not allowed for administrative account of bugzilla so set it to some value.
* For eg. change $db_pass = ; to $db_pass = 'dbpass';
Then you need to explicitly add following two parameters in the [mysqld] section of /etc/my.conf
* max_allowed_packet=1M * ft_min_word_len=2
Start the mysql-server
* /etc/init.d/mysqld start
Now go to the mysql prompt. Add a user in mysql by issuing following command. The last parameter is the password that you have set in /etc/bugzilla/localconfig
* mysql> GRANT SELECT, INSERT,
-> UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,
-> CREATE TEMPORARY TABLES, DROP, REFERENCES ON bugs.*
-> TO bugs@localhost IDENTIFIED BY 'dbpass';
Finally execute following command to start bugzilla -
* /usr/share/bugzilla/checksetup.pl
You can access it through browser by -> http://ip_obtained_by_sheevaplug/bugzilla
So next time you boot through the same file system you will need to execute following 3 steps to start bugzilla
* /etc/init.d/httpd start * /etc/init.d/mysqld start * /usr/share/bugzilla/checksetup.pl
