Bugzilla Installation in Linux | Install & Configure Bugzilla 5 in RHEL 7 (CentOS7) | Nehra Classes
Bugzilla Installation in Linux | Install & Configure Bugzilla 5 in RHEL 7 (CentOS7) | Nehra Classes
*****
Bugzilla is a free and open source bug following and programming testing tool which is written in perl and use mysql as a backend database.
It is very useful tool to track the bug and change code of the application.
# yum update -y
# yum install epel-release yum-utils -y
# yum install httpd mariadb mariadb-server httpd-devel mod_ssl mod_ssl mod_perl mod_perl-devel mariadb-devel php-mysql gcc gcc-c++ graphviz graphviz-devel patchutils gd gd-devel wget perl* -y
# systemctl start httpd
# systemctl enable httpd
# systemctl start mariadb
# systemctl enable mariadb
# mysql_secure_installation
# systemctl restart mariadb
# mysql -u root -p
create database bugzilladb;
CREATE USER bug@localhost IDENTIFIED BY “bug”;
GRANT ALL ON bugzilladb.* TO bug@localhost;
FLUSH PRIVILEGES;
exit
# wget http://ftp.mozilla.org/pub/webtools/bugzilla-5.0.tar.gz
# tar -xvzf bugzilla-5.0.tar.gz
# mv bugzilla-5.0 /var/www/html/bugzilla
# chown -R apache:apache /var/www/html/bugzilla
# cd /var/www/html/bugzilla/
# /usr/bin/perl install-module.pl –all
# vi /var/www/html/bugzilla/localconfig
$db_host = ‘localhost’;
$db_name = ‘bugzilladb’;
$db_user = ‘bug’;
$db_pass = ‘bug’;
Save and close the file.
# cd /var/www/html/bugzilla/
# ./checksetup.pl
# vi /etc/httpd/conf.d/bugzilla.conf
# systemctl restart httpd.service
# sudo firewall-cmd –zone=public –add-port=80/tcp –permanent
# sudo firewall-cmd –reload
# setenforce 0
Test and access the installation of Bugzilla
# /var/www/html/bugzilla/testserver.pl http://192.168.1.136
The output will resemble the following:
TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got padlock picture.
TEST-OK Webserver is executing CGIs via mod_cgi.
TEST-OK Webserver is preventing fetch of http://192.168.1.136/localconfig.
TEST-OK GD version 2.68, libgd version 2.0.34; Major versions match.
TEST-OK GD library generated a good PNG image.
TEST-OK Chart library generated a good PNG image.
TEST-OK Template::Plugin::GD is installed.
Finally, point your favorite web browser to http://192.168.1.136 to access your Bugzilla site.
#NehraClasses #Bugzilla #LinuxTraining
by Nehra Classes
linux web server