GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Problemi nell'installazione di Bugzilla su Ubuntu 15.04?

Sto cercando di installare Bugzilla.

Ho Phpmyadmin installato nel mio sistema quindi non posso seguire le istruzioni sul sito Bugzilla che mi dice di rimuovere il /var/www/html cartella perché ho Phpmyadmin lì dentro.

Inoltre ho visto le istruzioni qui su askubuntu, ma non voglio creare altri utenti sulla mia macchina e voglio installare Bugzilla per il mio utente predefinito perché sono l'unico che usa questa macchina.

Ecco i passaggi che ho seguito:

sudo su
apt-get install git nano
apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork 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 libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev lynx-cur python-sphinx
cd /var/www/html
git clone --branch release-5.0-stable https://git.mozilla.org/bugzilla/bugzilla bugzilla
cd bugzilla
gedit /etc/mysql/my.cnf`

Modificato alla riga 52:max_allowed_packet=100M

Aggiunta come nuova riga 31, nel [mysqld] sezione:ft_min_word_len=2

mysql -u root -p -e "GRANT ALL PRIVILEGES ON bugs.* TO [email protected] IDENTIFIED BY '$my_pass'"
service mysql restart
gedit /etc/apache2/sites-available/bugzilla.conf`

Aggiunto:

ServerName localhost
<Directory /var/www/html>
  AddHandler cgi-script .cgi
  Options +ExecCGI
  DirectoryIndex index.cgi index.html
  AllowOverride Limit FileInfo Indexes Options
</Directory>

Quindi:

a2ensite bugzilla
a2enmod cgi headers expires
service apache2 restart
cd /var/www/html/bugzilla
./checksetup.pl

Mi ha dato alcuni errori, quindi eseguo:

/usr/bin/perl install-module.pl –all
./checksetup.pl
gedit localconfig

Riga 29:imposta $webservergroup a www-data

Riga 67:imposta $db_pass alla password per l'utente bug che ho creato in MySQL pochi passi fa

./checksetup.pl (again)
./testserver.pl http://localhost/

E poi ottengo questo errore:

strictures.pm extra testing active but couldn't load all modules. Missing were:

  indirect multidimensional bareword::filehandles

Extra testing is auto-enabled in checkouts only, so if you're the author
of a strictures-using module you need to run:

  cpan indirect multidimensional bareword::filehandles

but these modules are not required by your users.
TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/images/padlock.png.
Check your web server configuration and try again.

Allora cosa ho sbagliato?

Come puoi vedere, vorrei installare Bugzilla /var/www/html/ cartella dove ho anche Phpmyadmin quindi avrò:/var/www/html/bugzilla .

Grazie.

Modifica :dopo aver eseguito:cpan indirect multidimensional bareword::filehandles il problema è ancora:

TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/images/padlock.png.
Check your web server configuration and try again.

Modifica 2 :

Correlati:come installare Ubuntu su una chiave USB? (senza usare Startup Disk Creator)

Ok, l'unica cosa che ho trovato in apache2 logs è /var/log/other_vhosts_access.log :

localhost:80 127.0.0.1 - - [27/Jul/2015:10:29:06 +0200] "GET //eadn-wc01-5196795.nxedge.io/images/padlock.png HTTP/1.1" 404 469 "-" "libwww-perl/6.05"

e /var/log/error.log :

[Mon Jul 27 10:14:38.112755 2015] [mpm_prefork:notice] [pid 7477] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Mon Jul 27 10:14:38.112794 2015] [core:notice] [pid 7477] AH00094: Command line: '/usr/sbin/apache2'

Risposta accettata:

Sto riscontrando lo stesso problema con Ubuntu 14.04, apache 2.4.7, bugzilla 5.0. Vuole anche impostare come http://localhost/bugzilla.

Il trucco era pensare... Sì, semplicemente.

Hai eseguito:

./testserver.pl http://localhost

quando in effetti avresti dovuto usare

./testserver.pl http://localhost/bugzilla

dal momento che ha bisogno come input della posizione di se stesso (sì, piuttosto stupido).


Ubuntu
  1. Installare Java su Ubuntu usando Apt-get

  2. 10 cose da fare dopo aver installato Ubuntu Desktop

  3. Cose da fare dopo aver installato Ubuntu 16.04 LTS

  4. Installare Ubuntu 12.04 senza installare Grub?

  5. Come installare Bugzilla su Ubuntu 20.04

Le 14 migliori cose da fare dopo aver installato Ubuntu 20.04 LTS

Installa MongoDB su Ubuntu 20.04

Cose da fare dopo l'installazione di Ubuntu 13.04

Cose da fare dopo aver installato Ubuntu 13.10

30 cose migliori da fare dopo aver installato Ubuntu 15.10

Installazione di Notepad++ su Ubuntu 22.04