{"id":377,"date":"2020-12-18T12:35:48","date_gmt":"2020-12-18T18:35:48","guid":{"rendered":"http:\/\/www.polysyncronism.com\/wordpress\/?page_id=377"},"modified":"2020-12-18T14:17:00","modified_gmt":"2020-12-18T20:17:00","slug":"ubuntu-20-lts-bugzilla-project","status":"publish","type":"page","link":"http:\/\/www.polysyncronism.com\/wordpress\/ubuntu-20-lts-bugzilla-project\/","title":{"rendered":"Ubuntu 20 LTS Bugzilla Project"},"content":{"rendered":"\n<p>I am working on a project to install Bugzilla on a Ubutu 20 LTS server.  I will go over all the steps that I&#8217;ve taken and the pitfalls that I have encountered.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are the Bugzilla requirements?<\/h2>\n\n\n\n<p>I know I need the Apache web server and Mysql for sure, but there may be other requirements.  I got those requirements from this page. <\/p>\n\n\n\n<p><a href=\"https:\/\/www.bugzilla.org\/requirements\/\" data-type=\"URL\" data-id=\"https:\/\/www.bugzilla.org\/requirements\/\">https:\/\/www.bugzilla.org\/requirements\/<\/a><\/p>\n\n\n\n<p>I was almost right.  It turns out that Bugzilla needs a database server, a web server, and Perl.<\/p>\n\n\n\n<p><strong>Created Clone 01<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Apache web server<\/h2>\n\n\n\n<p>I used <a href=\"https:\/\/linuxhint.com\/install_apache_web_server_ubuntu\/\" data-type=\"URL\" data-id=\"https:\/\/linuxhint.com\/install_apache_web_server_ubuntu\/\">https:\/\/linuxhint.com\/install_apache_web_server_ubuntu\/<\/a> for a step by step procedure.<\/p>\n\n\n\n<p>The process worked as described, with one exception.  I was unable to view the web server from another machine on my network because I am using an <strong>Oracle VM VirtualBox<\/strong>.  The server wasn&#8217;t reachable because the networking config in VirtualBox was set for <strong>NAT <\/strong>so I changed it to <strong>Bridged Adapter<\/strong> as described on this page. <a href=\"https:\/\/askubuntu.com\/questions\/52147\/how-can-i-access-apache-on-virtualbox-guest-from-host\" data-type=\"URL\" data-id=\"https:\/\/askubuntu.com\/questions\/52147\/how-can-i-access-apache-on-virtualbox-guest-from-host\">https:\/\/askubuntu.com\/questions\/52147\/how-can-i-access-apache-on-virtualbox-guest-from-host<\/a><\/p>\n\n\n\n<p>I then tested by pointing my web browser to http:\/\/serveripaddress and it showed the default apache page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Perl<\/h2>\n\n\n\n<p>This step took a while to install all these things:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install libappconfig-perl libdate-calc-perl libtemplate-perl libmime-tools-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl 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 libfile-which-perl libauthen-sasl-perl libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev libmysqlclient-dev graphviz sphinx-common rst2pdf libemail-address-perl libemail-reply-perl<\/pre>\n\n\n\n<p>This installation was successful as described.<\/p>\n\n\n\n<p><strong>Created Clone 02<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install MariaDB database&nbsp;<\/h2>\n\n\n\n<p>Install MariaDB database&nbsp;<\/p>\n\n\n\n<p>This worked as expected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Bugzilla<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Pitfall 01:<\/strong> I forgot to edit the .\/localconfig to change the database, username and password for mysql.  <\/p>\n\n\n\n<p><strong>Pitfall 02: <\/strong>I do not have a group called apache.  I edited .\/localconfig to add the group to www-data.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$webservergroup = 'www-data';<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Create Bugzilla Apache Site Configuration file<\/h2>\n\n\n\n<p><strong>Pitfall 03: <\/strong>I do not have a ServerName configured in apache.  Added this line: <\/p>\n\n\n\n<p>ServerName localhost<\/p>\n\n\n\n<p><strong>Pitfall 04:<\/strong> apache needs a for CGI for perl. Added apache directive to use CGI.<\/p>\n\n\n\n<pre><directory \"\/var\/www\/html\/bugzilla\/\">\n    Options +ExecCGI\n    AddHandler cgi-script .cgi .pl .py .rb\n    AllowOverride All\n<\/directory>\n<\/pre>\n\n\n\n<p>Create clone 03<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am working on a project to install Bugzilla on a Ubutu 20 LTS server. I will go over all the steps that I&#8217;ve taken and the pitfalls that I have encountered. What are the Bugzilla requirements? I know I need the Apache web server and Mysql for sure, but there may be other requirements. &hellip; <a href=\"http:\/\/www.polysyncronism.com\/wordpress\/ubuntu-20-lts-bugzilla-project\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ubuntu 20 LTS Bugzilla Project&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-377","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/pages\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":9,"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/pages\/377\/revisions"}],"predecessor-version":[{"id":388,"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/pages\/377\/revisions\/388"}],"wp:attachment":[{"href":"http:\/\/www.polysyncronism.com\/wordpress\/wp-json\/wp\/v2\/media?parent=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}